Function at 0x407cd0
Capabilities:
Get graphical window text
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x412042
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc0
push ebx
push ebp
mov ebx, ecx
push esi
push edi
lea ecx, [esp + 0x84]
call dword [sym.imp.fp30wel.dll_Ordinal_39]
xor ebp, ebp
mov dword [esp + 0xd8], ebp
call dword [sym.imp.fp30wel.dll_Ordinal_250]
mov esi, eax
lea ecx, [ebx + 0x2dc]
mov dword [esp + 0x2c], esi
call dword [sym.imp.fp30utl.dll_Ordinal_690]
mov eax, dword [ebx + 0x200]
push ebp
push ebp
push 0x184
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, dword [sym.imp.fp30utl.dll_Ordinal_115]
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], ebp
call edi
lea ecx, [esp + 0x3c]
mov byte [esp + 0xd8], 1
call edi
lea ecx, [esp + 0x18]
mov byte [esp + 0xd8], 2
call edi
push 4
lea ecx, [esp + 0x64]
mov byte [esp + 0xdc], 3
call dword [sym.imp.fp30utl.dll_Ordinal_117]
mov dword [esp + 0x68], ebp
mov eax, dword [esi + 8]
mov dword [esp + 0x28], ebp
cmp eax, ebp
mov ebp, dword [sym.imp.fp30utl.dll_Ordinal_233]
mov byte [esp + 0xd8], 4
jbe 0x407f1e
jmp 0x407d9a
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x30]
push ecx
push edx
mov ecx, esi
call dword [sym.imp.fp30utl.dll_Ordinal_343]
mov edi, dword [sym.imp.fp30utl.dll_Ordinal_255]
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xdc], 5
call edi
lea ecx, [esp + 0x30]
mov byte [esp + 0xd8], 4
call ebp
push ecx
lea eax, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x4c], esp
push eax
call dword [sym.imp.fp30utl.dll_Ordinal_109]
lea ecx, [esp + 0x88]
call dword [sym.imp.fp30wel.dll_Ordinal_372]
mov esi, eax
test esi, esi
jne 0x407efc
push str.servertype
lea ecx, [esp + 0x28]
call dword [sym.imp.fp30utl.dll_Ordinal_112]
lea ecx, [esp + 0x24]
mov byte [esp + 0xd8], 6
push ecx
lea ecx, [esp + 0x88]
call dword [sym.imp.fp30utl.dll_Ordinal_792]
xor ecx, ecx
mov dword [esp + 0x38], eax
test eax, eax
sete cl
mov byte [esp + 0x17], cl
lea ecx, [esp + 0x24]
mov byte [esp + 0xd8], 4
call ebp
mov al, byte [esp + 0x17]
test al, al
jne 0x407ef8
push 0x3a
lea ecx, [esp + 0x14]
call dword [sym.imp.fp30utl.dll_Ordinal_795]
cmp eax, 0xffffffff
je 0x407ea7
mov edx, dword [esp + 0x10]
mov ecx, dword [edx - 4]
lea edx, [esp + 0x78]
sub ecx, eax
dec ecx
inc eax
push ecx
push eax
push edx
lea ecx, [esp + 0x1c]
call dword [sym.imp.fp30utl.dll_Ordinal_362]
push eax
lea ecx, [esp + 0x24]
call dword [sym.imp.fp30utl.dll_Ordinal_10]
lea eax, [esp + 0x20]
lea ecx, [esp + 0x10]
push eax
mov byte [esp + 0xdc], 7
call edi
lea ecx, [esp + 0x20]
mov byte [esp + 0xd8], 4
call dword [sym.imp.fp30utl.dll_Ordinal_160]
mov ecx, dword [esp + 0x38]
push 0x4171b8
lea edx, [esp + 0x48]
push ecx
push edx
call dword [sym.imp.fp30utl.dll_Ordinal_350]
add esp, 0xc
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x4c], esp
push edx
push eax
push ecx
mov byte [esp + 0xe8], 8
call dword [sym.imp.fp30utl.dll_Ordinal_349]
add esp, 0xc
lea ecx, [esp + 0x64]
call dword [sym.imp.fp30utl.dll_Ordinal_922]
lea ecx, [esp + 0x44]
mov byte [esp + 0xd8], 4
call ebp
jmp 0x407f04
test esi, esi
je 0x407f04
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
inc eax
mov edx, dword [ecx + 8]
mov dword [esp + 0x28], eax
cmp eax, edx
jb 0x407d96
jmp 0x407f24
mov edi, dword [sym.imp.fp30utl.dll_Ordinal_255]
mov eax, dword [esp + 0x68]
xor esi, esi
test eax, eax
mov dword [esp + 0x28], esi
jbe 0x408493
jmp 0x407f3c
mov esi, dword [esp + 0x28]
push esi
lea ecx, [esp + 0x64]
call dword [sym.imp.fp30utl.dll_Ordinal_662]
mov edx, dword [esp + 0x64]
lea ecx, [esp + 0x18]
lea eax, [edx + esi*4]
push eax
call edi
push 0x3a
lea ecx, [esp + 0x1c]
call dword [sym.imp.fp30utl.dll_Ordinal_957]
mov ecx, dword [esp + 0x18]
mov esi, eax
mov edx, dword [ecx - 4]
lea eax, [esi + 1]
sub edx, esi
lea ecx, [esp + 0x78]
dec edx
push edx
push eax
push ecx
lea ecx, [esp + 0x24]
call dword [sym.imp.fp30utl.dll_Ordinal_362]
push eax
lea ecx, [esp + 0x5c]
call dword [sym.imp.fp30utl.dll_Ordinal_10]
lea edx, [esp + 0x58]
lea ecx, [esp + 0x3c]
push edx
mov byte [esp + 0xdc], 9
call edi
lea ecx, [esp + 0x58]
mov byte [esp + 0xd8], 4
call dword [sym.imp.fp30utl.dll_Ordinal_160]
mov eax, dword [esp + 0x18]
push 0
push 0
mov ecx, dword [eax - 4]
sub ecx, esi
push ecx
push esi
lea ecx, [esp + 0x28]
call dword [sym.imp.fp30utl.dll_Ordinal_1095]
lea ecx, [esp + 0x3c]
call dword [sym.imp.fp30utl.dll_Ordinal_737]
mov esi, dword [sym.imp.fp30utl.dll_Ordinal_112]
push eax
lea ecx, [esp + 0x60]
call esi
lea edx, [esp + 0x5c]
mov byte [esp + 0xd8], 0xa
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push str.SERVER_PORT
call esi
mov ecx, dword [ebx + 0x260]
call dword [sym.imp.fp30utl.dll_Ordinal_895]
lea ecx, [esp + 0x5c]
mov byte [esp + 0xd8], 4
call ebp
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x24], 0
mov ecx, dword [eax + 8]
test ecx, ecx
jbe 0x408410
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x6c]
push ecx
mov ecx, dword [esp + 0x30]
push edx
call dword [sym.imp.fp30utl.dll_Ordinal_343]
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xdc], 0xb
call edi
lea ecx, [esp + 0x6c]
mov byte [esp + 0xd8], 4
call ebp
push ecx
lea eax, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
call dword [sym.imp.fp30utl.dll_Ordinal_109]
lea ecx, [esp + 0x88]
call dword [sym.imp.fp30wel.dll_Ordinal_372]
mov esi, eax
test esi, esi
jne 0x4083ea
push str.servertype
lea ecx, [esp + 0x50]
call dword [sym.imp.fp30utl.dll_Ordinal_112]
lea ecx, [esp + 0x4c]
mov byte [esp + 0xd8], 0xc
push ecx
lea ecx, [esp + 0x88]
call dword [sym.imp.fp30utl.dll_Ordinal_792]
xor ecx, ecx
mov dword [esp + 0x38], eax
test eax, eax
sete cl
mov byte [esp + 0x17], cl
lea ecx, [esp + 0x4c]
mov byte [esp + 0xd8], 4
call ebp
mov al, byte [esp + 0x17]
test al, al
jne 0x4083e6
mov esi, dword [sym.imp.fp30utl.dll_Ordinal_115]
lea ecx, [esp + 0x20]
call esi
lea ecx, [esp + 0x34]
mov byte [esp + 0xd8], 0xd
call esi
push 0x3a
lea ecx, [esp + 0x14]
mov byte [esp + 0xdc], 0xe
call dword [sym.imp.fp30utl.dll_Ordinal_795]
mov esi, eax
cmp esi, 0xffffffff
je 0x408210
push esi
lea edx, [esp + 0xc8]
push 0
push edx
lea ecx, [esp + 0x1c]
call dword [sym.imp.fp30utl.dll_Ordinal_362]
push eax
lea ecx, [esp + 0x54]
call dword [sym.imp.fp30utl.dll_Ordinal_10]
lea eax, [esp + 0x50]
lea ecx, [esp + 0x20]
push eax
mov byte [esp + 0xdc], 0xf
call edi
lea ecx, [esp + 0x50]
mov byte [esp + 0xd8], 0xe
call dword [sym.imp.fp30utl.dll_Ordinal_160]
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0xb8]
mov edx, dword [ecx - 4]
lea ecx, [esp + 0x10]
sub edx, esi
dec edx
inc esi
push edx
push esi
push eax
call dword [sym.imp.fp30utl.dll_Ordinal_362]
push eax
lea ecx, [esp + 0x58]
call dword [sym.imp.fp30utl.dll_Ordinal_10]
lea ecx, [esp + 0x54]
mov byte [esp + 0xd8], 0x10
push ecx
lea ecx, [esp + 0x14]
call edi
lea ecx, [esp + 0x54]
mov byte [esp + 0xd8], 0xe
call dword [sym.imp.fp30utl.dll_Ordinal_160]
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x408214
lea edx, [esp + 0x18]
push str.msiis
push edx
call sub.fp30utl.dll_Ordinal_333
add esp, 8
test eax, eax
je 0x408210
lea ecx, [esp + 0x20]
call dword [sym.imp.fp30utl.dll_Ordinal_737]
mov esi, dword [sym.imp.fp30utl.dll_Ordinal_112]
push eax
lea ecx, [esp + 0x48]
call esi
lea eax, [esp + 0x44]
mov byte [esp + 0xd8], 0x11
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x48], esp
push str.SERVER_NAME
call esi
mov ecx, dword [ebx + 0x260]
call dword [sym.imp.fp30utl.dll_Ordinal_895]
lea ecx, [esp + 0x44]
mov byte [esp + 0xd8], 0xe
call ebp
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x3c]
mov ecx, dword [esi - 4]
cmp ecx, dword [edx - 4]
jne 0x4083c8
mov edi, edx
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x4083c2
mov ecx, dword [esp + 0x38]
mov edi, dword [esp + 0x18]
mov esi, dword [ecx]
mov edx, dword [edi - 4]
mov ecx, dword [esi - 4]
cmp ecx, edx
jne 0x4083c2
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x4083c2
test eax, eax
jne 0x4082c6
lea eax, [esp + 0x74]
push eax
call dword [sym.imp.fp30wel.dll_Ordinal_257]
add esp, 4
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x84]
push ecx
push eax
lea eax, [esp + 0x20]
push edx
push eax
mov byte [esp + 0xe8], 0x12
call dword [sym.imp.fp30wel.dll_Ordinal_295]
add esp, 0x10
lea ecx, [esp + 0x74]
mov esi, eax
mov byte [esp + 0xd8], 0xe
call ebp
test esi, esi
je 0x4082be
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.fp30wel.dll_Ordinal_188]
add esp, 4
xor eax, eax
mov dword [esp + 0x1c], eax
jmp 0x4082c2
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4082de
mov edx, dword [eax]
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x24]
push ecx
mov ecx, eax
call dword [edx + 0x98]
test al, al
jne 0x408313
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x70]
push edx
push eax
call dword [sym.imp.fp30utl.dll_Ordinal_343]
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0xdc], 0x13
call dword [sym.imp.fp30utl.dll_Ordinal_255]
lea ecx, [esp + 0x70]
mov byte [esp + 0xd8], 0xe
call ebp
push 0
push ecx
lea edx, [esp + 0x3c]
mov ecx, esp
mov dword [esp + 0x48], esp
push edx
call dword [sym.imp.fp30utl.dll_Ordinal_109]
lea eax, [esp + 0x50]
push eax
call fcn.00406b70
add esp, 0xc
mov ecx, dword [eax]
mov edx, dword [ebx + 0x200]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push ecx
push 0
push 0x180
push edx
mov byte [esp + 0xe8], 0x14
call esi
lea ecx, [esp + 0x48]
mov edi, eax
mov byte [esp + 0xd8], 0xe
call ebp
mov eax, dword [ebx + 0x2e4]
mov ecx, dword [ebx + 0x200]
push eax
push edi
push 0x19a
push ecx
call esi
mov eax, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x30]
mov edx, esp
mov dword [esp + 0x44], esp
push eax
push edx
call dword [sym.imp.fp30utl.dll_Ordinal_343]
lea ecx, [ebx + 0x2dc]
call dword [sym.imp.fp30utl.dll_Ordinal_906]
lea ecx, [esp + 0x34]
mov byte [esp + 0xd8], 0xd
call ebp
lea ecx, [esp + 0x20]
mov byte [esp + 0xd8], 4
call ebp
mov edi, dword [sym.imp.fp30utl.dll_Ordinal_255]
jmp 0x4083f2
mov edi, dword [sym.imp.fp30utl.dll_Ordinal_255]
lea ecx, [esp + 0x34]
mov byte [esp + 0xd8], 0xd
call ebp
lea ecx, [esp + 0x20]
mov byte [esp + 0xd8], 4
call ebp
jmp 0x4083f2
test esi, esi
je 0x4083f2
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
inc eax
mov edx, dword [ecx + 8]
mov dword [esp + 0x24], eax
cmp eax, edx
jb 0x40802d
mov esi, dword [sym.imp.fp30utl.dll_Ordinal_112]
mov edx, dword [esp + 0x1c]
push edx
call dword [sym.imp.fp30wel.dll_Ordinal_188]
add esp, 4
lea eax, [esp + 0x18]
mov dword [esp + 0x1c], 0
push str.msiis
push eax
call sub.fp30utl.dll_Ordinal_333
add esp, 8
test eax, eax
je 0x40847c
push 0x4173c8
lea ecx, [esp + 0x34]
call esi
lea ecx, [esp + 0x30]
mov byte [esp + 0xd8], 0x15
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x48], esp
push str.SERVER_NAME
call esi
mov ecx, dword [ebx + 0x260]
call dword [sym.imp.fp30utl.dll_Ordinal_895]
lea ecx, [esp + 0x30]
mov byte [esp + 0xd8], 4
call ebp
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x68]
inc eax
cmp eax, ecx
mov dword [esp + 0x28], eax
jb 0x407f38
jmp 0x408499
mov esi, dword [sym.imp.fp30utl.dll_Ordinal_112]
push 0x4173c8
lea ecx, [esp + 0x34]
call esi
lea edx, [esp + 0x30]
mov byte [esp + 0xd8], 0x16
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x48], esp
push str.SERVER_PORT
call esi
mov ecx, dword [ebx + 0x260]
call dword [sym.imp.fp30utl.dll_Ordinal_895]
lea ecx, [esp + 0x30]
mov byte [esp + 0xd8], 4
call ebp
mov eax, dword [ebx + 0x200]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x18b
push eax
call edi
xor ecx, ecx
test eax, eax
setne cl
mov esi, ecx
lea ecx, [ebx + 0xe0]
push esi
call sub.MFC42.DLL_CWnd::EnableWindow
push esi
lea ecx, [ebx + 0x120]
call sub.MFC42.DLL_CWnd::EnableWindow
push esi
lea ecx, [ebx + 0x1a0]
call sub.MFC42.DLL_CWnd::EnableWindow
push esi
lea ecx, [ebx + 0x60]
call sub.MFC42.DLL_CWnd::EnableWindow
push esi
lea ecx, [ebx + 0xa0]
call sub.MFC42.DLL_CWnd::EnableWindow
test esi, esi
je 0x408549
mov edx, dword [ebx + 0x200]
push 0
push 0
push 0x186
push edx
call edi
lea ecx, [esp + 0x60]
mov byte [esp + 0xd8], 3
call dword [sym.imp.fp30utl.dll_Ordinal_234]
lea ecx, [esp + 0x18]
mov byte [esp + 0xd8], 2
call ebp
lea ecx, [esp + 0x3c]
mov byte [esp + 0xd8], 1
call ebp
lea ecx, [esp + 0x10]
mov byte [esp + 0xd8], 0
call ebp
lea ecx, [esp + 0x84]
mov dword [esp + 0xd8], 0xffffffff
call dword [sym.imp.fp30wel.dll_Ordinal_75]
mov ecx, dword [esp + 0xd0]
pop edi
pop esi
pop ebp
mov al, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0xcc
ret