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

Disassembly:
mov eax, dword [esp + 4]
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0x10]
sub esp, 0x60
push ebx
push ebp
push esi
mov esi, dword [esp + 0x78]
cmp esi, eax
jge 0x4503cc
mov esi, eax
cmp ecx, edx
jge 0x4503d2
mov ecx, edx
mov ebx, dword [edi + 0x3cc]
mov dword [edi + 0x350], eax
mov dword [edi + 0x354], edx
add edx, dword [edi + 0x3d0]
mov dword [edi + 0x358], esi
sub esi, dword [edi + 0x3d4]
mov dword [edi + 0x35c], ecx
sub ecx, dword [edi + 0x3d8]
add ebx, eax
mov dword [esp + 0x7c], ecx
mov ecx, dword [edi + 0x3e4]
xor ebp, ebp
cmp ecx, ebp
mov dword [esp + 0x70], eax
mov byte [edi + 0x394], 0
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], esi
je 0x45044d
mov eax, dword [ecx]
mov edx, dword [eax + 0xc0]
call edx
test al, al
je 0x45044d
mov ecx, dword [edi + 0x3e4]
mov eax, dword [ecx]
mov edx, dword [eax + 0xd0]
call edx
sub dword [esp + 0x78], eax
mov ecx, dword [edi + 0x3e8]
cmp ecx, ebp
je 0x450479
mov eax, dword [ecx]
mov edx, dword [eax + 0xc0]
call edx
test al, al
je 0x450479
mov ecx, dword [edi + 0x3e8]
mov eax, dword [ecx]
mov edx, dword [eax + 0xd8]
call edx
sub dword [esp + 0x7c], eax
mov eax, dword [edi + 0x3bc]
cmp eax, ebp
je 0x450490
mov ecx, dword [edi + 0x3c0]
sub ecx, eax
sar ecx, 2
jne 0x450497
push ebp
push ebp
jmp 0x450762
mov ecx, dword [edi + 0x3e4]
cmp ecx, ebp
mov esi, dword [esp + 0x74]
mov ebx, dword [esp + 0x70]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ebx
je 0x4504d7
mov eax, dword [ecx]
mov edx, dword [eax + 0xc0]
call edx
test al, al
je 0x4504d7
mov eax, dword [edi + 0x3e4]
sub esi, dword [eax + 0x3c0]
mov dword [esp + 0x14], esi
mov ecx, dword [edi + 0x3e8]
cmp ecx, ebp
je 0x4504ff
mov edx, dword [ecx]
mov eax, dword [edx + 0xc0]
call eax
test al, al
je 0x4504ff
mov ecx, dword [edi + 0x3e8]
sub ebx, dword [ecx + 0x3c0]
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x78]
sub eax, dword [esp + 0x70]
mov esi, dword [esp + 0x7c]
sub esi, dword [esp + 0x74]
mov ecx, dword [edi + 0x3e8]
cmp ecx, ebp
mov ebx, eax
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], esi
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], esi
je 0x450549
mov edx, dword [ecx]
mov eax, dword [edx + 0xc0]
call eax
test al, al
je 0x450549
mov ecx, dword [edi + 0x3e8]
add ebx, dword [ecx + 0x3bc]
mov dword [esp + 0x40], ebx
mov ecx, dword [edi + 0x3e4]
cmp ecx, ebp
je 0x450571
mov edx, dword [ecx]
mov eax, dword [edx + 0xc0]
call eax
test al, al
je 0x450571
mov ecx, dword [edi + 0x3e4]
add esi, dword [ecx + 0x3bc]
mov dword [esp + 0x44], esi
xor esi, esi
mov ecx, dword [edi + 0x3bc]
test ecx, ecx
mov dword [esp + 0x18], esi
je 0x450758
mov eax, dword [edi + 0x3c0]
sub eax, ecx
sar eax, 2
cmp esi, eax
jae 0x450758
test ecx, ecx
je 0x4505ab
mov eax, dword [edi + 0x3c0]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x4505b0
call fcn.0045cf3a
mov edx, dword [edi + 0x3bc]
mov ebp, dword [edx + esi*4]
mov eax, dword [ebp]
mov edx, dword [eax + 0xc0]
mov ecx, ebp
call edx
test al, al
je 0x45074c
mov eax, dword [ebp]
mov edx, dword [eax + 0x11c]
mov ecx, ebp
call edx
test al, al
jne 0x45073a
mov eax, dword [ebp]
mov edx, dword [eax + 0x12c]
mov ecx, ebp
call edx
test al, al
jne 0x45073a
mov eax, dword [ebp]
mov edx, dword [eax + 0x124]
mov ecx, ebp
call edx
test al, al
jne 0x45073a
mov eax, dword [ebp]
mov edx, dword [eax + 0x8c]
lea ecx, [esp + 0x48]
push ecx
mov ecx, ebp
call edx
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov eax, dword [ebp]
push ecx
push edx
mov edx, dword [eax + 0x94]
lea ecx, [esp + 0x40]
push ecx
mov ecx, ebp
call edx
mov edx, dword [esp + 0x38]
test edx, edx
jne 0x45064d
mov edx, ebx
sub edx, dword [esp + 0x50]
mov dword [esp + 0x38], edx
mov ecx, dword [esp + 0x3c]
test ecx, ecx
mov ebx, dword [esp + 0x4c]
jne 0x450667
mov ecx, dword [esp + 0x44]
sub ecx, ebx
sub ecx, dword [esp + 0x54]
mov dword [esp + 0x3c], ecx
test byte [ebp + 0x284], 0x10
mov eax, dword [esp + 0x10]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x2c], eax
je 0x45068f
mov eax, dword [esp + 0x30]
sub eax, edx
cdq
sub eax, edx
sar eax, 1
add dword [esp + 0x10], eax
test byte [ebp + 0x284], 0x20
je 0x4506a7
mov eax, dword [esp + 0x34]
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
add dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x48]
mov edx, dword [esp + 0x10]
add eax, ebx
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x38]
add edx, esi
add esi, eax
add esi, dword [esp + 0x10]
add ebx, ecx
mov ecx, dword [esp + 0x5c]
add ebx, dword [esp + 0x14]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov dword [eax + 4], ecx
mov dword [eax + 8], esi
mov dword [eax + 0xc], ebx
mov eax, dword [ebp]
mov dword [esp + 0x68], edx
mov edx, dword [eax + 0xb4]
mov ecx, ebp
call edx
sub esi, dword [esp + 0x58]
cmp dword [esp + 0x20], esi
jg 0x4506fe
mov dword [esp + 0x20], esi
sub ebx, dword [esp + 0x5c]
cmp dword [esp + 0x1c], ebx
jg 0x45070c
mov dword [esp + 0x1c], ebx
mov eax, dword [ebp + 0x284]
test al, 0x10
je 0x45071e
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x10], ecx
test al, 0x20
mov esi, dword [esp + 0x18]
je 0x45074c
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x14], edx
add esi, 1
jmp 0x450573
mov eax, dword [edi]
mov edx, dword [eax + 0x234]
lea ecx, [esp + 0x70]
push ecx
push ebp
mov ecx, edi
call edx
mov ebx, dword [esp + 0x40]
add esi, 1
jmp 0x450573
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
push eax
push ecx
mov ecx, dword [esp + 0x78]
mov edx, dword [edi]
mov edx, dword [edx + 0x238]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x8c]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x90]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x94]
mov dword [eax + 0xc], ecx
mov ecx, edi
call edx
pop esi
pop ebp
pop ebx
add esp, 0x60
ret 0x10