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

Disassembly:
push 0xffffffffffffffff
push 0x5eab20
mov eax, dword fs:[0]
push eax
sub esp, 0x498
mov eax, dword [0x6f1550]
xor eax, esp
mov dword [esp + 0x494], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6f1550]
xor eax, esp
push eax
lea eax, [esp + 0x4ac]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x118]
test eax, eax
lea edi, [esi + 0x118]
mov dword [esp + 0x20], edi
je 0x40954f
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [edi], 0
mov eax, dword [esi + 0x11c]
test eax, eax
lea edi, [esi + 0x11c]
je 0x40956d
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [edi], 0
mov eax, dword [esi + 0x120]
test eax, eax
lea ebp, [esi + 0x120]
je 0x40958c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp], 0
mov ebx, 0x7c
push ebx
lea eax, [esp + 0x30]
push 0
push eax
call fcn.005c0060
mov eax, dword [esi + 0x110]
add esp, 0xc
lea edx, [esp + 0x2c]
mov dword [esp + 0x2c], ebx
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x30]
call eax
test eax, eax
jl 0x4099e0
cmp dword [esp + 0x80], 8
jbe 0x4099e0
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push ebx
lea eax, [esp + 0x30]
push 0
push eax
mov dword [esi + 0x108], ecx
mov dword [esi + 0x10c], edx
call fcn.005c0060
mov eax, dword [esi + 0x110]
add esp, 0xc
push 0
push edi
lea edx, [esp + 0x34]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], 1
mov dword [esp + 0x9c], 0x200
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
test eax, eax
mov dword [esp + 0x18], eax
jl 0x4099e5
lea ecx, [esp + 0x14]
call fcn.00408840
mov dword [esp + 0x4b4], 0
mov eax, dword [esi + 0x110]
mov ecx, dword [eax]
push 0
lea edx, [esp + 0x18]
push edx
push 0
push eax
mov eax, dword [ecx + 0x10]
call eax
test eax, eax
mov dword [esp + 0x18], eax
jge 0x40967b
mov esi, eax
mov dword [esp + 0x4b4], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.00407c80
mov eax, esi
jmp 0x4099e5
mov edx, dword [esi + 0x28]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
push edx
push 0
push eax
mov eax, dword [ecx + 0x20]
call eax
mov eax, dword [edi]
mov edx, dword [esp + 0x14]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x70]
call eax
push ebx
lea ecx, [esp + 0x30]
push 0
push ecx
call fcn.005c0060
mov edx, dword [esi + 0x108]
mov eax, dword [esi + 0x10c]
add esp, 0xc
push 0
mov dword [esp + 0x3c], edx
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0x110]
push ebp
lea edx, [esp + 0x34]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], 7
mov dword [esp + 0x9c], 0x6000
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
test eax, eax
mov dword [esp + 0x18], eax
jl 0x40965e
mov eax, dword [esp + 0x14]
test eax, eax
je 0x409711
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x14], 0
mov eax, dword [esi + 0x110]
mov ecx, dword [eax]
push 0
lea edx, [esp + 0x18]
push edx
push 0
push eax
mov eax, dword [ecx + 0x10]
call eax
test eax, eax
mov dword [esp + 0x18], eax
jl 0x40965e
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
push ecx
push edx
push 0
push 0
call dword [sym.imp.GDI32.dll_CreateRectRgn]
mov edi, eax
lea eax, [esp + 0xa8]
push eax
push 0x400
push edi
call dword [sym.imp.GDI32.dll_GetRegionData]
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
push 0
lea edx, [esp + 0xac]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
mov eax, dword [ebp]
mov edx, dword [esp + 0x14]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x70]
call eax
mov edx, dword [esp + 0x20]
mov ebp, dword [ebp]
mov eax, dword [esi + 0x114]
mov ecx, dword [eax]
push edx
push ebp
push 0x613c48
push eax
mov eax, dword [ecx + 0x10]
call eax
test eax, eax
mov dword [esp + 0x18], eax
jl 0x40965e
lea ecx, [esp + 0x1c]
call fcn.00408650
mov byte [esp + 0x4b4], 1
lea eax, [esi + 0x7c]
mov dword [esp + 0x28], eax
mov eax, dword [eax]
test eax, eax
je 0x4097de
mov ecx, dword [eax]
lea edx, [esp + 0x1c]
push edx
push eax
mov eax, dword [ecx + 0x10]
call eax
call fcn.005a2d4d
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x2f8]
add eax, 0xffffffff
cmp eax, 4
ja case.default.0x4097f4
jmp dword [eax*4 + 0x409a10]
mov edi, 0x400
mov ebp, 0x300
jmp 0x40983f
mov edi, 0x320
mov ebp, 0x258
jmp 0x40983f
mov edi, 0x280
mov ebp, 0x1e0
jmp 0x40983f
mov edi, 0x200
lea ebp, [edi - 0x80]
jmp 0x40983f
mov edi, 0x180
lea ebp, [edi - 0x60]
jmp 0x40983f
mov edi, dword [esi + 0x108]
mov ebp, dword [esi + 0x10c]
mov eax, dword [esi + 0x78]
test eax, eax
lea ebx, [esi + 0x78]
je 0x40985a
mov ecx, dword [esp + 0x20]
mov ecx, dword [ecx]
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x20]
call eax
jmp 0x4098c9
push 0x54
call fcn.0059b02f
mov esi, eax
add esp, 4
mov dword [esp + 0x24], esi
mov byte [esp + 0x4b4], 2
test esi, esi
je 0x409898
call fcn.005a2d4d
mov eax, dword [eax + 4]
movzx edx, byte [eax + 0x2fc]
mov ecx, dword [esp + 0x20]
mov ecx, dword [ecx]
push edx
push ebp
push edi
push ecx
mov ecx, esi
call fcn.00492210
jmp 0x40989a
xor eax, eax
mov byte [esp + 0x4b4], 1
test eax, eax
je 0x4098ab
add eax, 0xc
jmp 0x4098ad
xor eax, eax
push eax
mov ecx, ebx
call fcn.00457080
cmp dword [ebx], 0
je 0x4099b4
cmp dword [esp + 0x18], 0
jl 0x4099b4
mov dword [esp + 0x18], 0
call fcn.005a2d4d
mov eax, dword [eax + 4]
cmp dword [eax + 0x2f4], 0
jle 0x409921
push 0xe8
call fcn.0059b02f
mov edi, eax
add esp, 4
mov dword [esp + 0x24], edi
mov byte [esp + 0x4b4], 3
test edi, edi
je 0x40994c
mov esi, dword [ebx]
call fcn.005a2d4d
mov eax, dword [eax + 4]
mov edx, dword [eax + 0x2f4]
lea ecx, [esp + 0x18]
push ecx
push esi
push edx
mov ecx, edi
call fcn.004907d0
jmp 0x40994e
push 0x68
call fcn.0059b02f
add esp, 4
mov dword [esp + 0x24], eax
mov byte [esp + 0x4b4], 4
test eax, eax
je 0x40994c
mov ebx, dword [ebx]
lea ecx, [esp + 0x18]
push ecx
push ebx
mov ecx, eax
call fcn.00490a20
jmp 0x40994e
xor eax, eax
mov byte [esp + 0x4b4], 1
test eax, eax
je 0x40995f
add eax, 0xc
jmp 0x409961
xor eax, eax
mov esi, dword [esp + 0x28]
push eax
mov ecx, esi
call fcn.00457080
mov eax, dword [esi]
test eax, eax
je 0x4099b4
cmp dword [esp + 0x18], 0
jl 0x4099b4
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x40998b
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0xc]
call eax
mov byte [esp + 0x4b4], 0
lea ecx, [esp + 0x1c]
call fcn.00407cd0
mov dword [esp + 0x4b4], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.00407c80
xor eax, eax
jmp 0x4099e5
mov byte [esp + 0x4b4], 0
lea ecx, [esp + 0x1c]
call fcn.00407cd0
mov dword [esp + 0x4b4], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.00407c80
mov eax, 0x80004005
jmp 0x4099e5
mov eax, 0x88760078
mov ecx, dword [esp + 0x4ac]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x494]
xor ecx, esp
call fcn.005bf6a4
add esp, 0x4a4
ret