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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x84
mov eax, dword [0x4d897c]
xor eax, esp
mov dword [esp + 0x80], eax
mov edx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, ecx
mov ecx, dword [ebp + 8]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov dword [eax + 4], edx
mov dword [eax + 8], edi
mov ecx, esi
mov dword [eax + 0xc], ebx
call fcn.0041d210
mov ecx, dword [esi + 0x158]
add ecx, dword [esi + 0x4b4]
mov eax, dword [esi + 0x154]
mov edi, dword [esi + 0x15c]
mov ebx, dword [esi + 0x160]
add eax, dword [esi + 0x4b0]
sub edi, dword [esi + 0x4b8]
sub ebx, dword [esi + 0x4bc]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esi + 0x4c8]
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], ebx
test ecx, ecx
je 0x44667d
mov eax, dword [ecx]
mov edx, dword [eax + 0xc8]
call edx
test al, al
je 0x44667d
mov ecx, dword [esi + 0x4c8]
mov eax, dword [ecx]
mov edx, dword [eax + 0x58]
call edx
sub edi, eax
mov dword [esp + 0x30], edi
mov ecx, dword [esi + 0x4cc]
test ecx, ecx
je 0x4466a8
mov eax, dword [ecx]
mov edx, dword [eax + 0xc8]
call edx
test al, al
je 0x4466a8
mov ecx, dword [esi + 0x4cc]
mov eax, dword [ecx]
mov edx, dword [eax + 0x60]
call edx
sub ebx, eax
mov dword [esp + 0x34], ebx
sub edi, dword [esp + 0x28]
sub ebx, dword [esp + 0x2c]
mov ecx, dword [esi + 0x4cc]
mov dword [esp + 0x44], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x20], ebx
test ecx, ecx
je 0x4466e4
mov eax, dword [ecx]
mov edx, dword [eax + 0xc8]
call edx
test al, al
je 0x4466e4
mov eax, dword [esi + 0x4cc]
mov ecx, dword [eax + 0x4a4]
add dword [esp + 0x4c], ecx
xor eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
cmp dword [esi + 0x4a8], eax
jle 0x446852
mov edi, eax
jmp 0x446710
mov edx, dword [esi + 0x4a4]
mov ebx, dword [edx + edi*4]
mov eax, dword [ebx]
mov edx, dword [eax + 0xc8]
mov ecx, ebx
call edx
test al, al
je 0x446841
mov eax, dword [ebx]
mov edx, dword [eax + 0xf4]
mov ecx, ebx
call edx
test al, al
jne 0x446841
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x4c]
mov eax, dword [ebx]
push ecx
push edx
mov edx, dword [eax + 0x114]
lea ecx, [esp + 0x14]
push ecx
mov ecx, ebx
call edx
cmp dword [esp + 0x10], 0
jne 0x446769
inc dword [esp + 0x3c]
jmp 0x4467a7
mov eax, dword [ebx]
mov edx, dword [eax + 0x78]
mov ecx, ebx
call edx
cmp dword [esp + 0x10], eax
jge 0x446785
mov eax, dword [ebx]
mov edx, dword [eax + 0x78]
mov ecx, ebx
call edx
mov dword [esp + 0x10], eax
mov eax, dword [ebx]
mov edx, dword [eax + 0x80]
mov ecx, ebx
call edx
cmp dword [esp + 0x10], eax
jle 0x4467a7
mov eax, dword [ebx]
mov edx, dword [eax + 0x80]
mov ecx, ebx
call edx
mov dword [esp + 0x10], eax
mov eax, dword [ebx]
mov edx, dword [eax + 0x48]
lea ecx, [esp + 0x7c]
push ecx
mov ecx, ebx
call edx
lea edi, [eax + 0xc]
mov eax, dword [ebx]
mov edx, dword [eax + 0x48]
lea ecx, [esp + 0x5c]
push ecx
mov ecx, ebx
call edx
mov eax, dword [eax + 4]
add eax, dword [esp + 0x10]
mov edx, dword [ebx]
add eax, dword [edi]
mov edx, dword [edx + 0x48]
add dword [esp + 0x14], eax
lea eax, [esp + 0x6c]
push eax
mov ecx, ebx
call edx
mov eax, dword [esp + 0xc]
xor ecx, ecx
test eax, eax
setle cl
dec ecx
and ecx, eax
mov dword [esp + 0xc], ecx
mov edx, dword [ebx]
mov eax, dword [edx + 0x68]
mov ecx, ebx
call eax
cmp dword [esp + 0xc], eax
jge 0x44680f
mov edx, dword [ebx]
mov eax, dword [edx + 0x68]
mov ecx, ebx
call eax
mov dword [esp + 0xc], eax
mov edx, dword [ebx]
mov eax, dword [edx + 0x70]
mov ecx, ebx
call eax
mov ecx, dword [esp + 0xc]
cmp ecx, eax
jle 0x44682f
mov edx, dword [ebx]
mov eax, dword [edx + 0x70]
mov ecx, ebx
call eax
mov ecx, eax
mov dword [esp + 0xc], ecx
cmp dword [esp + 0x24], ecx
jg 0x446839
mov dword [esp + 0x24], ecx
inc dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
inc edi
mov dword [esp + 0x18], edi
cmp edi, dword [esi + 0x4a8]
jl 0x446710
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 0x4c0]
dec eax
imul ecx, eax
add dword [esp + 0x14], ecx
mov dword [esp + 0x58], eax
mov eax, dword [esi + 0x4f4]
test eax, eax
je 0x4468e7
mov edx, dword [eax + 0x4f4]
lea ecx, [eax + 0x4f4]
mov eax, dword [edx + 0x10]
call eax
mov ebx, eax
test ebx, ebx
je 0x4468e7
mov edx, dword [ebx + 0x4a0]
mov eax, dword [edx + 0xc]
lea ecx, [ebx + 0x4a0]
call eax
test eax, eax
jle 0x4468e7
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x44]
mov edx, dword [ebx]
mov edx, dword [edx + 0x114]
push edi
push eax
lea ecx, [esp + 0x74]
push ecx
mov ecx, ebx
call edx
cmp dword [eax], 0
jge 0x4468c8
mov dword [esp + 0x24], 0
jmp 0x4468eb
mov ecx, dword [esp + 0x44]
mov eax, dword [ebx]
mov eax, dword [eax + 0x114]
push edi
push ecx
lea edx, [esp + 0x14]
push edx
mov ecx, ebx
call eax
mov ecx, dword [eax]
mov dword [esp + 0x24], ecx
jmp 0x4468eb
mov edi, dword [esp + 0x20]
mov ecx, dword [esp + 0x3c]
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x54], ebx
cmp ecx, ebx
jle 0x446914
mov eax, edi
sub eax, dword [esp + 0x14]
cdq
idiv ecx
xor edx, edx
cmp eax, ebx
setl dl
dec edx
and edx, eax
mov dword [esp + 0x54], edx
mov ecx, dword [esi + 0x4c8]
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x70], edi
mov dword [esp + 0x40], ebx
test ecx, ecx
je 0x446948
mov eax, dword [ecx]
mov edx, dword [eax + 0xc8]
call edx
test al, al
je 0x446948
mov eax, dword [esi + 0x4c8]
sub ebx, dword [eax + 0x4a8]
mov dword [esp + 0x40], ebx
mov ecx, dword [esi + 0x4cc]
mov edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
test ecx, ecx
je 0x44697a
mov edx, dword [ecx]
mov eax, dword [edx + 0xc8]
call eax
test al, al
je 0x44697a
mov ecx, dword [esi + 0x4cc]
mov eax, edi
sub eax, dword [ecx + 0x4a8]
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 0x14]
xor eax, eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x14], eax
cmp dword [esi + 0x4a8], eax
jle 0x446bd5
jmp 0x4469a0
mov eax, dword [esi + 0x4a4]
mov ecx, dword [esp + 0x14]
mov edi, dword [eax + ecx*4]
mov edx, dword [edi]
mov eax, dword [edx + 0xc8]
mov ecx, edi
call eax
test al, al
je 0x446bc0
mov edx, dword [edi]
mov eax, dword [edx + 0xf4]
mov ecx, edi
call eax
test al, al
je 0x4469e7
mov edx, dword [esi]
mov eax, dword [esp + 0x14]
mov edx, dword [edx + 0x1a8]
push eax
mov ecx, esi
call edx
jmp 0x446bc0
mov eax, dword [edi]
mov edx, dword [eax + 0x48]
lea ecx, [esp + 0x5c]
push ecx
mov ecx, edi
call edx
mov eax, dword [esp + 0x70]
sub eax, dword [esp + 0x60]
mov edx, dword [edi]
mov edx, dword [edx + 0x114]
push eax
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x50]
push eax
lea eax, [esp + 0x14]
push eax
mov ecx, edi
call edx
cmp dword [esp + 0x10], 0
jne 0x446a91
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x54]
inc eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x10], ecx
cmp eax, dword [esp + 0x3c]
jne 0x446a51
mov eax, dword [esp + 0x70]
sub eax, dword [esp + 0x68]
mov edx, 0
sub eax, dword [esp + 0x20]
sets dl
dec edx
and edx, eax
mov dword [esp + 0x10], edx
mov eax, dword [edi]
mov edx, dword [eax + 0x78]
mov ecx, edi
call edx
cmp dword [esp + 0x10], eax
jge 0x446a6d
mov eax, dword [edi]
mov edx, dword [eax + 0x78]
mov ecx, edi
call edx
mov dword [esp + 0x10], eax
mov eax, dword [edi]
mov edx, dword [eax + 0x80]
mov ecx, edi
call edx
cmp dword [esp + 0x10], eax
jle 0x446ad7
mov eax, dword [edi]
mov edx, dword [eax + 0x80]
mov ecx, edi
call edx
mov dword [esp + 0x10], eax
jmp 0x446ad7
mov eax, dword [edi]
mov edx, dword [eax + 0x78]
mov ecx, edi
call edx
cmp dword [esp + 0x10], eax
jge 0x446aad
mov eax, dword [edi]
mov edx, dword [eax + 0x78]
mov ecx, edi
call edx
mov dword [esp + 0x10], eax
mov eax, dword [edi]
mov edx, dword [eax + 0x80]
mov ecx, edi
call edx
mov ecx, dword [esp + 0x10]
cmp ecx, eax
jle 0x446ad3
mov eax, dword [edi]
mov edx, dword [eax + 0x80]
mov ecx, edi
call edx
mov ecx, eax
mov dword [esp + 0x10], ecx
sub dword [esp + 0x20], ecx
mov eax, dword [esp + 0x4c]
sub eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x24]
sub eax, dword [esp + 0x5c]
mov dword [esp + 0xc], ecx
cmp ecx, eax
jg 0x446af3
mov dword [esp + 0xc], eax
mov eax, dword [edi]
mov edx, dword [eax + 0x68]
mov ecx, edi
call edx
cmp dword [esp + 0xc], eax
jge 0x446b0f
mov eax, dword [edi]
mov edx, dword [eax + 0x68]
mov ecx, edi
call edx
mov dword [esp + 0xc], eax
mov eax, dword [edi]
mov edx, dword [eax + 0x70]
mov ecx, edi
call edx
cmp dword [esp + 0xc], eax
jle 0x446b2b
mov eax, dword [edi]
mov edx, dword [eax + 0x70]
mov ecx, edi
call edx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x1c]
lea edx, [eax + ecx]
add eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x60]
add eax, dword [esp + 0x1c]
add ecx, ebx
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x10]
add eax, dword [esp + 0x68]
mov dword [esp + 0x80], ecx
add eax, dword [esp + 0x60]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [esp + 0x90]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x94]
add eax, ebx
mov ebx, dword [edi]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov eax, dword [ebx + 0x34]
mov ecx, edi
call eax
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x10]
mov eax, dword [esi + 0x4c0]
mov ebx, dword [esp + 0x40]
lea edi, [ecx + edx]
mov edx, dword [esp + 0x60]
add edi, edx
add edi, eax
add ebx, edi
mov edi, dword [esp + 0x10]
add edi, ecx
add ecx, dword [esp + 0x10]
add edi, edx
add dword [esp + 0x18], edi
add ecx, eax
sub dword [esp + 0x70], ecx
mov dword [esp + 0x40], ebx
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
cmp eax, dword [esi + 0x4a8]
jl 0x4469a0
mov eax, dword [esi + 0x4c0]
imul eax, dword [esp + 0x58]
mov ecx, dword [esi + 0x4cc]
add dword [esp + 0x18], eax
xor edi, edi
cmp ecx, edi
je 0x446e32
mov edx, dword [ecx]
mov eax, dword [edx + 0xc8]
mov ebx, dword [esp + 0x24]
call eax
cmp ebx, dword [esp + 0x44]
jle 0x446d64
mov ecx, dword [esi + 0x4cc]
test al, al
je 0x446c84
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x30]
add eax, ebx
cmp dword [ecx + 0x4a4], eax
je 0x446e32
mov dword [ecx + 0x4a4], eax
cmp eax, edi
jge 0x446c3c
mov dword [ecx + 0x4a4], edi
mov eax, dword [ecx + 0x4a4]
cmp dword [ecx + 0x4a8], eax
jle 0x446c50
mov dword [ecx + 0x4a8], eax
mov edi, dword [ecx + 0x154]
mov edx, dword [ecx]
sub esp, 0x10
mov eax, esp
mov dword [eax], edi
mov edi, dword [ecx + 0x158]
mov dword [eax + 4], edi
mov edi, dword [ecx + 0x15c]
mov dword [eax + 8], edi
mov edi, dword [ecx + 0x160]
mov dword [eax + 0xc], edi
mov eax, dword [edx + 0x34]
call eax
jmp 0x446e32
mov edx, dword [ecx]
mov eax, dword [edx + 0xcc]
push 1
call eax
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x30]
mov ecx, dword [esi + 0x4cc]
add eax, ebx
cmp dword [ecx + 0x4a4], eax
je 0x446cfb
mov dword [ecx + 0x4a4], eax
cmp eax, edi
jge 0x446cb8
mov dword [ecx + 0x4a4], edi
mov eax, dword [ecx + 0x4a4]
cmp dword [ecx + 0x4a8], eax
jle 0x446ccc
mov dword [ecx + 0x4a8], eax
mov ebx, dword [ecx + 0x154]
mov edx, dword [ecx]
sub esp, 0x10
mov eax, esp
mov dword [eax], ebx
mov ebx, dword [ecx + 0x158]
mov dword [eax + 4], ebx
mov ebx, dword [ecx + 0x15c]
mov dword [eax + 8], ebx
mov ebx, dword [ecx + 0x160]
mov dword [eax + 0xc], ebx
mov eax, dword [edx + 0x34]
call eax
mov ecx, dword [esi + 0x4cc]
cmp dword [ecx + 0x4a8], edi
je 0x446d4e
mov eax, dword [ecx + 0x4a4]
mov dword [ecx + 0x4a8], edi
cmp eax, edi
jge 0x446d1f
mov dword [ecx + 0x4a8], eax
mov edi, dword [ecx + 0x154]
mov edx, dword [ecx]
sub esp, 0x10
mov eax, esp
mov dword [eax], edi
mov edi, dword [ecx + 0x158]
mov dword [eax + 4], edi
mov edi, dword [ecx + 0x15c]
mov dword [eax + 8], edi
mov edi, dword [ecx + 0x160]
mov dword [eax + 0xc], edi
mov eax, dword [edx + 0x34]
call eax
mov ecx, dword [esi + 0x4cc]
mov edx, dword [ecx]
mov eax, dword [edx + 0x60]
call eax
sub dword [esp + 0x34], eax
jmp 0x446e32
test al, al
je 0x446e32
mov ecx, dword [esi + 0x4cc]
mov edx, dword [ecx]
mov eax, dword [edx + 0xcc]
push edi
call eax
mov ecx, dword [esi + 0x4cc]
cmp dword [ecx + 0x4a4], edi
je 0x446dce
mov dword [ecx + 0x4a4], edi
cmp dword [ecx + 0x4a8], edi
jle 0x446d9f
mov dword [ecx + 0x4a8], edi
mov ebx, dword [ecx + 0x154]
mov edx, dword [ecx]
sub esp, 0x10
mov eax, esp
mov dword [eax], ebx
mov ebx, dword [ecx + 0x158]
mov dword [eax + 4], ebx
mov ebx, dword [ecx + 0x15c]
mov dword [eax + 8], ebx
mov ebx, dword [ecx + 0x160]
mov dword [eax + 0xc], ebx
mov eax, dword [edx + 0x34]
call eax
mov ecx, dword [esi + 0x4cc]
cmp dword [ecx + 0x4a8], edi
je 0x446e21
mov eax, dword [ecx + 0x4a4]
mov dword [ecx + 0x4a8], edi
cmp eax, edi
jge 0x446df2
mov dword [ecx + 0x4a8], eax
mov edi, dword [ecx + 0x154]
mov edx, dword [ecx]
sub esp, 0x10
mov eax, esp
mov dword [eax], edi
mov edi, dword [ecx + 0x158]
mov dword [eax + 4], edi
mov edi, dword [ecx + 0x15c]
mov dword [eax + 8], edi
mov edi, dword [ecx + 0x160]
mov dword [eax + 0xc], edi
mov eax, dword [edx + 0x34]
call eax
mov ecx, dword [esi + 0x4cc]
mov edx, dword [ecx]
mov eax, dword [edx + 0x60]
call eax
add dword [esp + 0x34], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
mov edx, dword [esi]
mov edx, dword [edx + 0x1ac]
push eax
push ecx
mov ecx, dword [esp + 0x30]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x44]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x48]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x4c]
mov dword [eax + 0xc], ecx
mov ecx, esi
call edx
mov ecx, dword [esp + 0x8c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00494bb0
mov esp, ebp
pop ebp
ret 0x10