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

Disassembly:
push 0xffffffffffffffff
push 0x446950
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4581b0]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov esi, ecx
mov ebp, dword [esp + 0x78]
mov eax, dword [ebp + 4]
xor ebx, ebx
cmp eax, ebx
je 0x419033
mov ecx, dword [ebp + 8]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x419033
mov ecx, dword [esi + 0x14]
cmp ecx, ebx
je 0x419033
xor eax, eax
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], 2
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov word [esp + 0x64], ax
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
lea eax, [ecx + ecx + 4]
lea ecx, [esp + 0x38]
mov dword [esp + 0x70], ebx
call fcn.00419fa0
cmp dword [esi + 0x18], 8
mov edi, dword [esi + 0x14]
jb 0x418d55
mov esi, dword [esi + 4]
jmp 0x418d58
add esi, 4
mov eax, dword [esp + 0x3c]
cmp eax, ebx
je 0x418d6a
mov ecx, dword [esp + 0x40]
sub ecx, eax
sar ecx, 1
jne 0x418d73
call fcn.004338e0
mov eax, dword [esp + 0x3c]
lea edx, [edi + edi]
push edx
push esi
push eax
call fcn.00435020
xor esi, esi
xor edi, edi
add esp, 0xc
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], esi
mov ecx, ebp
mov byte [esp + 0x70], 1
mov dword [esp + 0x14], esi
call fcn.0040c3d0
test eax, eax
jbe 0x418f05
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
jmp 0x418db9
mov ebp, dword [esp + 0x78]
mov eax, dword [ebp + 4]
test eax, eax
je 0x418dde
mov ecx, dword [ebp + 8]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x14], eax
jb 0x418de3
call fcn.004338e0
mov esi, dword [ebp + 4]
add esi, dword [esp + 0x18]
mov edx, dword [esi + 0x18]
cmp edx, 8
lea edi, [esi + 4]
jb 0x418df9
mov ecx, dword [edi]
jmp 0x418dfb
mov ecx, edi
mov eax, dword [esi + 0x14]
add eax, eax
lea ebp, [eax + ecx]
test ebp, ebp
je 0x418e27
cmp edx, 8
jb 0x418e10
mov ecx, dword [edi]
jmp 0x418e12
mov ecx, edi
cmp ecx, ebp
ja 0x418e27
cmp edx, 8
jb 0x418e1f
mov ecx, dword [edi]
jmp 0x418e21
mov ecx, edi
add eax, ecx
cmp ebp, eax
jbe 0x418e2c
call fcn.004338e0
mov ecx, dword [esi + 0x18]
cmp ecx, 8
jb 0x418e38
mov ebx, dword [edi]
jmp 0x418e3a
mov ebx, edi
test ebx, ebx
je 0x418e5e
cmp ecx, 8
jb 0x418e47
mov eax, dword [edi]
jmp 0x418e49
mov eax, edi
cmp eax, ebx
ja 0x418e5e
cmp ecx, 8
jb 0x418e54
mov edi, dword [edi]
mov eax, dword [esi + 0x14]
lea ecx, [edi + eax*2]
cmp ebx, ecx
jbe 0x418e63
call fcn.004338e0
mov edi, dword [esp + 0x30]
cmp dword [esp + 0x2c], edi
jbe 0x418e72
call fcn.004338e0
mov edx, dword [esp + 0x78]
push ebp
push esi
push ebx
push esi
push edi
lea eax, [esp + 0x3c]
push eax
push edx
mov ecx, eax
call fcn.0041b020
mov edx, dword [esp + 0x2c]
test edx, edx
mov esi, dword [esp + 0x30]
je 0x418eb6
mov ecx, dword [esp + 0x34]
mov eax, esi
sub eax, edx
sub ecx, edx
sar eax, 1
sar ecx, 1
cmp eax, ecx
jae 0x418eb6
mov eax, esi
add eax, 2
mov word [esi], 0
mov dword [esp + 0x30], eax
jmp 0x418ed8
cmp edx, esi
jbe 0x418ebf
call fcn.004338e0
push esi
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x2c]
push ecx
lea eax, [esp + 0x38]
call fcn.0041a2b0
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x78]
add dword [esp + 0x18], 0x1c
add esi, 1
mov dword [esp + 0x14], esi
call fcn.0040c3d0
cmp esi, eax
jb 0x418db5
mov esi, dword [esp + 0x34]
mov ebx, dword [esp + 0x2c]
mov edi, dword [esp + 0x30]
xor ebp, ebp
cmp ebx, ebp
mov dword [esp + 0x78], ebp
je 0x418f2b
mov eax, edi
sub eax, ebx
sub esi, ebx
sar eax, 1
sar esi, 1
cmp eax, esi
jae 0x418f2b
mov eax, edi
add eax, 2
mov word [edi], bp
mov dword [esp + 0x30], eax
jmp 0x418f56
cmp ebx, edi
mov esi, edi
jbe 0x418f36
call fcn.004338e0
push esi
lea eax, [esp + 0x2c]
push eax
lea edx, [esp + 0x80]
push edx
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x38]
call fcn.0041a2b0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
cmp ecx, ebp
je 0x418f64
sub eax, ecx
sar eax, 1
jne 0x418f6d
call fcn.004338e0
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x3c]
cmp eax, ebp
mov dword [esp + 0x50], ecx
je 0x418f83
mov ecx, dword [esp + 0x40]
sub ecx, eax
sar ecx, 1
jne 0x418f8c
call fcn.004338e0
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x7c]
cmp dword [eax + 0x14], ebp
je 0x418faf
cmp dword [eax + 0x18], 8
jb 0x418fa8
mov edx, dword [eax + 4]
mov dword [esp + 0x62], edx
jmp 0x418faf
add eax, 4
mov dword [esp + 0x62], eax
lea eax, [esp + 0x48]
push eax
mov word [esp + 0x5c], 0x414
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
mov eax, dword [esp + 0x2c]
jne 0x419009
cmp eax, ebp
je 0x418fd6
push eax
call fcn.00433114
add esp, 4
mov eax, dword [esp + 0x3c]
cmp eax, ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
je 0x418ff3
push eax
call fcn.00433114
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret
cmp eax, ebp
je 0x419016
push eax
call fcn.00433114
add esp, 4
mov eax, dword [esp + 0x3c]
cmp eax, ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
je 0x419033
push eax
call fcn.00433114
add esp, 4
xor al, al
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret