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

Disassembly:
sub esp, 0x34
push ebx
mov ebx, dword [esp + 0x3c]
push ebp
push esi
mov esi, dword [ebx + 8]
mov ecx, dword [esi + 0x118]
xor eax, eax
cmp dword [esi + 0x7c], eax
push edi
setne al
mov dword [esp + 0x14], ecx
cmp ecx, eax
jg 0x4473b8
mov dword [esp + 0x14], eax
mov ebp, dword [esp + 0x4c]
cmp dword [ebp + 0x20], 0
jne 0x4475a9
mov eax, dword [esi + 0xec]
sub eax, 0
je 0x4473f3
sub eax, 1
jne 0x4475a9
mov edx, dword [ebp + 0x14]
mov ecx, esi
call fcn.00445570
test eax, eax
jl 0x4475a9
mov esi, dword [esi + 0x4c]
mov edi, eax
jmp 0x44741f
mov edi, dword [ebx + 0x40]
mov eax, dword [ebx + 0x44]
mov ecx, edi
imul ecx, ecx, 0x3e8
cmp ecx, eax
jle 0x447409
mov esi, eax
jmp 0x44741f
mov edi, dword [esi + 0x2c]
mov esi, dword [esi + 0x30]
mov edx, edi
imul edx, edx, 0x3e8
cmp edx, esi
jle 0x4475a9
test esi, esi
je 0x4475a9
test edi, edi
je 0x4475a9
mov eax, dword [ebx + 0x40]
imul esi
mov ecx, eax
mov eax, dword [ebx + 0x44]
mov dword [esp + 0x30], edx
imul edi
push 0
mov edi, eax
mov eax, dword [esp + 0x34]
push 2
push eax
push ecx
mov dword [esp + 0x3c], ecx
mov esi, edx
call fcn.0049baf0
test esi, esi
mov ecx, eax
mov dword [esp + 0x1c], ecx
mov eax, edx
jg 0x44749a
jl 0x44746c
cmp edi, 0x7fffffff
ja 0x44749a
mov edx, dword [esp + 0x30]
test edx, edx
jg 0x44749a
jl 0x447480
cmp dword [esp + 0x2c], 0x7fffffff
ja 0x44749a
push edx
mov edx, dword [esp + 0x30]
add ecx, edi
push edx
adc eax, esi
push eax
push ecx
call fcn.0049baf0
mov dword [esp + 0x40], edx
jmp 0x4475a6
mov ebx, edi
xor edi, edi
mov ecx, esi
sar ecx, 0x1f
xor edx, edx
add edx, ebx
mov ebx, esi
adc ebx, edi
cmp ebx, esi
mov ebp, esi
mov dword [esp + 0x38], ecx
ja 0x4474cc
jb 0x4474bd
xor esi, esi
cmp edx, esi
jae 0x4474cc
mov edi, 1
mov dword [esp + 0x28], 0
jmp 0x4474d2
xor edi, edi
mov dword [esp + 0x28], edi
xor esi, esi
add ecx, edi
adc esi, dword [esp + 0x28]
mov edi, ecx
mov ecx, dword [esp + 0x1c]
add edx, ecx
adc ebx, eax
cmp ebx, eax
mov dword [esp + 0x3c], edx
ja 0x447507
jb 0x4474f2
cmp edx, ecx
jae 0x447507
mov eax, 1
xor ecx, ecx
add edi, eax
adc esi, ecx
mov dword [esp + 0x18], 0x3f
jmp 0x447524
xor eax, eax
xor ecx, ecx
add edi, eax
adc esi, ecx
mov dword [esp + 0x18], 0x3f
jmp 0x447524
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x18]
mov eax, edx
mov edx, ebx
call fcn.004ab140
mov ecx, edx
xor ecx, ecx
push ecx
push 2
push esi
and eax, 1
push edi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], ecx
call fcn.0049bab0
mov ecx, dword [esp + 0x1c]
add ecx, eax
mov eax, dword [esp + 0x24]
adc eax, edx
push 0
mov esi, eax
mov eax, dword [esp + 0x3c]
push 2
push eax
push ebp
mov edi, ecx
call fcn.0049bab0
mov ebp, eax
mov eax, dword [esp + 0x30]
cmp eax, esi
mov dword [esp + 0x38], edx
ja 0x44758d
jb 0x44757f
cmp dword [esp + 0x2c], edi
ja 0x44758d
sub edi, dword [esp + 0x2c]
sbb esi, eax
add ebp, 1
adc dword [esp + 0x38], 0
sub dword [esp + 0x18], 1
jns 0x447520
mov ecx, dword [esp + 0x38]
mov ebx, dword [esp + 0x48]
mov eax, ebp
mov ebp, dword [esp + 0x4c]
mov dword [esp + 0x40], ecx
mov dword [ebp + 0x20], eax
mov eax, dword [ebp]
mov ecx, dword [ebp + 4]
mov edx, eax
or edx, ecx
je 0x4475c1
test eax, eax
jne 0x4475f9
cmp ecx, 0x80000000
jne 0x4475f9
cmp dword [ebp + 8], 0
jne 0x4475e9
cmp dword [ebp + 0xc], 0x80000000
jne 0x4475e9
cmp dword [esp + 0x14], 0
jne 0x4475e9
mov eax, dword [ebx + 0x28]
mov dword [ebp], eax
mov ecx, dword [ebx + 0x2c]
mov dword [ebp + 4], ecx
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], ecx
test eax, eax
jne 0x4475f9
cmp ecx, 0x80000000
je 0x4476b8
cmp dword [ebp + 8], 0
jne 0x4476b8
cmp dword [ebp + 0xc], 0x80000000
jne 0x4476b8
mov edi, dword [esp + 0x14]
mov esi, 1
add edi, esi
cmp edi, esi
mov dword [ebx + 0xa8], eax
mov dword [ebx + 0xac], ecx
jle 0x447668
or eax, 0xffffffff
sub eax, dword [esp + 0x14]
lea ecx, [ebx + 0xb0]
mov dword [esp + 0x4c], eax
jmp 0x447644
mov eax, dword [esp + 0x4c]
cmp dword [ecx], 0
jne 0x447668
cmp dword [ecx + 4], 0x80000000
jne 0x447668
add eax, esi
imul eax, dword [ebp + 0x20]
cdq
mov dword [ecx], eax
mov dword [ecx + 4], edx
add esi, 1
add ecx, 8
cmp esi, edi
jl 0x447640
xor edi, edi
cmp dword [esp + 0x14], edi
jle 0x4476a6
lea eax, [ebx + 0xa8]
mov edx, dword [eax + 0xc]
mov esi, dword [eax + 4]
cmp esi, edx
mov ecx, dword [eax + 8]
mov ebx, dword [eax]
jl 0x4476a2
jg 0x44768b
cmp ebx, ecx
jbe 0x4476a2
mov dword [eax + 8], ebx
mov dword [eax + 0xc], esi
mov dword [eax], ecx
mov dword [eax + 4], edx
add edi, 1
add eax, 8
cmp edi, dword [esp + 0x14]
jl 0x447676
mov ebx, dword [esp + 0x48]
mov edx, dword [ebx + 0xa8]
mov dword [ebp + 8], edx
mov eax, dword [ebx + 0xac]
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 8]
mov dword [ebx + 0x78], ecx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 0x7c], edx
mov eax, dword [ebp + 8]
lea esi, [ebx + 0x28]
mov dword [esi], eax
mov ecx, dword [ebp + 0xc]
mov dword [esi + 4], ecx
mov ecx, dword [ebx + 8]
mov eax, dword [ecx + 0xec]
sub eax, 0
je 0x447778
sub eax, 1
jne 0x447788
mov eax, dword [ecx + 0x58]
cmp eax, 1
mov ebp, dword [ebp + 0x14]
jg 0x447733
mov eax, dword [ecx + 0xf0]
call fcn.0042cd10
test eax, eax
je 0x44771d
mov ecx, dword [ecx + 0x50]
test ecx, ecx
je 0x447788
imul ecx, eax
lea eax, [ebp*8]
cdq
idiv ecx
jmp 0x447733
mov edi, dword [ecx + 0x10]
test edi, edi
je 0x447788
mov eax, dword [ecx + 0x4c]
imul eax, ebp
add eax, eax
add eax, eax
add eax, eax
cdq
idiv edi
mov edi, eax
test edi, edi
jl 0x447788
test ebp, ebp
jne 0x44775f
mov eax, dword [ebx + 0x38]
mov edx, dword [ebx + 0x3c]
mov cl, 1
call fcn.004b89f0
mov ecx, dword [ebx + 0x30]
cmp ecx, eax
jne 0x44775f
mov eax, dword [ebx + 0x34]
cmp eax, edx
jne 0x44775f
mov ecx, dword [esi]
or ecx, dword [esi + 4]
je 0x447788
mov eax, dword [ebx + 0x44]
imul edi
push edx
push eax
call fcn.00447a40
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
mov eax, dword [ecx + 0x2c]
imul dword [ebx + 0x44]
push edx
push eax
call fcn.00447a40
add esp, 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x34
ret