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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x64
mov edx, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [ebp + 8]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov edx, dword [ebp + 0x14]
mov dword [eax + 8], ecx
mov ecx, edi
mov dword [esp + 0x40], edi
mov dword [eax + 0xc], edx
call fcn.00426420
mov ecx, dword [edi + 0x15c]
sub ecx, dword [edi + 0x4b8]
mov esi, dword [edi + 0x154]
mov edx, dword [edi + 0x158]
mov eax, dword [edi + 0x160]
add esi, dword [edi + 0x4b0]
add edx, dword [edi + 0x4b4]
sub eax, dword [edi + 0x4bc]
mov dword [ebp + 0x10], ecx
mov ecx, dword [edi + 0x4c8]
mov dword [ebp + 8], esi
mov dword [ebp + 0xc], edx
mov dword [ebp + 0x14], eax
test ecx, ecx
je 0x454869
mov eax, dword [ecx]
mov edx, dword [eax + 0xc8]
call edx
test al, al
je 0x454869
mov ecx, dword [edi + 0x4c8]
mov eax, dword [ecx]
mov edx, dword [eax + 0x58]
call edx
sub dword [ebp + 0x10], eax
mov ecx, dword [edi + 0x4cc]
test ecx, ecx
je 0x454891
mov eax, dword [ecx]
mov edx, dword [eax + 0xc8]
call edx
test al, al
je 0x454891
mov ecx, dword [edi + 0x4cc]
mov eax, dword [ecx]
mov edx, dword [eax + 0x60]
call edx
sub dword [ebp + 0x14], eax
lea eax, [edi + 0x4a4]
call fcn.0041ec70
test eax, eax
jne 0x4548a6
push eax
jmp 0x454d03
mov ebx, dword [ebp + 0x10]
mov esi, dword [ebp + 0x14]
sub ebx, dword [ebp + 8]
sub esi, dword [ebp + 0xc]
mov ecx, dword [edi + 0x4cc]
xor edx, edx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], esi
cmp ecx, edx
je 0x4548e7
mov eax, dword [ecx]
mov edx, dword [eax + 0xc8]
call edx
test al, al
je 0x4548e5
mov eax, dword [edi + 0x4cc]
call fcn.00435020
add ebx, eax
mov dword [esp + 0x40], ebx
xor edx, edx
xor ecx, ecx
lea eax, [edi + 0x4a4]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x14], edx
call fcn.0041ec70
test eax, eax
jle 0x454a01
mov edx, dword [esp + 0x14]
lea eax, [edi + 0x4a4]
call fcn.00420430
mov esi, eax
mov eax, dword [esi]
mov edx, dword [eax + 0xc8]
mov ecx, esi
call edx
test al, al
je 0x4549db
mov eax, dword [esi]
mov edx, dword [eax + 0xf4]
mov ecx, esi
call edx
test al, al
jne 0x4549db
mov ecx, dword [esp + 0x44]
mov eax, dword [esi]
mov eax, dword [eax + 0x114]
push ecx
push ebx
lea edx, [esp + 0x40]
push edx
mov ecx, esi
call eax
cmp dword [esp + 0x3c], 0
jne 0x454969
inc dword [esp + 0x18]
jmp 0x4549a7
mov edx, dword [esi]
mov eax, dword [edx + 0x78]
mov ecx, esi
call eax
cmp dword [esp + 0x3c], eax
jge 0x454985
mov edx, dword [esi]
mov eax, dword [edx + 0x78]
mov ecx, esi
call eax
mov dword [esp + 0x3c], eax
mov edx, dword [esi]
mov eax, dword [edx + 0x80]
mov ecx, esi
call eax
cmp dword [esp + 0x3c], eax
jle 0x4549a7
mov edx, dword [esi]
mov eax, dword [edx + 0x80]
mov ecx, esi
call eax
mov dword [esp + 0x3c], eax
mov edx, dword [esi]
mov edx, dword [edx + 0x48]
lea eax, [esp + 0x60]
push eax
mov ecx, esi
call edx
lea ebx, [eax + 0xc]
mov eax, dword [esi]
mov edx, dword [eax + 0x48]
lea ecx, [esp + 0x50]
push ecx
mov ecx, esi
call edx
mov eax, dword [eax + 4]
add eax, dword [ebx]
mov ebx, dword [esp + 0x40]
add eax, dword [esp + 0x3c]
add dword [esp + 0x10], eax
inc dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
inc ecx
lea eax, [edi + 0x4a4]
mov dword [esp + 0x14], ecx
call fcn.0041ec70
cmp ecx, eax
jl 0x45490c
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x44]
xor edx, edx
mov eax, dword [esp + 0x1c]
mov ebx, dword [edi + 0x4c0]
dec eax
imul ebx, eax
add dword [esp + 0x10], ebx
cmp ecx, edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x2c], edx
jle 0x454a3a
mov eax, esi
sub eax, dword [esp + 0x10]
cdq
idiv ecx
xor ecx, ecx
test eax, eax
setl cl
dec ecx
and ecx, eax
mov dword [esp + 0x2c], ecx
mov ecx, dword [edi + 0x4c8]
mov edx, dword [ebp + 0xc]
mov ebx, esi
xor esi, esi
mov dword [esp + 0x14], edx
cmp ecx, esi
je 0x454a6c
mov eax, dword [ecx]
mov edx, dword [eax + 0xc8]
call edx
test al, al
je 0x454a6c
mov eax, dword [edi + 0x4c8]
call fcn.00435040
sub dword [esp + 0x14], eax
mov ecx, dword [edi + 0x4cc]
mov eax, dword [ebp + 8]
mov dword [esp + 0x20], eax
cmp ecx, esi
je 0x454a9a
mov edx, dword [ecx]
mov eax, dword [edx + 0xc8]
call eax
test al, al
je 0x454a9a
mov eax, dword [edi + 0x4cc]
call fcn.00435040
sub dword [esp + 0x20], eax
mov ecx, dword [esp + 0x10]
lea eax, [edi + 0x4a4]
mov dword [esp + 0x28], esi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x10], esi
call fcn.0041ec70
test eax, eax
jle 0x454cf3
mov edx, dword [esp + 0x10]
lea eax, [edi + 0x4a4]
call fcn.00420430
mov esi, eax
mov edx, dword [esi]
mov eax, dword [edx + 0xc8]
mov ecx, esi
call eax
test al, al
je 0x454cd7
mov edx, dword [esi]
mov eax, dword [edx + 0xf4]
mov ecx, esi
call eax
test al, al
je 0x454b08
mov edx, dword [edi]
mov eax, dword [esp + 0x10]
mov edx, dword [edx + 0x1a8]
push eax
mov ecx, edi
call edx
jmp 0x454cd7
mov eax, dword [esi]
mov edx, dword [eax + 0x48]
lea ecx, [esp + 0x50]
push ecx
mov ecx, esi
call edx
sub ebx, dword [esp + 0x54]
mov edi, dword [esp + 0x40]
mov edx, dword [esi]
mov edx, dword [edx + 0x114]
push ebx
mov eax, edi
push eax
lea eax, [esp + 0x40]
push eax
mov ecx, esi
mov dword [esp + 0x58], ebx
call edx
cmp dword [esp + 0x3c], 0
jne 0x454bac
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
inc eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x3c], ecx
cmp eax, dword [esp + 0x18]
jne 0x454b6c
sub ebx, dword [esp + 0x5c]
mov edx, 0
sub ebx, dword [esp + 0x1c]
sets dl
dec edx
and edx, ebx
mov dword [esp + 0x3c], edx
mov eax, dword [esi]
mov edx, dword [eax + 0x78]
mov ecx, esi
call edx
cmp dword [esp + 0x3c], eax
jge 0x454b88
mov eax, dword [esi]
mov edx, dword [eax + 0x78]
mov ecx, esi
call edx
mov dword [esp + 0x3c], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x80]
mov ecx, esi
call edx
cmp dword [esp + 0x3c], eax
jle 0x454bf2
mov eax, dword [esi]
mov edx, dword [eax + 0x80]
mov ecx, esi
call edx
mov dword [esp + 0x3c], eax
jmp 0x454bf2
mov eax, dword [esi]
mov edx, dword [eax + 0x78]
mov ecx, esi
call edx
cmp dword [esp + 0x3c], eax
jge 0x454bc8
mov eax, dword [esi]
mov edx, dword [eax + 0x78]
mov ecx, esi
call edx
mov dword [esp + 0x3c], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x80]
mov ecx, esi
call edx
mov ecx, dword [esp + 0x3c]
cmp ecx, eax
jle 0x454bee
mov eax, dword [esi]
mov edx, dword [eax + 0x80]
mov ecx, esi
call edx
mov ecx, eax
mov dword [esp + 0x3c], ecx
sub dword [esp + 0x1c], ecx
mov eax, dword [esi]
mov edx, dword [eax + 0x58]
mov ecx, esi
call edx
mov dword [esp + 0x38], eax
test eax, eax
jne 0x454c13
mov eax, edi
sub eax, dword [esp + 0x58]
sub eax, dword [esp + 0x50]
mov dword [esp + 0x38], eax
test eax, eax
jge 0x454c1d
mov dword [esp + 0x38], 0
mov eax, dword [esi]
mov edx, dword [eax + 0x68]
mov ecx, esi
call edx
cmp dword [esp + 0x38], eax
jge 0x454c39
mov eax, dword [esi]
mov edx, dword [eax + 0x68]
mov ecx, esi
call edx
mov dword [esp + 0x38], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x70]
mov ecx, esi
call edx
cmp dword [esp + 0x38], eax
jle 0x454c55
mov eax, dword [esi]
mov edx, dword [eax + 0x70]
mov ecx, esi
call edx
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x54]
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x20]
add ebx, ecx
lea edi, [edx + eax]
mov dword [esp + 0x64], ebx
mov ebx, dword [esp + 0x38]
add edx, ebx
mov ebx, dword [esp + 0x5c]
add edx, eax
mov eax, dword [esp + 0x3c]
add eax, ebx
mov ebx, dword [esi]
add eax, ecx
add eax, dword [esp + 0x14]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edi
mov edi, dword [esp + 0x74]
mov dword [ecx + 4], edi
mov dword [ecx + 8], edx
mov edx, dword [ebx + 0x34]
mov dword [ecx + 0xc], eax
mov ecx, esi
call edx
mov edi, dword [esp + 0x30]
mov ecx, dword [esp + 0x5c]
mov eax, dword [edi + 0x4c0]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x4c]
lea esi, [eax + ecx]
add esi, edx
add esi, dword [esp + 0x54]
add eax, ecx
add dword [esp + 0x14], esi
lea esi, [ecx + edx]
add esi, dword [esp + 0x54]
add eax, edx
add dword [esp + 0x24], esi
sub ebx, eax
mov ecx, dword [esp + 0x10]
inc ecx
lea eax, [edi + 0x4a4]
mov dword [esp + 0x10], ecx
call fcn.0041ec70
cmp ecx, eax
jl 0x454abd
mov eax, dword [edi + 0x4c0]
imul eax, dword [esp + 0x34]
add eax, dword [esp + 0x24]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [edi]
mov edx, dword [edx + 0x1ac]
push 0
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp + 0xc]
mov dword [eax + 4], ecx
mov ecx, dword [ebp + 0x10]
mov dword [eax + 8], ecx
mov ecx, dword [ebp + 0x14]
mov dword [eax + 0xc], ecx
mov ecx, edi
call edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10