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

Disassembly:
push 0xffffffffffffffff
push 0x588ea6
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x5e173c]
xor eax, esp
mov dword [esp + 0x80], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5e173c]
xor eax, esp
push eax
lea eax, [esp + 0x9c]
mov dword fs:[0], eax
mov ebx, ecx
mov ebp, dword [esp + 0xac]
push ebp
call fcn.00415d00
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push ebp
mov dword [esp + 0x20], eax
call edi
push ebp
mov ecx, ebx
mov esi, eax
call fcn.004164e0
push esi
push ebp
call edi
xor eax, eax
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], 0
mov word [esp + 0x34], ax
mov dword [esp + 0xa4], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], eax
mov word [esp + 0x4c], ax
mov byte [esp + 0xa4], 1
lea edx, [esp + 0x34]
xor ecx, ecx
call fcn.00411f00
test al, al
je 0x416442
cmp dword [esp + 0x44], 0
je 0x416442
mov edx, 0x10
lea ecx, [esp + 0x34]
call fcn.004b2110
push 0xe
push 0x5a927c
lea ecx, [esp + 0x3c]
call fcn.00404880
cmp dword [esp + 0x48], 8
lea eax, [esp + 0x34]
mov ebx, dword [esp + 0x18]
cmovae eax, dword [esp + 0x34]
push eax
push ebx
call fcn.00415e50
lea edx, [esp + 0x4c]
xor ecx, ecx
call fcn.00411f00
test al, al
je 0x416446
cmp dword [esp + 0x5c], 0
je 0x416446
mov edx, 0x10
lea ecx, [esp + 0x4c]
call fcn.004b2110
push 0x5a929c
lea ecx, [esp + 0x50]
call fcn.00403b70
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x78], 0xf
mov dword [esp + 0x74], 0
mov byte [esp + 0x64], 0
mov byte [esp + 0xa4], 2
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x90], 0xf
mov dword [esp + 0x8c], 0
mov byte [esp + 0x7c], 0
mov byte [esp + 0xa4], 3
lea edx, [esp + 0x34]
push 0
lea ecx, [esp + 0x20]
call fcn.004b1890
add esp, 4
mov byte [esp + 0xa4], 4
lea ecx, [esp + 0x64]
push eax
call fcn.0040df80
mov byte [esp + 0xa4], 3
lea ecx, [esp + 0x1c]
call fcn.00403a00
push 0
lea edx, [esp + 0x50]
lea ecx, [esp + 0x20]
call fcn.004b1890
add esp, 4
mov byte [esp + 0xa4], 5
lea ecx, [esp + 0x7c]
push eax
call fcn.0040df80
mov byte [esp + 0xa4], 3
lea ecx, [esp + 0x1c]
call fcn.00403a00
cmp dword [esp + 0x90], 0x10
lea ecx, [esp + 0x7c]
lea eax, [esp + 0x64]
cmovae ecx, dword [esp + 0x7c]
cmp dword [esp + 0x78], 0x10
push ecx
cmovae eax, dword [esp + 0x68]
push eax
call fcn.004160f0
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, 0xa
lea ecx, [esp + 0x34]
dec esi
call fcn.004bbf20
test al, al
jne 0x41641e
push 0x1f4
call edi
test esi, esi
jne 0x416405
mov byte [esp + 0xa4], 2
lea ecx, [esp + 0x7c]
call fcn.00403a00
mov byte [esp + 0xa4], 1
lea ecx, [esp + 0x64]
call fcn.00403a00
jmp 0x416446
mov ebx, dword [esp + 0x18]
push ebx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov byte [esp + 0xa4], 0
cmp dword [esp + 0x60], 8
jb 0x416468
push dword [esp + 0x4c]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], 0
mov word [esp + 0x4c], ax
mov dword [esp + 0xa4], 0xffffffff
cmp dword [esp + 0x48], 8
jb 0x41649d
push dword [esp + 0x34]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], 0
mov word [esp + 0x34], ax
mov ecx, dword [esp + 0x9c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.00564de8
add esp, 0x94
ret 4