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

Disassembly:
push 0xffffffffffffffff
push 0x606c50
mov eax, dword fs:[0]
push eax
sub esp, 0x498
mov eax, dword [0x7161c0]
xor eax, esp
mov dword [esp + 0x494], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x7161c0]
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 0x410b3f
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 0x410b5d
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 0x410b7c
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.005d9e90
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 0x410fd0
cmp dword [esp + 0x80], 8
jbe 0x410fd0
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.005d9e90
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 0x410fd5
lea ecx, [esp + 0x14]
call fcn.0040fe30
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 0x410c6b
mov esi, eax
mov dword [esp + 0x4b4], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.0040f310
mov eax, esi
jmp 0x410fd5
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.005d9e90
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 0x410c4e
mov eax, dword [esp + 0x14]
test eax, eax
je 0x410d01
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 0x410c4e
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 0x632b00
push eax
mov eax, dword [ecx + 0x10]
call eax
test eax, eax
mov dword [esp + 0x18], eax
jl 0x410c4e
lea ecx, [esp + 0x1c]
call fcn.0040fce0
mov byte [esp + 0x4b4], 1
lea eax, [esi + 0x7c]
mov dword [esp + 0x28], eax
mov eax, dword [eax]
test eax, eax
je 0x410dce
mov ecx, dword [eax]
lea edx, [esp + 0x1c]
push edx
push eax
mov eax, dword [ecx + 0x10]
call eax
call fcn.005bc35c
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x308]
add eax, 0xffffffff
cmp eax, 4
ja case.default.0x410de4
jmp dword [eax*4 + 0x411000]
mov edi, 0x400
mov ebp, 0x300
jmp 0x410e2f
mov edi, 0x320
mov ebp, 0x258
jmp 0x410e2f
mov edi, 0x280
mov ebp, 0x1e0
jmp 0x410e2f
mov edi, 0x200
lea ebp, [edi - 0x80]
jmp 0x410e2f
mov edi, 0x180
lea ebp, [edi - 0x60]
jmp 0x410e2f
mov edi, dword [esi + 0x108]
mov ebp, dword [esi + 0x10c]
mov eax, dword [esi + 0x78]
test eax, eax
lea ebx, [esi + 0x78]
je 0x410e4a
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 0x410eb9
push 0x54
call fcn.005b4633
mov esi, eax
add esp, 4
mov dword [esp + 0x24], esi
mov byte [esp + 0x4b4], 2
test esi, esi
je 0x410e88
call fcn.005bc35c
mov eax, dword [eax + 4]
movzx edx, byte [eax + 0x30c]
mov ecx, dword [esp + 0x20]
mov ecx, dword [ecx]
push edx
push ebp
push edi
push ecx
mov ecx, esi
call fcn.004a3120
jmp 0x410e8a
xor eax, eax
mov byte [esp + 0x4b4], 1
test eax, eax
je 0x410e9b
add eax, 0xc
jmp 0x410e9d
xor eax, eax
push eax
mov ecx, ebx
call fcn.00465380
cmp dword [ebx], 0
je 0x410fa4
cmp dword [esp + 0x18], 0
jl 0x410fa4
mov dword [esp + 0x18], 0
call fcn.005bc35c
mov eax, dword [eax + 4]
cmp dword [eax + 0x304], 0
jle 0x410f11
push 0xe8
call fcn.005b4633
mov edi, eax
add esp, 4
mov dword [esp + 0x24], edi
mov byte [esp + 0x4b4], 3
test edi, edi
je 0x410f3c
mov esi, dword [ebx]
call fcn.005bc35c
mov eax, dword [eax + 4]
mov edx, dword [eax + 0x304]
lea ecx, [esp + 0x18]
push ecx
push esi
push edx
mov ecx, edi
call fcn.004a16e0
jmp 0x410f3e
push 0x68
call fcn.005b4633
add esp, 4
mov dword [esp + 0x24], eax
mov byte [esp + 0x4b4], 4
test eax, eax
je 0x410f3c
mov ebx, dword [ebx]
lea ecx, [esp + 0x18]
push ecx
push ebx
mov ecx, eax
call fcn.004a1930
jmp 0x410f3e
xor eax, eax
mov byte [esp + 0x4b4], 1
test eax, eax
je 0x410f4f
add eax, 0xc
jmp 0x410f51
xor eax, eax
mov esi, dword [esp + 0x28]
push eax
mov ecx, esi
call fcn.00465380
mov eax, dword [esi]
test eax, eax
je 0x410fa4
cmp dword [esp + 0x18], 0
jl 0x410fa4
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x410f7b
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.0040f360
mov dword [esp + 0x4b4], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.0040f310
xor eax, eax
jmp 0x410fd5
mov byte [esp + 0x4b4], 0
lea ecx, [esp + 0x1c]
call fcn.0040f360
mov dword [esp + 0x4b4], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.0040f310
mov eax, 0x80004005
jmp 0x410fd5
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.005d8d34
add esp, 0x4a4
ret