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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2ec
mov eax, dword [0x4e52f4]
xor eax, esp
mov dword [esp + 0x2e8], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov dword [esp + 0x74], eax
lea eax, [esp + 0x44]
mov esi, ecx
mov edi, edx
push eax
mov dword [esp + 0x24], esi
mov dword [esp + 0x44], edi
call fcn.00403dfc
mov edi, dword [edi + 4]
xor ebx, ebx
cmp edi, ebx
mov dword [esp + 0x70], edi
jle 0x4535b1
lea eax, [esp + 0x44]
push eax
mov eax, esi
call fcn.004534c6
cmp eax, ebx
je 0x4535b1
mov esi, eax
lea ecx, [esp + 0x44]
call fcn.00403d84
mov eax, esi
jmp 0x453cda
lea eax, [esp + 0x34]
push eax
call fcn.00403dfc
lea eax, [esp + 0x2c]
push eax
call fcn.00403dfc
cmp byte [ebp + 0x10], bl
jne 0x45362d
lea eax, [esp + 0x30]
add esi, 0x50
push eax
call fcn.004456a0
pop ecx
lea edi, [esp + 0x34]
call fcn.004085dd
lea ecx, [esp + 0x30]
call fcn.00403d84
mov eax, edi
call fcn.004452a0
mov eax, dword [esp + 0x20]
add eax, 0x58
lea edi, [esp + 0x2c]
call fcn.004085dd
mov eax, edi
call fcn.004452a0
mov ecx, dword [esp + 0x20]
lea esi, [esp + 0x30]
call fcn.00453cf1
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
mov eax, edi
call fcn.00434240
mov ecx, esi
call fcn.00403d84
mov esi, dword [esp + 0x20]
lea eax, [esp + 0x54]
push eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
call fcn.00403dfc
cmp dword [esp + 0x70], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x28], ebx
jle 0x453a19
push 0x258
call fcn.00489f6f
mov edi, eax
pop ecx
cmp edi, ebx
je 0x4536d1
or dword [edi], 0xffffffff
mov byte [edi + 8], 1
xor eax, eax
mov word [edi + 0x28], ax
mov dword [edi + 0x10], ebx
mov dword [edi + 0x18], ebx
mov dword [edi + 0x1c], ebx
mov dword [edi + 0x20], ebx
mov dword [edi + 0x24], ebx
mov dword [edi + 0x230], ebx
mov dword [edi + 0x234], ebx
mov dword [edi + 0x238], ebx
lea eax, [edi + 0x240]
mov dword [eax], ebx
mov dword [eax + 4], ebx
lea eax, [edi + 0x250]
push eax
mov dword [edi + 0x248], ebx
mov dword [edi + 0x24c], ebx
call fcn.00403dfc
mov dword [esp + 0x1c], edi
jmp 0x4536d5
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x14], eax
jne 0x45372d
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x1c]
cmp edx, ecx
jb 0x4536fa
lea edx, [ecx + eax*4]
lea edi, [esp + 0x1c]
cmp edi, edx
jb 0x453b1a
cmp eax, ebx
jne 0x453703
xor edi, edi
inc edi
jmp 0x453715
mov edi, dword [esp + 0x14]
add edi, edi
cmp edi, ebx
jl 0x453746
cmp edi, 0x1fffffff
ja 0x453746
push 4
push edi
push ecx
call fcn.0048a2ca
add esp, 0xc
cmp eax, ebx
je 0x453746
mov dword [esp + 0x18], edi
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
lea eax, [eax + ecx*4]
cmp eax, ebx
je 0x453742
mov ecx, dword [esp + 0x1c]
mov dword [eax], ecx
inc dword [esp + 0x14]
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x10]
call fcn.00453edc
cmp dword [0x4e8918], ebx
mov edi, dword [eax]
lea eax, [edi + 0x10]
mov dword [esp + 0x30], eax
mov al, byte [ebp + 0x10]
mov dword [esp + 0x38], edi
mov byte [edi + 8], al
jg 0x45377f
lea eax, [esp + 0x44]
call fcn.00460b40
cmp al, bl
je 0x453b24
lea eax, [esp + 0x24]
push eax
call fcn.00403dfc
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x40]
call fcn.00453edc
mov eax, dword [eax]
cmp byte [ebp + 0x10], bl
je 0x453860
mov ecx, dword [esp + 0x40]
mov dword [edi], eax
mov eax, dword [esp + 0x28]
call fcn.00453edc
mov eax, dword [eax]
lea ecx, [esi + 0x60]
call fcn.00453e26
mov ecx, dword [eax]
mov dword [esp + 0x64], eax
mov dword [edi + 4], ecx
mov ecx, dword [eax + 4]
add eax, 0x18
push eax
lea eax, [esp + 0x70]
lea ebx, [esi + 0x58]
push eax
mov dword [esp + 0x24], ecx
call fcn.0044db20
cmp dword [esp + 0x24], 9
pop ecx
pop ecx
je 0x4537eb
cmp dword [esp + 0x1c], 0xa
jne 0x4537fa
add edi, 0x250
lea eax, [esp + 0x6c]
call fcn.004085dd
lea eax, [esp + 0x78]
push eax
lea esi, [esp + 0x70]
call fcn.004456a0
pop ecx
lea edi, [esp + 0x24]
call fcn.004085dd
lea ecx, [esp + 0x78]
call fcn.00403d84
mov esi, dword [esp + 0x20]
mov eax, edi
mov edi, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x68]
push 0
push dword [eax + 0xc]
push 0
push dword [eax + 0x10]
lea eax, [esi + 0x50]
call fcn.00460bbc
mov edi, eax
lea eax, [esi + 0x9c]
push eax
push 1
lea ecx, [esp + 0x2c]
call fcn.00446c10
pop ecx
pop ecx
lea ecx, [esp + 0x6c]
call fcn.00403d84
jmp 0x4539b2
lea ebx, [esi + 0x84]
mov ecx, ebx
mov dword [esp + 0x64], ebx
call fcn.00453ebb
mov eax, dword [eax + 4]
mov dword [esp + 0x1c], eax
cmp eax, 9
je 0x453882
cmp eax, 0xa
jne 0x4538bc
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x40]
call fcn.00453edc
mov eax, dword [eax]
mov ecx, ebx
call fcn.00453ebb
push eax
lea eax, [esp + 0x40]
lea ebx, [esi + 0x58]
push eax
call fcn.0044db20
pop ecx
pop ecx
add edi, 0x250
call fcn.004085dd
lea ecx, [esp + 0x3c]
call fcn.00403d84
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x40]
call fcn.00453edc
mov eax, dword [eax]
mov ecx, dword [esp + 0x64]
call fcn.00453ebb
push eax
lea eax, [esp + 0x6c]
push eax
lea ebx, [esp + 0x3c]
call fcn.0044db20
xor esi, esi
push 0x24c
lea eax, [esp + 0xb0]
push esi
push eax
mov dword [esp + 0xb4], esi
call fcn.0048a3e0
add esp, 0x14
lea eax, [esp + 0xa0]
push eax
push dword [esp + 0x6c]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
push 1
push esi
push esi
push dword [esp + 0xc8]
mov dword [esp + 0xa8], eax
call fcn.004912b0
mov esi, eax
mov eax, dword [esp + 0xc0]
xor ecx, ecx
add esi, eax
mov ebx, edx
adc ebx, ecx
cmp dword [esp + 0x1c], 6
je 0x45394a
cmp dword [esp + 0x1c], 7
jne 0x453950
lea eax, [esp + 0x2c]
jmp 0x453957
mov eax, dword [esp + 0x20]
add eax, 0x58
lea edi, [esp + 0x24]
call fcn.004085dd
mov eax, edi
mov edi, dword [esp + 0x30]
push eax
push ebx
push esi
xor esi, esi
push esi
push esi
lea eax, [esp + 0x7c]
call fcn.00460bbc
mov edi, eax
mov eax, dword [esp + 0x20]
add eax, 0x9c
push eax
push 1
lea ecx, [esp + 0x2c]
call fcn.00446c10
pop ecx
pop ecx
cmp dword [esp + 0x98], esi
je 0x4539a5
push dword [esp + 0x98]
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0x68]
call fcn.00403d84
mov esi, dword [esp + 0x20]
xor ebx, ebx
cmp edi, ebx
jne 0x453bc0
cmp byte [esi + 0x7c], bl
je 0x4539d5
cmp dword [esp + 0x1c], 6
jne 0x4539d5
lea ebx, [esp + 0x24]
lea esi, [esp + 0x48]
call fcn.00444960
mov eax, dword [esp + 0x74]
cmp dword [eax], 0
je 0x4539f8
push dword [esp + 0x30]
call dword [0x4e8920]
mov ecx, dword [esp + 0x38]
mov dword [ecx + 0x248], eax
mov dword [ecx + 0x24c], edx
lea ecx, [esp + 0x24]
call fcn.00403d84
inc dword [esp + 0x28]
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x20]
xor ebx, ebx
cmp eax, dword [esp + 0x70]
jl 0x453669
mov eax, dword [ebp + 8]
mov dword [esp + 0x80], eax
mov dword [esp + 0x7c], esi
lea eax, [esp + 0x10]
mov dword [esp + 0x88], esi
mov esi, dword [esp + 0x74]
mov dword [esp + 0x84], eax
mov eax, esi
lea ecx, [esp + 0x7c]
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], ebx
call fcn.0046141c
mov dword [esp + 0x3c], eax
cmp eax, ebx
je 0x453c0e
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x90], ebx
je 0x453a81
push dword [esp + 0x90]
call esi
mov dword [esp + 0x90], ebx
cmp dword [esp + 0x5c], ebx
je 0x453a91
push dword [esp + 0x5c]
call esi
mov dword [esp + 0x5c], ebx
lea ecx, [esp + 0x54]
call fcn.00403d84
lea esi, [esp + 0x48]
call fcn.00435371
mov eax, dword [esp + 0x14]
xor edi, edi
cmp eax, ebx
mov dword [esp + 0x38], eax
jle 0x453ae3
mov eax, edi
lea ecx, [esp + 0x10]
call fcn.00453edc
mov esi, dword [eax]
cmp esi, ebx
je 0x453adc
lea ecx, [esi + 0x250]
call fcn.00403d84
lea eax, [esi + 0x10]
call fcn.00460ada
push esi
call fcn.00489b10
pop ecx
inc edi
cmp edi, dword [esp + 0x38]
jl 0x453ab1
cmp dword [esp + 0x10], ebx
je 0x453af7
push dword [esp + 0x10]
call fcn.0048a345
pop ecx
mov dword [esp + 0x10], ebx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
call fcn.00403d84
lea ecx, [esp + 0x34]
call fcn.00403d84
mov esi, dword [esp + 0x3c]
jmp 0x4535a1
push 0x80004005
call fcn.00403da7
cmp dword [esp + 0x5c], ebx
je 0x453b38
push dword [esp + 0x5c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x5c], ebx
lea ecx, [esp + 0x54]
call fcn.00403d84
lea esi, [esp + 0x48]
call fcn.00435371
mov eax, dword [esp + 0x14]
xor edi, edi
cmp eax, ebx
mov dword [esp + 0x38], eax
jle 0x453b8a
mov eax, edi
lea ecx, [esp + 0x10]
call fcn.00453edc
mov esi, dword [eax]
cmp esi, ebx
je 0x453b83
lea ecx, [esi + 0x250]
call fcn.00403d84
lea eax, [esi + 0x10]
call fcn.00460ada
push esi
call fcn.00489b10
pop ecx
inc edi
cmp edi, dword [esp + 0x38]
jl 0x453b58
cmp dword [esp + 0x10], ebx
je 0x453b9e
push dword [esp + 0x10]
call fcn.0048a345
pop ecx
mov dword [esp + 0x10], ebx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
call fcn.00403d84
lea ecx, [esp + 0x34]
call fcn.00403d84
push 0xb
pop esi
jmp 0x4535a1
lea ecx, [esp + 0x24]
call fcn.00403d84
cmp dword [esp + 0x5c], ebx
je 0x453bdd
push dword [esp + 0x5c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x5c], ebx
lea ecx, [esp + 0x54]
call fcn.00403d84
lea esi, [esp + 0x48]
call fcn.00435371
lea esi, [esp + 0x10]
call fcn.00453efd
lea ecx, [esp + 0x2c]
call fcn.00403d84
lea ecx, [esp + 0x34]
call fcn.00403d84
push 0xd
jmp 0x453bba
mov eax, dword [esi + 8]
lea ecx, [esp + 0x48]
call fcn.00460c65
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x3c], eax
cmp dword [esp + 0x90], ebx
je 0x453c3d
push dword [esp + 0x90]
call esi
mov dword [esp + 0x90], ebx
cmp dword [esp + 0x5c], ebx
je 0x453c4d
push dword [esp + 0x5c]
call esi
mov dword [esp + 0x5c], ebx
lea ecx, [esp + 0x54]
call fcn.00403d84
lea esi, [esp + 0x48]
call fcn.00435371
mov eax, dword [esp + 0x14]
xor edi, edi
cmp eax, ebx
mov dword [esp + 0x38], eax
jle 0x453c9f
mov eax, edi
lea ecx, [esp + 0x10]
call fcn.00453edc
mov esi, dword [eax]
cmp esi, ebx
je 0x453c98
lea ecx, [esi + 0x250]
call fcn.00403d84
lea eax, [esi + 0x10]
call fcn.00460ada
push esi
call fcn.00489b10
pop ecx
inc edi
cmp edi, dword [esp + 0x38]
jl 0x453c6d
cmp dword [esp + 0x10], ebx
je 0x453cb3
push dword [esp + 0x10]
call fcn.0048a345
pop ecx
mov dword [esp + 0x10], ebx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
call fcn.00403d84
lea ecx, [esp + 0x34]
call fcn.00403d84
lea ecx, [esp + 0x44]
call fcn.00403d84
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x2f4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00489b1b
mov esp, ebp
pop ebp
ret 0xc