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

Disassembly:
push 0xffffffffffffffff
push 0x449d53
mov eax, dword fs:[0]
push eax
sub esp, 0x88
push ebx
push ebp
push esi
push edi
mov eax, dword [0x463fcc]
xor eax, esp
push eax
lea eax, [esp + 0x9c]
mov dword fs:[0], eax
mov ebp, ecx
xor edi, edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0xa4], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov eax, dword [ebp + 0x24]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push edi
push edi
push 0x1009
push eax
mov byte [esp + 0xb4], 1
call ebx
mov eax, dword [ebp + 0x2c]
sub eax, 0x10
push eax
call fcn.00401ef0
add eax, 0x10
mov dword [esp + 0x30], eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x38]
push edx
push eax
mov byte [esp + 0xb4], 2
call fcn.004236d0
add esp, 0x10
xor esi, esi
jmp 0x407600
mov ecx, dword [esp + 0x18]
cmp ecx, edi
je 0x407790
mov eax, dword [esp + 0x1c]
sub eax, ecx
sar eax, 2
cmp esi, eax
jae 0x407790
mov edi, dword [ecx + esi*4]
push 0x30
lea eax, [esp + 0x4c]
push 0
push eax
call fcn.0042f5a0
mov edx, dword [ebp + 0x24]
add esp, 0xc
lea ecx, [esp + 0x44]
push ecx
push 0
push 0x104d
push edx
mov dword [esp + 0x54], 1
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], 0
mov dword [esp + 0x68], edi
call ebx
mov eax, dword [esp + 0x18]
test eax, eax
je 0x407670
mov ecx, dword [esp + 0x1c]
sub ecx, eax
sar ecx, 2
cmp esi, ecx
jb 0x407679
call fcn.0042f8d2
mov eax, dword [esp + 0x18]
lea eax, [eax + esi*4]
push eax
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x48]
push ecx
call fcn.00405510
mov eax, dword [eax]
add esp, 0xc
lea edx, [esp + 0x78]
push edx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4076bf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [0x465aac]
mov eax, dword [edx + 0xc]
mov ecx, 0x465aac
call eax
add eax, 0x10
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x98]
push ecx
lea edx, [esp + 0x2c]
push 0x44e9cc
push edx
mov byte [esp + 0xb0], 3
call fcn.00407180
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x34]
push ecx
call fcn.00422d60
mov edi, dword [eax]
push 0x30
lea edx, [esp + 0x60]
push 0
push edx
call fcn.0042f5a0
mov ecx, dword [ebp + 0x24]
mov eax, 1
add esp, 0x20
mov dword [esp + 0x44], eax
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x44]
push eax
push 0
push 0x104c
push ecx
mov dword [esp + 0x58], esi
mov dword [esp + 0x68], edi
call ebx
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40775e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0xa4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407786
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esi, 1
xor edi, edi
jmp 0x407600
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov byte [esp + 0xa4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4077b8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
cmp eax, edi
mov byte [esp + 0xa4], 0
je 0x4077ea
mov ecx, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x18]
push edx
push ecx
push eax
call fcn.00406f30
mov edx, dword [esp + 0x28]
push edx
call fcn.0042e264
add esp, 0x14
mov eax, dword [esp + 0x34]
cmp eax, edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0xa4], 0xffffffff
je 0x40782b
mov ecx, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x3c]
lea edx, [esp + 0x34]
push edx
push ecx
push eax
call fcn.00406f30
mov edx, dword [esp + 0x44]
push edx
call fcn.0042e264
add esp, 0x14
mov ecx, dword [esp + 0x9c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x94
ret