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

Disassembly:
push 0xffffffffffffffff
push 0x44cad8
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x466720]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x466720]
xor eax, esp
push eax
lea eax, [esp + 0x84]
mov dword fs:[0], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0x38], eax
mov eax, dword [eax + 8]
mov eax, dword [eax + 4]
mov ecx, dword [eax + 4]
mov ecx, dword [ecx]
mov edi, eax
mov ebp, ecx
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], ebp
jmp 0x40c678
mov edi, dword [esp + 0x28]
mov ebp, dword [esp + 0x2c]
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 4]
mov esi, dword [eax + 4]
xor ebx, ebx
cmp edi, ebx
je 0x40c68f
cmp edi, eax
je 0x40c694
call fcn.00430050
cmp ebp, esi
je 0x40ca5b
cmp edi, ebx
jne 0x40c6a5
call fcn.00430050
cmp ebp, dword [edi + 4]
jne 0x40c6af
call fcn.00430050
push 0xffffffffffffffff
lea eax, [ebp + 0xc]
push ebx
lea ecx, [esp + 0x68]
mov dword [esp + 0x80], 7
mov dword [esp + 0x7c], ebx
mov word [esp + 0x6c], bx
call fcn.004010f0
mov dword [esp + 0x8c], ebx
cmp ebp, dword [edi + 4]
jne 0x40c6e3
call fcn.00430050
lea eax, [ebp + 0x28]
cmp eax, ebx
jne 0x40c712
mov dword [esp + 0x8c], 0xffffffff
cmp dword [esp + 0x78], 8
jb 0x40c678
mov eax, dword [esp + 0x64]
push eax
call fcn.0040f819
add esp, 4
jmp 0x40c678
mov esi, dword [eax]
cmp esi, ebx
mov dword [esp + 0x3c], esi
jne 0x40c744
mov dword [esp + 0x8c], 0xffffffff
cmp dword [esp + 0x78], 8
jb 0x40c678
mov ecx, dword [esp + 0x64]
push ecx
call fcn.0040f819
add esp, 4
jmp 0x40c678
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
mov ecx, dword [ecx]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x20]
test ecx, ecx
mov eax, dword [esi + 4]
mov ebx, dword [eax + 4]
je 0x40c766
cmp ecx, eax
je 0x40c76b
call fcn.00430050
cmp dword [esp + 0x24], ebx
je 0x40c9f1
cmp dword [esp + 0x20], 0
jne 0x40c781
call fcn.00430050
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
cmp edx, dword [eax + 4]
jne 0x40c793
call fcn.00430050
mov eax, dword [esp + 0x24]
add eax, 0x28
je 0x40c754
mov ebx, dword [eax]
test ebx, ebx
mov dword [esp + 0x30], ebx
je 0x40c754
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 4]
mov ecx, dword [ecx]
mov edi, eax
mov ebp, ecx
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], ebp
jmp 0x40c7c4
mov ebp, dword [esp + 0x1c]
test edi, edi
mov eax, dword [ebx + 4]
mov esi, dword [eax + 4]
je 0x40c7d2
cmp edi, eax
je 0x40c7d7
call fcn.00430050
cmp ebp, esi
je 0x40c999
test edi, edi
jne 0x40c7e8
call fcn.00430050
cmp ebp, dword [edi + 4]
jne 0x40c7f2
call fcn.00430050
lea eax, [ebp + 0x28]
test eax, eax
je 0x40c7c4
mov ebp, dword [eax]
test ebp, ebp
mov dword [esp + 0x34], ebp
je 0x40c7c0
mov eax, dword [ebp + 4]
mov edx, dword [eax + 4]
mov esi, dword [edx]
mov ebx, eax
lea ecx, [ecx]
test ebx, ebx
mov eax, dword [ebp + 4]
mov edi, dword [eax + 4]
je 0x40c81e
cmp ebx, eax
je 0x40c823
call fcn.00430050
cmp esi, edi
je 0x40c8f6
test ebx, ebx
jne 0x40c834
call fcn.00430050
cmp esi, dword [ebx + 4]
jne 0x40c83e
call fcn.00430050
lea eax, [esi + 0x28]
test eax, eax
je 0x40c810
mov edi, dword [eax]
test edi, edi
je 0x40c810
mov eax, dword [edi]
xor ebp, ebp
cmp eax, ebp
je 0x40c85c
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [edi], ebp
cmp dword [edi + 0x48], ebp
je 0x40c873
mov ecx, dword [edi + 4]
cmp ecx, ebp
je 0x40c873
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov dword [edi + 4], ebp
mov eax, dword [edi + 8]
cmp eax, ebp
je 0x40c884
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [edi + 8], ebp
push edi
call fcn.0040f819
add esp, 4
cmp byte [esi + 0x2d], 0
mov ebp, esi
je 0x40c89c
call fcn.00430050
jmp 0x40c8d7
mov eax, dword [esi + 8]
cmp byte [eax + 0x2d], 0
jne 0x40c8bc
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0x2d], 0
jne 0x40c8d7
nop
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0x2d], 0
je 0x40c8b0
jmp 0x40c8d7
mov eax, dword [esi + 4]
cmp byte [eax + 0x2d], 0
jne 0x40c8d5
cmp esi, dword [eax + 8]
jne 0x40c8d5
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x2d], 0
je 0x40c8c5
mov esi, eax
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx + 4]
push ebp
push ebx
lea eax, [esp + 0x48]
push eax
push edx
mov edi, ebx
call fcn.0040ca80
mov ebp, dword [esp + 0x34]
jmp 0x40c810
mov ebx, ebp
call fcn.0040e6b0
push ebp
call fcn.0040f819
mov ebp, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
mov edi, ebp
add esp, 4
cmp byte [edi + 0x2d], 0
je 0x40c91d
call fcn.00430050
jmp 0x40c96e
mov ecx, dword [edi + 8]
cmp byte [ecx + 0x2d], 0
jne 0x40c940
mov eax, dword [ecx]
cmp byte [eax + 0x2d], 0
jne 0x40c93a
mov edi, edi
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0x2d], 0
je 0x40c930
mov dword [esp + 0x1c], ecx
jmp 0x40c96a
mov eax, dword [edi + 4]
cmp byte [eax + 0x2d], 0
jne 0x40c966
jmp 0x40c954
mov edi, dword [esp + 0x1c]
cmp edi, dword [eax + 8]
jne 0x40c966
mov dword [esp + 0x1c], eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x2d], 0
je 0x40c950
mov dword [esp + 0x1c], eax
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx + 4]
mov esi, dword [esp + 0x18]
push ebp
push ebx
lea eax, [esp + 0x60]
push eax
push edx
call fcn.0040ca80
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], esi
mov edi, esi
jmp 0x40c7c0
call fcn.0040e580
mov eax, dword [esp + 0x30]
push eax
call fcn.0040f819
mov edi, dword [esp + 0x24]
mov ebx, dword [esp + 0x28]
add esp, 4
lea esi, [esp + 0x20]
call fcn.0040ce00
mov edx, dword [esp + 0x3c]
mov eax, dword [edx + 4]
mov esi, dword [esp + 0x20]
mov ebp, dword [esp + 0x24]
push ebx
push edi
lea ecx, [esp + 0x50]
push ecx
push eax
call fcn.0040ca80
mov edi, dword [esp + 0x28]
mov dword [esp + 0x20], esi
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x24], ebp
mov ebp, dword [esp + 0x2c]
jmp 0x40c754
mov ebx, esi
call fcn.0040e460
push esi
call fcn.0040f819
add esp, 4
lea esi, [esp + 0x28]
mov ebx, ebp
call fcn.0040ce00
mov edx, dword [esp + 0x38]
mov eax, dword [edx + 8]
mov esi, dword [esp + 0x28]
mov ebp, dword [esp + 0x2c]
push ebx
push edi
lea ecx, [esp + 0x58]
push ecx
mov ecx, dword [eax + 4]
push ecx
call fcn.0040ca80
mov dword [esp + 0x8c], 0xffffffff
cmp dword [esp + 0x78], 8
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], ebp
jb 0x40c670
mov edx, dword [esp + 0x64]
push edx
call fcn.0040f819
add esp, 4
jmp 0x40c670
mov ecx, dword [esp + 0x84]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.0042f8e0
add esp, 0x7c
ret 4