Function at 0x401d8f
Capabilities:
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x429a46
mov eax, dword fs:[0]
push eax
mov eax, 0x3098
mov dword fs:[0], esp
call fcn.0040cc10
mov eax, dword [0x4391c0]
push ebx
push esi
push edi
lea ecx, [esp + 0x98c]
mov dword [esp + 0x30a0], eax
call fcn.004029c0
push str.EXENAME
push str.uo.exe
mov dword [esp + 0x30b4], 0
call fcn.0040d480
add esp, 8
test eax, eax
jne 0x401f89
mov eax, dword [0x43a12c]
push str._debug
push eax
call fcn.0040d480
add esp, 8
test eax, eax
setne cl
mov byte [esp + 0x10], cl
mov edx, dword [esp + 0x10]
push edx
lea ecx, [esp + 0x990]
call fcn.00403ac0
mov eax, dword [0x43a12c]
push str._dialogs
push eax
call fcn.0040d480
add esp, 8
test eax, eax
je 0x401b42
mov bl, 1
mov dword [esp + 0x3098], 1
jmp 0x401b44
xor bl, bl
mov ecx, dword [0x43a12c]
push str._langIndex
push ecx
call fcn.0040d480
add esp, 8
test eax, eax
je 0x401b75
add eax, 0xb
push eax
call fcn.0040d478
push eax
mov dword [esp + 0x30a0], eax
call fcn.00402970
add esp, 8
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push 0
call edi
test bl, bl
mov esi, eax
je 0x401c49
push 0x400
lea edx, [esp + 0x190]
push edx
push 0x28
push esi
call fcn.004027e0
mov edi, dword [sym.imp.USER32.dll_MessageBoxA]
add esp, 0x10
push 0x10
push str.EA_Game
lea eax, [esp + 0x194]
push eax
push 0
call edi
push 0x400
lea ecx, [esp + 0x590]
push ecx
push 1
push esi
call fcn.004027e0
push str.EA_Game
lea edx, [esp + 0x5a0]
push edx
lea eax, [esp + 0x1a4]
push eax
call fcn.0040d398
add esp, 0x1c
push 4
push str.EA_Game
lea ecx, [esp + 0x194]
push ecx
push 0
call edi
push 0x400
lea edx, [esp + 0x590]
push edx
push 2
push esi
call fcn.004027e0
push str.EA_Game
lea eax, [esp + 0x5a0]
push eax
lea ecx, [esp + 0x1a4]
push ecx
call fcn.0040d398
add esp, 0x1c
push 0
push str.EA_Game
lea edx, [esp + 0x194]
push edx
push 0
call edi
jmp 0x401f9d
mov eax, dword [0x460ff4]
mov ecx, dword [eax]
push str.uo.exe
push ecx
lea ecx, [esp + 0x994]
call fcn.00402a00
mov edx, dword [0x43a12c]
push str._dialogs
push edx
call fcn.0040d480
test eax, eax
mov eax, dword [0x43a12c]
push str._langIndex
push eax
setne bl
call fcn.0040d480
add esp, 0x10
test eax, eax
je 0x401ca2
add eax, 0xb
push eax
call fcn.0040d478
add esp, 4
mov dword [esp + 0x3098], eax
mov ecx, dword [esp + 0x3098]
push ecx
call fcn.00402970
add esp, 4
push 0
call edi
test bl, bl
mov esi, eax
je 0x401d8f
push 0x400
lea edx, [esp + 0x190]
push edx
push 0x28
push esi
call fcn.004027e0
mov edi, dword [sym.imp.USER32.dll_MessageBoxA]
add esp, 0x10
push 0x10
lea eax, [esp + 0x2590]
push eax
lea ecx, [esp + 0x194]
push ecx
push 0
call edi
push 0x400
lea edx, [esp + 0x590]
push edx
push 1
push esi
call fcn.004027e0
lea eax, [esp + 0x259c]
push eax
lea ecx, [esp + 0x5a0]
push ecx
lea edx, [esp + 0x1a4]
push edx
call fcn.0040d398
add esp, 0x1c
push 4
lea eax, [esp + 0x2590]
push eax
lea ecx, [esp + 0x194]
push ecx
push 0
call edi
push 0x400
lea edx, [esp + 0x590]
push edx
push 2
push esi
call fcn.004027e0
lea eax, [esp + 0x259c]
push eax
lea ecx, [esp + 0x5a0]
push ecx
lea edx, [esp + 0x1a4]
push edx
call fcn.0040d398
add esp, 0x1c
push 0
lea eax, [esp + 0x2590]
push eax
lea ecx, [esp + 0x194]
push ecx
push 0
call edi
jmp 0x401f9d
push 0
push str.uo.exe
call fcn.004020b0
add esp, 8
test al, al
je 0x401df1
push 0x400
lea edx, [esp + 0x590]
push edx
push 3
push esi
call fcn.004027e0
lea eax, [esp + 0x259c]
push eax
mov ecx, eax
push ecx
lea edx, [esp + 0x5a4]
push edx
lea eax, [esp + 0x1a8]
push eax
call fcn.0040d398
add esp, 0x20
push 0
lea ecx, [esp + 0x2590]
push ecx
lea edx, [esp + 0x194]
push edx
jmp 0x401f95
call fcn.004020a0
test al, al
push 0x400
jne 0x401e33
lea eax, [esp + 0x190]
push eax
push 0x28
push esi
call fcn.004027e0
add esp, 0x10
push 0x10
lea ecx, [esp + 0x2590]
push ecx
lea edx, [esp + 0x194]
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call fcn.0040d358
lea eax, [esp + 0x590]
push eax
push 1
push esi
call fcn.004027e0
lea ecx, [esp + 0x259c]
push ecx
lea edx, [esp + 0x5a0]
push edx
lea eax, [esp + 0x1a4]
push eax
call fcn.0040d398
mov edi, dword [sym.imp.USER32.dll_MessageBoxA]
add esp, 0x1c
push 0x104
lea ecx, [esp + 0x2590]
push ecx
lea edx, [esp + 0x194]
push edx
push 0
call edi
cmp eax, 6
je 0x401eae
cmp eax, 7
je 0x401f9d
push 0x104
lea eax, [esp + 0x2590]
push eax
lea ecx, [esp + 0x194]
push ecx
push 0
call edi
cmp eax, 6
jne 0x401e87
push 0
lea ecx, [esp + 0x1c]
call fcn.00401790
push 0
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x1c]
push eax
push 0x42bdd2
push 0x42bdd2
push 0x42bdd2
lea ecx, [esp + 0x9a4]
mov byte [esp + 0x30c4], 1
call fcn.00404e80
lea ecx, [esp + 0xc]
lea edx, [esp + 0x14]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x8c], edx
xor eax, eax
mov cl, byte [esp + eax + 0x258c]
mov byte [eax + 0x43a1a0], cl
inc eax
test cl, cl
jne 0x401f00
lea ecx, [esp + 0x18]
call fcn.00420dbd
push 0
push 0
push 0x1a
push 0
push 0x10
call dword [sym.imp.USER32.dll_BroadcastSystemMessageA]
push 0x400
lea eax, [esp + 0x590]
push eax
push 2
push esi
call fcn.004027e0
lea ecx, [esp + 0x259c]
push ecx
lea edx, [esp + 0x5a0]
push edx
lea eax, [esp + 0x1a4]
push eax
call fcn.0040d398
add esp, 0x1c
push 0
lea ecx, [esp + 0x2590]
push ecx
lea edx, [esp + 0x194]
push edx
push 0
call edi
lea ecx, [esp + 0x18]
mov byte [esp + 0x30ac], 0
call fcn.00401820
jmp 0x401f9d
push 0
push str.ERROR
push str.EAUninstall.exe_has_not_been_configured_for_an_application
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [esp + 0x98c]
mov dword [esp + 0x30ac], 0xffffffff
call fcn.004029f0
mov ecx, dword [esp + 0x30a4]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x3098]
mov eax, 1
pop ebx
call fcn.0040cc7e
add esp, 0x30a4
ret