Function at 0x410670
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5a9bc8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov esi, ecx
lea eax, [esp + 0x80]
lea ecx, [esi + 0x90]
push eax
mov dword [esp + 0x30], 0x11
call fcn.0058e078
lea ecx, [esp + 0x70]
lea edi, [esi + 0x98]
push ecx
mov ecx, edi
call fcn.0058e078
mov edx, dword [esp + 0x74]
mov dword [esi + 0x9c], edx
mov eax, dword [esi + 0x1c0]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x410706
mov eax, dword [esi + 0xd0]
test eax, eax
je 0x4106e5
cmp eax, 1
jne 0x410706
mov edi, dword [edi]
push 0x645010
push edi
call fcn.00568a52
add esp, 8
test eax, eax
je 0x410706
push 5
lea ecx, [esi + 0xa78]
call fcn.0059219e
push 0x645010
lea ecx, [esp + 0x14]
call fcn.0058dfad
mov ecx, dword [0x63b4a0]
mov dword [esp + 0x18], ecx
lea edi, [esi + 0x11a8]
lea edx, [esp + 0x18]
mov bl, 0x13
push edx
mov ecx, edi
mov byte [esp + 0x30], bl
call fcn.0058f654
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x18]
push eax
push ecx
call fcn.00568a52
add esp, 8
test eax, eax
je 0x41076c
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x41076c
push ecx
lea edx, [esp + 0x38]
mov ecx, esp
mov dword [esp + 0x78], esp
push edx
call fcn.0058dcb4
mov ecx, esi
call fcn.00420250
mov eax, dword [esp + 0x34]
lea ecx, [esi + 0x1478]
push eax
call fcn.00592059
push 0
lea ecx, [esi + 0x794]
call fcn.0059219e
mov ecx, dword [esp + 0x34]
push ecx
mov ecx, edi
call fcn.00592059
mov edx, dword [esp + 0x3c]
lea ecx, [esi + 0x125c]
push edx
call fcn.00592059
mov eax, dword [esp + 0x40]
lea ecx, [esi + 0x1310]
push eax
call fcn.00592059
mov ecx, dword [esp + 0x78]
push ecx
lea ecx, [esi + 0x8d4]
call fcn.00592059
mov edx, dword [esp + 0x48]
lea ecx, [esi + 0x9c4]
push edx
call fcn.00592059
mov eax, dword [esp + 0x4c]
lea ecx, [esi + 0x94c]
push eax
call fcn.00592059
mov ecx, dword [esp + 0x50]
push ecx
lea ecx, [esi + 0xaf0]
call fcn.00592059
mov edx, dword [esp + 0x44]
lea ecx, [esi + 0x10b8]
push edx
call fcn.00592059
mov eax, dword [esp + 0x54]
lea ecx, [esi + 0x12d4]
push eax
call fcn.00592059
mov ecx, dword [esp + 0x58]
push ecx
lea ecx, [esi + 0x11e4]
call fcn.00592059
mov edx, dword [esp + 0x5c]
lea ecx, [esi + 0x1298]
push edx
call fcn.00592059
mov eax, dword [esp + 0x60]
lea ecx, [esi + 0x10f4]
push eax
call fcn.00592059
mov ecx, dword [esp + 0x64]
push ecx
lea ecx, [esi + 0x116c]
call fcn.00592059
mov edx, dword [esp + 0x68]
lea ecx, [esi + 0x1130]
push edx
call fcn.00592059
push ecx
lea eax, [esp + 0x58]
mov ecx, esp
mov dword [esp + 0x78], esp
push eax
call fcn.0058dcb4
lea ecx, [esp + 0x78]
push ecx
call fcn.004889b0
add esp, 8
mov eax, dword [eax]
lea ecx, [esi + 0x488]
push eax
mov byte [esp + 0x30], 0x14
call fcn.00592059
mov byte [esp + 0x2c], bl
lea ecx, [esp + 0x74]
call fcn.0058df3f
push ecx
lea edx, [esp + 0x5c]
mov ecx, esp
mov dword [esp + 0x78], esp
push edx
call fcn.0058dcb4
lea eax, [esp + 0x78]
push eax
call fcn.004889b0
add esp, 8
mov eax, dword [eax]
lea ecx, [esi + 0x44c]
push eax
mov byte [esp + 0x30], 0x15
call fcn.00592059
lea ecx, [esp + 0x74]
mov byte [esp + 0x2c], bl
call fcn.0058df3f
push ecx
lea edx, [esp + 0x60]
mov ecx, esp
mov dword [esp + 0x78], esp
push edx
call fcn.0058dcb4
lea eax, [esp + 0x78]
push eax
call fcn.004889b0
add esp, 8
mov eax, dword [eax]
lea ecx, [esi + 0x35c]
push eax
mov byte [esp + 0x30], 0x16
call fcn.00592059
lea ecx, [esp + 0x74]
mov byte [esp + 0x2c], bl
call fcn.0058df3f
push ecx
lea edx, [esp + 0x64]
mov ecx, esp
mov dword [esp + 0x78], esp
push edx
call fcn.0058dcb4
lea eax, [esp + 0x78]
push eax
call fcn.004889b0
add esp, 8
mov eax, dword [eax]
lea ecx, [esi + 0x398]
push eax
mov byte [esp + 0x30], 0x17
call fcn.00592059
lea ecx, [esp + 0x74]
mov byte [esp + 0x2c], bl
call fcn.0058df3f
push ecx
lea edx, [esp + 0x68]
mov ecx, esp
mov dword [esp + 0x78], esp
push edx
call fcn.0058dcb4
lea eax, [esp + 0x78]
push eax
call fcn.004889b0
add esp, 8
mov eax, dword [eax]
lea ecx, [esi + 0x410]
push eax
mov byte [esp + 0x30], 0x18
call fcn.00592059
lea ecx, [esp + 0x74]
mov byte [esp + 0x2c], bl
call fcn.0058df3f
push ecx
lea edx, [esp + 0x6c]
mov ecx, esp
mov dword [esp + 0x78], esp
push edx
call fcn.0058dcb4
lea eax, [esp + 0x78]
push eax
call fcn.004889b0
add esp, 8
mov eax, dword [eax]
lea ecx, [esi + 0x3d4]
push eax
mov byte [esp + 0x30], 0x19
call fcn.00592059
lea ecx, [esp + 0x74]
mov byte [esp + 0x2c], bl
call fcn.0058df3f
mov ecx, dword [esp + 0x6c]
push ecx
lea ecx, [esi + 0x134c]
call fcn.00592059
mov eax, dword [0x651cc0]
test eax, eax
jne 0x410bc7
push ecx
lea edx, [esp + 0x3c]
mov ecx, esp
mov dword [esp + 0x78], esp
push edx
call fcn.0058dcb4
mov eax, dword [0x64a744]
mov byte [esp + 0x30], bl
lea ecx, [eax + 0x15ec]
call fcn.0041e4c0
push eax
call fcn.00494430
mov ecx, dword [esp + 0x40]
mov edi, dword [0x64534c]
push 0x6197c0
push ecx
call fcn.00568a52
add esp, 0x10
test eax, eax
jne 0x410a55
push 0x6197b8
lea ecx, [esp + 0x14]
call fcn.0058e0c8
mov ecx, dword [esp + 0x10]
push ecx
jmp 0x410bcc
push 0x645010
lea ecx, [esp + 0x14]
call fcn.0058e0c8
test edi, edi
je 0x410b53
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [esp + 0x10]
push 0x645010
push edx
call fcn.00568a52
add esp, 8
test eax, eax
push edi
je 0x410b00
mov ecx, dword [0x64a744]
lea eax, [esp + 0x20]
push eax
add ecx, 0x15ec
call fcn.0058a173
push 0x6197b4
lea edx, [esp + 0x80]
push eax
push edx
mov byte [esp + 0x38], 0x1b
call fcn.0058e1d4
lea ecx, [esp + 0x10]
lea edx, [esp + 0x74]
push ecx
push eax
push edx
mov byte [esp + 0x38], 0x1c
call fcn.0058e16e
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 0x1d
call fcn.0058e078
lea ecx, [esp + 0x74]
mov byte [esp + 0x2c], 0x1c
call fcn.0058df3f
lea ecx, [esp + 0x7c]
mov byte [esp + 0x2c], 0x1b
call fcn.0058df3f
mov byte [esp + 0x2c], bl
lea ecx, [esp + 0x1c]
jmp 0x410b2d
mov ecx, dword [0x64a744]
lea eax, [esp + 0x24]
push eax
add ecx, 0x15ec
call fcn.0058a173
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 0x1e
call fcn.0058e078
mov byte [esp + 0x2c], bl
lea ecx, [esp + 0x20]
call fcn.0058df3f
mov edx, dword [0x64a744]
push edi
push 3
push 0x110a
mov eax, dword [edx + 0x1608]
push eax
call ebp
mov edi, eax
test edi, edi
jne 0x410a71
lea ecx, [esp + 0x7c]
push 6
push ecx
lea ecx, [esp + 0x18]
call fcn.00588091
mov eax, dword [eax]
push 0x6197ac
push eax
call fcn.00568a52
add esp, 8
lea ecx, [esp + 0x7c]
test eax, eax
sete byte [esp + 0x74]
call fcn.0058df3f
mov al, byte [esp + 0x74]
test al, al
je 0x410bc0
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x10]
mov eax, dword [edx - 8]
add eax, 0xfffffffa
push eax
lea eax, [esp + 0x78]
push eax
call fcn.00588015
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 0x1f
call fcn.0058e078
lea ecx, [esp + 0x74]
mov byte [esp + 0x2c], bl
call fcn.0058df3f
mov ecx, dword [esp + 0x10]
push ecx
jmp 0x410bcc
mov edx, dword [esp + 0x38]
push edx
lea ecx, [esi + 0x1220]
call fcn.00592059
mov eax, dword [esp + 0x34]
push eax
mov eax, dword [esi + 0xa0]
lea ecx, [eax*8]
sub ecx, eax
lea edx, [eax + ecx*4]
lea ecx, [eax + edx*2]
shl ecx, 5
add ecx, 0x64873c
call fcn.00592059
mov eax, dword [esp + 0x3c]
push eax
mov eax, dword [esi + 0xa0]
lea ecx, [eax*8]
sub ecx, eax
lea edx, [eax + ecx*4]
lea ecx, [eax + edx*2]
shl ecx, 5
add ecx, 0x6486c4
call fcn.00592059
mov eax, dword [esp + 0x10]
push eax
mov eax, dword [esi + 0xa0]
lea ecx, [eax*8]
sub ecx, eax
lea edx, [eax + ecx*4]
lea ecx, [eax + edx*2]
shl ecx, 5
add ecx, 0x648700
call fcn.00592059
mov eax, dword [esi + 0xa0]
push 0
lea ecx, [eax*8]
sub ecx, eax
lea edx, [eax + ecx*4]
lea ecx, [eax + edx*2]
shl ecx, 5
add ecx, 0x64846c
call fcn.0059219e
mov eax, dword [esi + 0xa0]
push 0
lea ecx, [eax*8]
sub ecx, eax
lea edx, [eax + ecx*4]
lea ecx, [eax + edx*2]
shl ecx, 5
add ecx, 0x648430
call fcn.0059219e
mov eax, dword [0x63b4a0]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0xa0]
lea ecx, [esp + 0x14]
push ecx
mov byte [esp + 0x30], 0x20
lea edx, [eax*8]
sub edx, eax
lea ecx, [eax + edx*4]
lea ecx, [eax + ecx*2]
shl ecx, 5
add ecx, 0x648688
call fcn.0058f654
mov eax, dword [esi + 0xa0]
mov edx, dword [esp + 0x14]
push edx
lea ecx, [eax*8]
sub ecx, eax
lea edx, [eax + ecx*4]
lea ecx, [eax + edx*2]
shl ecx, 5
add ecx, 0x648688
call fcn.00592059
mov eax, dword [esp + 0x14]
push eax
mov eax, dword [esi + 0xa0]
lea ecx, [eax*8]
sub ecx, eax
lea edx, [eax + ecx*4]
lea ecx, [eax + edx*2]
shl ecx, 5
add ecx, 0x64828c
call fcn.00592059
mov esi, dword [esi + 0xa0]
push 1
push 0
lea eax, [esi*8]
sub eax, esi
lea ecx, [esi + eax*4]
lea eax, [esi + ecx*2]
shl eax, 5
add eax, 0x648018
mov edx, dword [eax + 0x1c]
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], bl
call fcn.0058df3f
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 0x12
call fcn.0058df3f
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 0x11
call fcn.0058df3f
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], 0x10
call fcn.0058df3f
lea ecx, [esp + 0x38]
mov byte [esp + 0x2c], 0xf
call fcn.0058df3f
lea ecx, [esp + 0x3c]
mov byte [esp + 0x2c], 0xe
call fcn.0058df3f
lea ecx, [esp + 0x40]
mov byte [esp + 0x2c], 0xd
call fcn.0058df3f
lea ecx, [esp + 0x44]
mov byte [esp + 0x2c], 0xc
call fcn.0058df3f
lea ecx, [esp + 0x48]
mov byte [esp + 0x2c], 0xb
call fcn.0058df3f
lea ecx, [esp + 0x4c]
mov byte [esp + 0x2c], 0xa
call fcn.0058df3f
lea ecx, [esp + 0x50]
mov byte [esp + 0x2c], 9
call fcn.0058df3f
lea ecx, [esp + 0x54]
mov byte [esp + 0x2c], 8
call fcn.0058df3f
lea ecx, [esp + 0x58]
mov byte [esp + 0x2c], 7
call fcn.0058df3f
lea ecx, [esp + 0x5c]
mov byte [esp + 0x2c], 6
call fcn.0058df3f
lea ecx, [esp + 0x60]
mov byte [esp + 0x2c], 5
call fcn.0058df3f
lea ecx, [esp + 0x64]
mov byte [esp + 0x2c], 4
call fcn.0058df3f
lea ecx, [esp + 0x68]
mov byte [esp + 0x2c], 3
call fcn.0058df3f
lea ecx, [esp + 0x6c]
mov byte [esp + 0x2c], 2
call fcn.0058df3f
lea ecx, [esp + 0x70]
mov byte [esp + 0x2c], 1
call fcn.0058df3f
lea ecx, [esp + 0x78]
mov byte [esp + 0x2c], 0
call fcn.0058df3f
lea ecx, [esp + 0x80]
mov dword [esp + 0x2c], 0xffffffff
call fcn.0058df3f
mov ecx, dword [esp + 0x24]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 0x50