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

Disassembly:
sub esp, 0x64
push ebx
mov ebx, dword [esp + 0x70]
mov eax, dword [ebx]
push ebp
xor ebp, ebp
cmp eax, ebp
jne 0x44718c
pop ebp
mov eax, 0x16
pop ebx
add esp, 0x64
ret
push esi
push edi
mov edi, dword [esp + 0x78]
push ebx
push edi
call fcn.00465c10
add esp, 8
cmp eax, 0xffffffff
jne 0x4471de
mov eax, dword [esp + 0x84]
cmp eax, ebp
je 0x4471ba
push eax
push edi
call fcn.004466b0
add esp, 8
mov esi, eax
jmp 0x4471bc
xor esi, esi
mov eax, dword [esp + 0x80]
cmp eax, ebp
je 0x44767a
push eax
call fcn.00465bd0
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret
mov eax, dword [edi]
add eax, 2
push eax
lea ecx, [esp + 0x58]
push ecx
call fcn.00467d20
add esp, 8
cmp eax, ebp
jne 0x44767c
mov edx, dword [edi]
lea eax, [esp + 0x44]
add edx, 2
push eax
mov dword [esp + 0x58], edx
call fcn.004465c0
mov esi, eax
add esp, 4
cmp esi, ebp
jne 0x44766d
lea ecx, [esp + 0x64]
push ecx
call fcn.004465c0
mov esi, eax
add esp, 4
cmp esi, ebp
jne 0x447660
lea edx, [esp + 0x24]
push edi
push edx
call fcn.00465e80
mov esi, eax
add esp, 8
cmp esi, ebp
jne 0x447653
lea eax, [esp + 0x34]
push ebx
push eax
call fcn.00465e80
mov esi, eax
add esp, 8
cmp esi, ebp
jne 0x447646
mov ecx, dword [edi + 8]
mov esi, dword [ebx + 8]
xor edx, edx
cmp ecx, esi
setne dl
lea eax, [esp + 0x34]
push eax
mov dword [esp + 0x40], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x1c], edx
call fcn.00446830
cdq
mov ecx, 0x1c
idiv ecx
add esp, 4
cmp edx, 0x1b
jge 0x4472d6
mov edi, 0x1b
sub edi, edx
lea edx, [esp + 0x24]
push edx
mov eax, edx
push edi
push eax
mov dword [esp + 0x20], edi
call fcn.00465ae0
mov esi, eax
add esp, 0xc
cmp esi, ebp
jne 0x447639
lea ecx, [esp + 0x34]
push ecx
mov edx, ecx
push edi
push edx
call fcn.00465ae0
mov esi, eax
add esp, 0xc
cmp esi, ebp
jne 0x447639
jmp 0x4472da
mov dword [esp + 0x14], ebp
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x34]
dec ebx
dec ebp
mov edi, ebx
sub edi, ebp
lea eax, [esp + 0x34]
push edi
push eax
mov dword [esp + 0x18], ebp
call fcn.00467ca0
mov esi, eax
add esp, 8
test esi, esi
jne 0x447639
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x28]
push edx
call fcn.004467c0
add esp, 8
cmp eax, 0xffffffff
je 0x44735d
jmp 0x447320
mov eax, dword [esp + 0x60]
inc dword [eax + edi*4]
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x38]
push ecx
mov edx, eax
push edx
call fcn.00446dd0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x447639
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.004467c0
add esp, 8
cmp eax, 0xffffffff
jne 0x447320
lea edx, [esp + 0x34]
push edi
push edx
call fcn.00467c30
lea eax, [ebp + 1]
add esp, 8
cmp ebx, eax
jl 0x4475c3
cmp ebx, dword [esp + 0x24]
jg 0x4475b7
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x40]
mov eax, dword [esi + ebx*4]
mov edx, dword [ecx + ebp*4]
cmp eax, edx
jne 0x4473af
mov edx, dword [esp + 0x60]
mov eax, ebx
sub eax, ebp
lea edi, [eax*4]
mov dword [esp + 0x7c], eax
mov dword [edi + edx - 4], 0xfffffff
jmp 0x4473ff
mov esi, dword [esi + ebx*4 - 4]
xor ecx, ecx
shld ecx, eax, 0x1c
xor edi, edi
push edi
push edx
shl eax, 0x1c
or ecx, edi
or eax, esi
push ecx
push eax
call fcn.004214f0
test edx, edx
ja 0x4473d6
cmp eax, 0xfffffff
jbe 0x4473e3
mov eax, 0xfffffff
mov dword [esp + 0x20], 0
mov ecx, ebx
sub ecx, ebp
lea edi, [ecx*4]
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0x60]
and eax, 0xfffffff
mov dword [edi + ecx - 4], eax
mov eax, dword [esp + 0x60]
mov edx, dword [edi + eax - 4]
inc edx
and edx, 0xfffffff
mov dword [edi + eax - 4], edx
mov eax, dword [esp + 0x60]
mov ecx, dword [edi + eax - 4]
dec ecx
lea edx, [esp + 0x44]
and ecx, 0xfffffff
push edx
mov dword [edi + eax - 4], ecx
call fcn.00465bd0
lea eax, [ebp - 1]
add esp, 4
test eax, eax
jge 0x44743d
xor eax, eax
jmp 0x447445
mov eax, dword [esp + 0x40]
mov eax, dword [eax + ebp*4 - 4]
mov ecx, dword [esp + 0x50]
mov dword [ecx], eax
mov edx, dword [esp + 0x40]
mov eax, dword [edx + ebp*4]
mov ecx, dword [esp + 0x50]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x60]
lea edx, [esp + 0x44]
mov dword [esp + 0x44], 2
mov ecx, dword [edi + eax - 4]
push edx
push ecx
push edx
call fcn.00447020
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x447639
lea eax, [ebx - 2]
test eax, eax
jge 0x44748d
xor eax, eax
jmp 0x447494
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx + eax*4]
mov edx, dword [esp + 0x70]
mov dword [edx], eax
lea eax, [ebx - 1]
test eax, eax
jge 0x4474a5
xor eax, eax
jmp 0x4474ad
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx + ebx*4 - 4]
mov edx, dword [esp + 0x70]
mov dword [edx + 4], eax
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + ebx*4]
mov edx, dword [esp + 0x70]
mov dword [edx + 8], ecx
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x48]
push ecx
mov dword [esp + 0x6c], 3
call fcn.00465c10
add esp, 8
cmp eax, 1
je 0x447412
mov eax, dword [esp + 0x60]
mov ecx, dword [edi + eax - 4]
lea edx, [esp + 0x44]
push edx
push ecx
lea edx, [esp + 0x3c]
push edx
call fcn.00447020
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x447639
mov ebp, dword [esp + 0x7c]
dec ebp
lea eax, [esp + 0x44]
push ebp
push eax
call fcn.00467ca0
mov esi, eax
add esp, 8
test esi, esi
jne 0x447639
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x48]
push edx
mov eax, ecx
push eax
call fcn.00446dd0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x447639
cmp dword [esp + 0x2c], 1
jne 0x4475b3
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x38]
push edx
call fcn.004466b0
mov esi, eax
add esp, 8
test esi, esi
jne 0x447639
lea eax, [esp + 0x44]
push ebp
push eax
call fcn.00467ca0
mov esi, eax
add esp, 8
test esi, esi
jne 0x447639
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x48]
push edx
mov eax, ecx
push eax
call fcn.00446c50
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x447639
mov eax, dword [esp + 0x60]
mov ecx, dword [edi + eax - 4]
dec ecx
and ecx, 0xfffffff
mov dword [edi + eax - 4], ecx
mov ebp, dword [esp + 0x10]
dec ebx
lea eax, [ebp + 1]
cmp ebx, eax
jge 0x447376
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x4475d5
mov dword [esp + 0x2c], 0
jmp 0x4475e0
mov edx, dword [esp + 0x78]
mov eax, dword [edx + 8]
mov dword [esp + 0x2c], eax
mov esi, dword [esp + 0x80]
test esi, esi
je 0x44760a
lea ecx, [esp + 0x54]
push ecx
call fcn.00465ab0
lea edx, [esp + 0x58]
push esi
push edx
call fcn.00467be0
mov eax, dword [esp + 0x24]
add esp, 0xc
mov dword [esi + 8], eax
mov esi, dword [esp + 0x84]
test esi, esi
je 0x447637
mov edx, dword [esp + 0x14]
push 0
lea ecx, [esp + 0x28]
push ecx
push edx
mov eax, ecx
push eax
call fcn.00465eb0
lea ecx, [esp + 0x34]
push esi
push ecx
call fcn.00467be0
add esp, 0x18
xor esi, esi
lea edx, [esp + 0x34]
push edx
call fcn.00446620
add esp, 4
lea eax, [esp + 0x24]
push eax
call fcn.00446620
add esp, 4
lea ecx, [esp + 0x64]
push ecx
call fcn.00446620
add esp, 4
lea edx, [esp + 0x44]
push edx
call fcn.00446620
add esp, 4
lea eax, [esp + 0x54]
push eax
call fcn.00446620
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret