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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5a17fa
mov eax, dword fs:[0]
push eax
sub esp, 0x588
mov eax, dword [0x621810]
xor eax, esp
mov dword [esp + 0x580], eax
push ebx
push esi
push edi
mov eax, dword [0x621810]
xor eax, esp
push eax
lea eax, [esp + 0x598]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov ecx, dword [ebx + 0x68]
mov dl, byte [ecx]
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x10], eax
test dl, dl
je 0x45e43f
mov dword [ebx + 0x6c], 0x7e1
jmp 0x45ece9
mov esi, dword [ebp + 0xc]
xor eax, eax
mov edx, 0x15
mov word [esp + 0x24], dx
lea edx, [esp + 0x38]
push edx
mov dword [esp + 0x1a], eax
mov dword [esp + 0x1e], eax
mov dword [esp + 0x22], eax
mov word [esp + 0x26], ax
mov dword [esp + 0x42], eax
mov dword [esp + 0x46], eax
mov dword [esp + 0x4a], eax
mov word [esp + 0x4e], ax
mov dword [esp + 0x2a], eax
mov dword [esp + 0x2e], eax
mov dword [esp + 0x32], eax
mov word [esp + 0x36], ax
lea edx, [esp + 0x7c]
push edx
mov eax, 8
mov word [esp + 0x1c], ax
mov eax, dword [ebx + 0x4c]
lea edx, [esp + 0x78]
push edx
mov ecx, 0xb
mov word [esp + 0x48], cx
mov ecx, dword [eax]
push esi
push eax
mov eax, dword [ecx + 0x28]
xor edi, edi
call eax
mov eax, dword [ebx + 0x4c]
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push 3
push esi
push eax
mov eax, dword [ecx + 0x18]
call eax
mov eax, dword [ebx + 0x4c]
mov ecx, dword [eax]
lea edx, [esp + 0x3c]
push edx
push 6
push esi
push eax
mov eax, dword [ecx + 0x18]
call eax
mov eax, dword [ebx + 0x4c]
mov ecx, dword [eax]
lea edx, [esp + 0x24]
push edx
push 7
push esi
push eax
mov eax, dword [ecx + 0x18]
call eax
lea eax, [ebx + 0x14]
mov esi, 8
cmp dword [eax + 0x14], esi
jb 0x45e4fa
mov eax, dword [eax]
lea edx, [esp + 0x384]
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
cmp cx, di
jne 0x45e503
cmp word [esp + 0x14], si
jne 0x45e52c
mov ecx, dword [esp + 0x1c]
push ecx
lea edx, [esp + 0x388]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [esp + 0x384]
xor eax, eax
push ecx
mov dword [esp + 0xf4], 7
mov dword [esp + 0xf0], edi
mov word [esp + 0xe0], ax
call fcn.0048c5ca
add esp, 4
lea ecx, [esp + 0x384]
lea esi, [esp + 0xdc]
call fcn.00401834
mov dword [esp + 0x5a0], edi
cmp byte [ebx + 0x74], 0
jne 0x45e72f
cmp word [esp + 0x44], di
jne 0x45ec51
push 0x38
call fcn.0048bf08
add esp, 4
cmp eax, edi
je 0x45e5b2
mov dword [eax + 4], edi
mov dword [eax], vtable.COutFileStream.0
xor edx, edx
mov dword [eax + 0x1c], 7
mov dword [eax + 0x18], edi
mov word [eax + 8], dx
mov esi, eax
jmp 0x45e5b4
xor esi, esi
mov dword [esp + 0x74], esi
cmp esi, edi
je 0x45e5c4
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push esi
call ecx
mov byte [esp + 0x5a0], 1
lea eax, [ebx + 0xc]
mov dword [esi + 0x34], eax
mov eax, dword [esp + 0x2c]
call fcn.0045e060
test al, al
je 0x45e704
mov edx, dword [esp + 0x1c]
push edx
lea eax, [esp + 0x16c]
call fcn.004018af
push eax
lea edi, [esp + 0xb0]
mov byte [esp + 0x5a4], 2
call fcn.00455e40
mov eax, edi
mov byte [esp + 0x5a0], 3
mov ecx, dword [ebx + 0x70]
push eax
mov edx, str.files
call fcn.00455200
mov ecx, eax
call fcn.00455760
mov ecx, edi
mov byte [esp + 0x5a0], 2
call fcn.00455b60
cmp dword [esp + 0x17c], 8
jb 0x45e651
mov ecx, dword [esp + 0x168]
push ecx
call fcn.0048bcc1
add esp, 4
mov edx, dword [esp + 0x2c]
mov edi, 1
mov dword [esp + 0x5c], edi
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], 0
lea eax, [esp + 0x5c]
mov byte [esp + 0x5a0], 4
mov ecx, dword [ebx + 0x70]
push eax
mov edx, str.sizes
call fcn.00455200
mov ecx, eax
call fcn.00455760
lea ecx, [esp + 0x5c]
mov byte [esp + 0x5a0], 1
call fcn.00455b60
mov eax, dword [esi + 0x24]
mov dword [esp + 0x4c], edi
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], 0
lea ecx, [esp + 0x4c]
mov byte [esp + 0x5a0], 5
push ecx
mov ecx, dword [ebx + 0x70]
mov edx, str.buffers
call fcn.00455200
mov ecx, eax
call fcn.00455760
lea ecx, [esp + 0x4c]
mov byte [esp + 0x5a0], 1
call fcn.00455b60
mov edx, dword [esi]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, dword [esp + 0x10]
mov byte [esp + 0x5a0], 0
mov dword [ecx], esi
mov edx, dword [esi]
mov eax, dword [edx + 8]
push esi
call eax
jmp 0x45ec51
mov byte [esp + 0x5a0], 0
mov ecx, dword [esi]
mov edx, dword [ecx + 8]
push esi
call edx
cmp dword [esp + 0xf0], 8
jb 0x45ece9
mov eax, dword [esp + 0xdc]
push eax
jmp 0x45ece1
cmp word [esp + 0x44], di
je 0x45e76f
lea ecx, [esp + 0xdc]
push ecx
call fcn.0044aa40
add esp, 4
test al, al
jne 0x45ec51
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 0x6c], eax
cmp eax, edi
jne 0x45e762
mov dword [ebx + 0x6c], 0x7e4
cmp dword [esp + 0xf0], 8
jmp 0x45ecd7
mov ecx, dword [ebx + 0x70]
cmp ecx, edi
je 0x45ea14
mov edx, str.reserved_file
call fcn.00455200
mov eax, dword [eax]
cmp eax, edi
je 0x45e793
cmp eax, 5
jne 0x45ea14
mov ecx, dword [ebx + 0x70]
mov edx, str.reserved_file
call fcn.00455200
mov edi, eax
xor esi, esi
call fcn.00454fc0
test eax, eax
je 0x45ea12
push esi
mov ecx, edi
call fcn.00455010
cmp dword [eax], 4
jne 0x45e7ef
cmp word [esp + 0x14], 8
jne 0x45e7ef
push esi
mov ecx, edi
call fcn.00455010
mov ecx, eax
call fcn.00455a30
cmp dword [eax + 0x14], 8
jb 0x45e7dd
mov eax, dword [eax]
mov ecx, dword [esp + 0x1c]
push ecx
push eax
call fcn.0049065b
add esp, 8
test eax, eax
je 0x45e800
mov eax, edi
inc esi
call fcn.00454fc0
cmp esi, eax
jb 0x45e7b1
jmp 0x45ea12
xor edx, edx
push 0x1fc
push edx
lea eax, [esp + 0x18e]
push eax
mov word [esp + 0x190], dx
call fcn.0048cf80
add esp, 0xc
lea ecx, [esp + 0x7c]
push ecx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
push 0
call fcn.0048c2f1
xor eax, dword [esp + 0x80]
add esp, 4
push eax
mov dword [esp + 0x8c], edx
call fcn.00493bf2
add esp, 4
call fcn.00493c04
push 0xa
push 0xff
lea edx, [esp + 0x18c]
push edx
push eax
call fcn.00494a91
add esp, 0x10
push 0x6007c8
lea eax, [esp + 0x134]
call fcn.004018af
lea eax, [esp + 0x184]
push eax
mov byte [esp + 0x5a4], 6
call fcn.0048c5ca
add esp, 4
lea ecx, [esp + 0x184]
mov edi, eax
push ecx
lea eax, [esp + 0x134]
call fcn.00401757
lea edx, [esp + 0xdc]
push edx
lea esi, [esp + 0x118]
call fcn.004024df
lea eax, [esp + 0x130]
push eax
lea ecx, [esp + 0xe0]
push ecx
lea edx, [esp + 0x100]
push edx
mov byte [esp + 0x5ac], 7
call fcn.0045fde0
add esp, 0xc
lea eax, [esp + 0xf8]
push eax
lea edi, [esp + 0xa0]
mov byte [esp + 0x5a4], 8
call fcn.00455e40
mov ecx, edi
mov byte [esp + 0x5a0], 9
push ecx
mov ecx, dword [ebx + 0x70]
mov edx, str.tmp_file
call fcn.00455200
mov ecx, eax
call fcn.00455760
mov ecx, edi
mov byte [esp + 0x5a0], 8
call fcn.00455b60
mov edx, esi
push edx
lea edi, [esp + 0x90]
call fcn.00455e40
mov eax, edi
mov byte [esp + 0x5a0], 0xa
push eax
mov ecx, dword [ebx + 0x70]
mov edx, str.real_file
call fcn.00455200
mov ecx, eax
call fcn.00455760
mov ecx, edi
mov byte [esp + 0x5a0], 8
call fcn.00455b60
push 0xffffffffffffffff
xor edi, edi
push edi
lea eax, [esp + 0x100]
lea ecx, [esp + 0xe4]
call fcn.00401b81
mov esi, 8
cmp dword [esp + 0x10c], esi
jb 0x45e9a1
mov ecx, dword [esp + 0xf8]
push ecx
call fcn.0048bcc1
add esp, 4
xor edx, edx
mov dword [esp + 0x10c], 7
mov dword [esp + 0x108], edi
mov word [esp + 0xf8], dx
cmp dword [esp + 0x128], esi
jb 0x45e9d6
mov eax, dword [esp + 0x114]
push eax
call fcn.0048bcc1
add esp, 4
xor ecx, ecx
mov byte [esp + 0x5a0], cl
mov dword [esp + 0x128], 7
mov dword [esp + 0x124], edi
mov word [esp + 0x114], cx
cmp dword [esp + 0x144], esi
jb 0x45ea12
mov edx, dword [esp + 0x130]
push edx
call fcn.0048bcc1
add esp, 4
xor edi, edi
push 0x38
call fcn.0048bf08
add esp, 4
cmp eax, edi
je 0x45ea3d
mov dword [eax + 4], edi
mov dword [eax], vtable.COutFileStream.0
mov dword [eax + 0x18], edi
xor ecx, ecx
mov dword [eax + 0x1c], 7
mov word [eax + 8], cx
mov edi, eax
mov dword [esp + 0x84], edi
test edi, edi
je 0x45ea50
mov edx, dword [edi]
mov eax, dword [edx + 4]
push edi
call eax
lea eax, [ebx + 0xc]
mov dword [edi + 0x34], eax
xor ecx, ecx
mov dword [esp + 0xd4], 7
mov dword [esp + 0xd0], 0
mov word [esp + 0xc0], cx
lea edx, [esp + 0xdc]
push edx
lea ecx, [esp + 0x150]
mov byte [esp + 0x5a4], 0xc
call fcn.0044b9b0
add esp, 4
mov esi, eax
lea eax, [esp + 0xc0]
cmp eax, esi
je 0x45eb36
cmp dword [esp + 0xd4], 8
jb 0x45eac0
mov ecx, dword [esp + 0xc0]
push ecx
call fcn.0048bcc1
add esp, 4
xor edx, edx
mov dword [esp + 0xd4], 7
mov dword [esp + 0xd0], 0
mov word [esp + 0xc0], dx
cmp dword [esi + 0x14], 8
jae 0x45eb00
mov eax, dword [esi + 0x10]
inc eax
add eax, eax
push eax
lea ecx, [esp + 0xc4]
push esi
push ecx
call fcn.0048bf90
add esp, 0xc
jmp 0x45eb0f
mov edx, dword [esi]
mov dword [esp + 0xc0], edx
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [esp + 0xd0], eax
mov ecx, dword [esi + 0x14]
mov dword [esp + 0xd4], ecx
xor edx, edx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], dx
mov byte [esp + 0x5a0], 0xc
cmp dword [esp + 0x160], 8
jb 0x45eb58
mov eax, dword [esp + 0x14c]
push eax
call fcn.0048bcc1
add esp, 4
lea ecx, [esp + 0xc0]
push ecx
call fcn.0044aa40
add esp, 4
test al, al
jne 0x45ebe7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 0x6c], eax
test eax, eax
jne 0x45eb80
mov dword [ebx + 0x6c], 0x7e4
mov esi, 8
cmp dword [esp + 0xd4], esi
jb 0x45eb9e
mov edx, dword [esp + 0xc0]
push edx
call fcn.0048bcc1
add esp, 4
xor eax, eax
mov byte [esp + 0x5a0], al
mov dword [esp + 0xd4], 7
mov dword [esp + 0xd0], 0
mov word [esp + 0xc0], ax
mov ecx, dword [edi]
mov edx, dword [ecx + 8]
push edi
call edx
cmp dword [esp + 0xf0], esi
jb 0x45ece9
mov eax, dword [esp + 0xdc]
push eax
jmp 0x45ece1
lea ecx, [esp + 0xdc]
push ecx
mov esi, edi
call fcn.0045e0b0
test al, al
je 0x45ec6f
mov edx, dword [edi]
mov eax, dword [edx + 4]
push edi
call eax
cmp dword [esp + 0xd4], 8
mov ecx, dword [esp + 0x10]
mov dword [ecx], edi
jb 0x45ec22
mov edx, dword [esp + 0xc0]
push edx
call fcn.0048bcc1
add esp, 4
xor eax, eax
mov byte [esp + 0x5a0], al
mov dword [esp + 0xd4], 7
mov dword [esp + 0xd0], 0
mov word [esp + 0xc0], ax
mov ecx, dword [edi]
mov edx, dword [ecx + 8]
push edi
call edx
cmp dword [esp + 0xf0], 8
jb 0x45ec6b
mov eax, dword [esp + 0xdc]
push eax
call fcn.0048bcc1
add esp, 4
xor eax, eax
jmp 0x45ecee
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 0x6c], eax
test eax, eax
jne 0x45ec83
mov dword [ebx + 0x6c], 0x7e3
mov esi, 8
cmp dword [esp + 0xd4], esi
jb 0x45eca1
mov ecx, dword [esp + 0xc0]
push ecx
call fcn.0048bcc1
add esp, 4
xor edx, edx
mov byte [esp + 0x5a0], dl
mov dword [esp + 0xd4], 7
mov dword [esp + 0xd0], 0
mov word [esp + 0xc0], dx
mov eax, dword [edi]
mov ecx, dword [eax + 8]
push edi
call ecx
cmp dword [esp + 0xf0], esi
jb 0x45ece9
mov edx, dword [esp + 0xdc]
push edx
call fcn.0048bcc1
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x598]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x580]
xor ecx, esp
call fcn.0048b951
mov esp, ebp
pop ebp
ret 0x10