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

Disassembly:
push 0xffffffffffffffff
push 0x4891ba
mov eax, dword fs:[0]
push eax
sub esp, 0x10c
mov eax, dword [0x49e7c0]
xor eax, esp
mov dword [esp + 0x108], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x49e7c0]
xor eax, esp
push eax
lea eax, [esp + 0x120]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x14], edi
xor ebx, ebx
test byte [esp + 0x14c], 0x10
mov dword [esp + 0x128], ebx
mov dword [esp + 0x20], 1
je 0x452c7a
mov eax, dword [esp + 0x134]
mov edi, 8
cmp dword [esp + 0x148], edi
jae 0x45291c
lea eax, [esp + 0x134]
push ebx
push ebx
push ebx
push 2
push eax
lea ecx, [esp + 0x90]
call fcn.00411df0
lea eax, [esp + 0x7c]
push eax
mov byte [esp + 0x12c], 1
call fcn.00408160
add esp, 4
test eax, eax
je 0x452950
mov dword [esp + 0x20], ebx
jmp 0x452ad5
xor ebp, ebp
mov dword [esp + 0x18], ebx
jmp 0x452960
mov edi, dword [esp + 0xac]
cmp edi, ebx
mov esi, dword [esp + 0xb0]
jne 0x452976
xor eax, eax
jmp 0x45298b
mov ecx, esi
sub ecx, edi
mov eax, 0x2e8ba2e9
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jge 0x4529ea
cmp edi, ebx
je 0x4529aa
sub esi, edi
mov eax, 0x2e8ba2e9
imul esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x4529b6
call fcn.0047770d
mov edi, dword [esp + 0xac]
mov ecx, dword [esp + 0x18]
sub esp, 0x58
lea eax, [edi + ecx]
mov ecx, esp
mov dword [esp + 0x74], esp
push eax
call fcn.00402790
mov ecx, dword [esp + 0x6c]
call fcn.004528a0
cmp eax, ebx
je 0x4529dd
mov dword [esp + 0x20], ebx
add ebp, 1
add dword [esp + 0x18], 0x58
jmp 0x452960
cmp dword [esp + 0x20], 1
jne 0x452ad0
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov edx, dword [esp + 0x144]
push ebx
add edx, 1
push edx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x130], 2
call fcn.00450f60
cmp dword [esp + 0x148], 8
mov esi, dword [esp + 0x134]
jae 0x452a36
lea esi, [esp + 0x134]
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x452a48
mov ecx, dword [esp + 0x2c]
sub ecx, eax
sar ecx, 1
jne 0x452a51
call fcn.0047770d
mov eax, dword [esp + 0x28]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x28]
mov dword [esp + 0x1c], ebx
call fcn.004517d0
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 8]
mov eax, dword [esp + 0x28]
cmp eax, ebx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], 3
je 0x452a90
mov edx, dword [esp + 0x2c]
sub edx, eax
sar edx, 1
jne 0x452a99
call fcn.0047770d
mov eax, dword [esp + 0x28]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x40]
push eax
mov dword [esp + 0x50], ebx
mov word [esp + 0x54], 0x50
mov dword [esp + 0x56], ebx
mov dword [esp + 0x5a], ebx
mov dword [esp + 0x5e], ebx
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x452ad0
push eax
call fcn.004775de
add esp, 4
mov edi, 8
lea ecx, [esp + 0x7c]
mov byte [esp + 0x128], bl
call fcn.00411ee0
cmp dword [esp + 0x20], ebx
jne 0x452d56
mov ebp, 7
mov dword [esp + 0x78], ebp
mov dword [esp + 0x74], ebx
mov word [esp + 0x64], bx
lea ecx, [esp + 0x60]
push ecx
push 0x198
mov byte [esp + 0x130], 4
call fcn.00442450
mov dword [esp + 0x44], ebp
mov dword [esp + 0x40], ebx
mov word [esp + 0x30], bx
mov dword [esp + 0x60], ebp
mov dword [esp + 0x5c], ebx
mov word [esp + 0x4c], bx
lea edx, [esp + 0x48]
push edx
push 0x1aa
mov byte [esp + 0x138], 6
call fcn.00442450
add esp, 0x10
push 1
push 0x48b6f4
lea ecx, [esp + 0x2c]
call fcn.004020e0
mov ecx, dword [esp + 0x148]
cmp ecx, edi
mov eax, dword [esp + 0x134]
mov esi, eax
jae 0x452b79
lea esi, [esp + 0x134]
mov eax, esi
push eax
call fcn.00442030
lea edx, [esi + eax*2]
mov eax, edx
add esp, 4
lea esi, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x452b90
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x2c]
call fcn.004020e0
push 3
push 0x48b6ec
lea ecx, [esp + 0x2c]
call fcn.004020e0
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x30]
call fcn.00401fd0
cmp dword [esp + 0x78], edi
mov ecx, dword [esp + 0x64]
jae 0x452bd9
lea ecx, [esp + 0x64]
cmp dword [esp + 0x3c], edi
mov eax, dword [esp + 0x28]
jae 0x452be7
lea eax, [esp + 0x28]
push 0x10
push ecx
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx + 8]
push eax
push edx
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp dword [esp + 0x58], edi
jb 0x452c0c
mov eax, dword [esp + 0x44]
push eax
call fcn.004775de
add esp, 4
cmp dword [esp + 0x3c], edi
mov dword [esp + 0x58], ebp
mov dword [esp + 0x54], ebx
mov word [esp + 0x44], bx
jb 0x452c2c
mov ecx, dword [esp + 0x28]
push ecx
call fcn.004775de
add esp, 4
cmp dword [esp + 0x78], edi
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], ebx
mov word [esp + 0x28], bx
jb 0x452c4c
mov edx, dword [esp + 0x64]
push edx
call fcn.004775de
add esp, 4
cmp dword [esp + 0x148], edi
mov dword [esp + 0x78], ebp
mov dword [esp + 0x74], ebx
mov word [esp + 0x64], bx
jb 0x452c72
mov eax, dword [esp + 0x134]
push eax
call fcn.004775de
add esp, 4
or eax, 0xffffffff
jmp 0x452d71
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov ecx, dword [esp + 0x144]
add ecx, 1
push ebx
push ecx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x130], 3
call fcn.00450f60
cmp dword [esp + 0x148], 8
mov esi, dword [esp + 0x134]
jae 0x452cbb
lea esi, [esp + 0x134]
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x452ccd
mov edx, dword [esp + 0x2c]
sub edx, eax
sar edx, 1
jne 0x452cd6
call fcn.0047770d
mov eax, dword [esp + 0x28]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x18], ebx
call fcn.004517d0
mov eax, dword [esp + 0x28]
cmp eax, ebx
mov ecx, dword [edi + 8]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], 3
je 0x452d11
mov edx, dword [esp + 0x2c]
sub edx, eax
sar edx, 1
jne 0x452d1a
call fcn.0047770d
mov eax, dword [esp + 0x28]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x40]
push eax
mov dword [esp + 0x50], ebx
mov word [esp + 0x54], 0x50
mov dword [esp + 0x56], ebx
mov dword [esp + 0x5a], ebx
mov dword [esp + 0x5e], ebx
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x452d51
push eax
call fcn.004775de
add esp, 4
mov edi, 8
cmp dword [esp + 0x148], edi
jb 0x452d6f
mov ecx, dword [esp + 0x134]
push ecx
call fcn.004775de
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x120]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x108]
xor ecx, esp
call fcn.004777ea
add esp, 0x118
ret 0x58