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

Disassembly:
sub esp, 0x34
mov eax, dword [esi]
test eax, eax
mov ecx, dword [esi + 4]
push ebx
push ebp
mov ebp, dword [esp + 0x44]
push edi
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
jne 0x4457f3
cmp ecx, 0x80000000
je 0x445829
mov edi, dword [esi + 8]
test edi, edi
mov ebx, dword [esi + 0xc]
jne 0x445805
cmp ebx, 0x80000000
je 0x445829
cmp ebx, ecx
jl 0x445829
jg 0x44580f
cmp edi, eax
jbe 0x445829
mov ecx, dword [ebp + 0x48]
cmp ecx, 0x3f
jge 0x445829
mov eax, 1
shl eax, cl
cdq
sub edi, eax
sbb ebx, edx
mov dword [esi + 8], edi
mov dword [esi + 0xc], ebx
cmp dword [esi + 0x20], 0
jne 0x4459bf
mov eax, dword [esp + 0x4c]
push esi
push eax
mov eax, ebp
lea edi, [esp + 0x1c]
lea ebx, [esp + 0x18]
call fcn.004455c0
mov ecx, dword [esp + 0x1c]
add esp, 8
test ecx, ecx
je 0x4459bf
mov edi, dword [esp + 0x10]
test edi, edi
je 0x4459bf
mov eax, dword [ebp + 0x40]
imul ecx
mov ecx, eax
mov eax, dword [ebp + 0x44]
mov dword [esp + 0x2c], edx
imul edi
push 0
mov edi, edx
mov edx, dword [esp + 0x30]
push 2
push edx
push ecx
mov dword [esp + 0x38], ecx
mov ebx, eax
call fcn.0049baf0
test edi, edi
mov ecx, eax
mov dword [esp + 0x18], ecx
mov eax, edx
jg 0x4458cd
jl 0x4458a0
cmp ebx, 0x7fffffff
ja 0x4458cd
cmp dword [esp + 0x2c], 0
jg 0x4458cd
jl 0x4458b3
cmp dword [esp + 0x28], 0x7fffffff
ja 0x4458cd
mov edx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x2c]
add ecx, ebx
push edx
adc eax, edi
push eax
push ecx
call fcn.0049baf0
jmp 0x4459b8
mov ebp, ebx
xor ebx, ebx
mov ecx, edi
sar ecx, 0x1f
xor edx, edx
add edx, ebp
mov ebp, edi
adc ebp, ebx
cmp ebp, edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], ecx
ja 0x4458f9
jb 0x4458f2
xor edi, edi
cmp edx, edi
jae 0x4458f9
mov ebx, 1
jmp 0x4458fb
xor ebx, ebx
xor edi, edi
add ecx, ebx
mov ebx, edi
adc edi, ebx
add edx, dword [esp + 0x18]
mov ebx, ecx
adc ebp, eax
cmp ebp, eax
mov dword [esp + 0x38], edx
ja 0x445922
jb 0x44591b
cmp edx, dword [esp + 0x18]
jae 0x445922
mov eax, 1
jmp 0x445924
xor eax, eax
xor ecx, ecx
add ebx, eax
adc edi, ecx
mov dword [esp + 0x10], 0x3f
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x10]
mov edx, ebp
call fcn.004ab140
mov ecx, edx
xor ecx, ecx
push ecx
push 2
push edi
and eax, 1
push ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
call fcn.0049bab0
mov ecx, dword [esp + 0x14]
add ecx, eax
mov eax, dword [esp + 0x18]
adc eax, edx
push 0
mov edi, eax
mov eax, dword [esp + 0x28]
push 2
mov ebx, ecx
mov ecx, dword [esp + 0x28]
push eax
push ecx
call fcn.0049bab0
cmp dword [esp + 0x2c], edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
ja 0x4459a5
jb 0x445993
cmp dword [esp + 0x28], ebx
ja 0x4459a5
sub ebx, dword [esp + 0x28]
sbb edi, dword [esp + 0x2c]
add dword [esp + 0x20], 1
adc dword [esp + 0x24], 0
sub dword [esp + 0x10], 1
jns 0x445932
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov ebp, dword [esp + 0x48]
mov dword [esp + 0x3c], edx
mov dword [esi + 0x20], eax
mov ebx, dword [esp + 0x4c]
test ebx, ebx
je 0x445a2e
cmp dword [ebp + 0x6c], 3
jne 0x445a2e
mov eax, dword [esi + 0x14]
test eax, eax
je 0x445a2e
mov ecx, dword [ebx + 0xb8]
cdq
push 5
push edx
push eax
mov eax, dword [esi + 0x20]
cdq
push edx
push eax
mov eax, dword [ebx + 0xbc]
push eax
push ecx
call fcn.004599a0
mov ecx, dword [esp + 0x4c]
mov edi, dword [esp + 0x50]
add esp, 0x1c
test ecx, ecx
jne 0x445a09
cmp edi, 0x80000000
je 0x445a12
add ecx, eax
adc edi, edx
mov dword [esi], ecx
mov dword [esi + 4], edi
mov ecx, dword [esi + 8]
test ecx, ecx
mov edi, dword [esi + 0xc]
jne 0x445a24
cmp edi, 0x80000000
je 0x445a2e
add ecx, eax
adc edi, edx
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edi
mov ecx, dword [ebp + 8]
call fcn.00445660
test eax, eax
je 0x445a3e
or dword [esi + 0x1c], 1
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x118]
test eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0
je 0x445a69
test ebx, ebx
je 0x445a69
cmp dword [ebx + 0x20], 3
je 0x445a69
mov dword [esp + 0x14], 1
mov edx, dword [esi + 8]
mov edi, dword [esi + 0xc]
xor ebx, ebx
cmp edx, ebx
jne 0x445a7d
cmp edi, 0x80000000
je 0x445aa0
mov eax, dword [esi]
cmp eax, ebx
mov ecx, dword [esi + 4]
jne 0x445a8e
cmp ecx, 0x80000000
je 0x445aa0
cmp ecx, edi
jl 0x445aa0
jg 0x445a98
cmp eax, edx
jbe 0x445aa0
mov dword [esp + 0x14], 1
cmp dword [ebp + 0x78], ebx
jne 0x445ab4
cmp dword [ebp + 0x7c], 0x80000000
jne 0x445ab4
mov dword [ebp + 0x78], ebx
mov dword [ebp + 0x7c], ebx
cmp dword [esp + 0x10], 1
jg 0x445ca3
cmp dword [esp + 0x14], ebx
je 0x445b65
cmp dword [esi + 8], ebx
jne 0x445ae9
cmp dword [esi + 0xc], 0x80000000
jne 0x445ae9
mov eax, dword [ebp + 0x88]
mov dword [esi + 8], eax
mov ecx, dword [ebp + 0x8c]
mov dword [esi + 0xc], ecx
mov edx, dword [esi + 4]
mov eax, dword [esi]
mov ecx, dword [esi + 0xc]
push edx
mov edx, dword [esi + 8]
push eax
mov eax, dword [esi + 0x18]
push ecx
push edx
push eax
mov eax, dword [esp + 0x58]
call fcn.004456e0
add esp, 0x14
cmp dword [esi + 8], ebx
jne 0x445b22
cmp dword [esi + 0xc], 0x80000000
jne 0x445b22
mov ecx, dword [ebp + 0x78]
mov dword [esi + 8], ecx
mov edx, dword [ebp + 0x7c]
mov dword [esi + 0xc], edx
cmp dword [ebp + 0x80], ebx
jne 0x445b33
mov eax, dword [esi + 0x20]
mov dword [ebp + 0x80], eax
mov eax, dword [ebp + 0x80]
cdq
add eax, dword [esi + 8]
adc edx, dword [esi + 0xc]
mov dword [ebp + 0x78], eax
mov dword [ebp + 0x7c], edx
mov ecx, dword [esi + 0x20]
mov dword [ebp + 0x80], ecx
mov edx, dword [esi]
mov dword [ebp + 0x88], edx
mov eax, dword [esi + 4]
mov dword [ebp + 0x8c], eax
jmp 0x445ca3
mov ebx, dword [esi]
test ebx, ebx
mov eax, dword [esi + 4]
jne 0x445b95
cmp eax, 0x80000000
jne 0x445b95
cmp dword [esi + 8], ebx
jne 0x445c4d
cmp dword [esi + 0xc], eax
jne 0x445c4d
cmp dword [esi + 0x20], ebx
je 0x445ca3
jmp 0x445c4d
mov eax, dword [esi + 0x20]
test eax, eax
je 0x445c3f
mov ecx, dword [ebp + 0x7c]
cdq
mov edi, eax
mov eax, dword [ebp + 0x78]
mov dword [esp + 0x28], edi
mov ebp, eax
sub ebp, edi
mov edi, ecx
sbb edi, edx
mov dword [esp + 0x2c], edx
mov edx, ebp
mov ebp, dword [esi + 4]
sub edx, ebx
sbb edi, ebp
js 0x445bca
jg 0x445bda
test edx, edx
jae 0x445bda
mov edx, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
sub edx, eax
sbb edi, ecx
add edx, ebx
adc edi, ebp
mov dword [esp + 0x20], edx
mov edx, eax
sub edx, ebx
mov dword [esp + 0x30], edx
mov edx, ecx
sbb edx, ebp
mov dword [esp + 0x34], edx
js 0x445c03
jg 0x445bf9
cmp dword [esp + 0x30], 0
jb 0x445c03
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
jmp 0x445c0b
mov edx, ebx
sub edx, eax
mov eax, ebp
sbb eax, ecx
cmp edi, eax
jg 0x445c3b
jl 0x445c17
cmp dword [esp + 0x20], edx
jae 0x445c3b
mov eax, dword [esi + 0x20]
sar eax, 3
cdq
cmp edi, edx
jg 0x445c3b
jl 0x445c2a
cmp dword [esp + 0x20], eax
jae 0x445c3b
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
add eax, ebx
adc ecx, ebp
mov dword [esi], eax
mov dword [esi + 4], ecx
mov ebp, dword [esp + 0x48]
cmp dword [esi], 0
jne 0x445c58
cmp dword [esi + 4], 0x80000000
jne 0x445c58
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0xc]
mov dword [esi], ecx
mov dword [esi + 4], edx
mov ecx, dword [esi + 4]
mov eax, dword [esi]
push ecx
push eax
push ecx
push eax
mov eax, dword [esi + 0x18]
push eax
mov eax, dword [esp + 0x58]
call fcn.004456e0
add esp, 0x14
cmp dword [esi], 0
jne 0x445c8a
cmp dword [esi + 4], 0x80000000
jne 0x445c8a
mov ecx, dword [ebp + 0x78]
mov dword [esi], ecx
mov edx, dword [ebp + 0x7c]
mov dword [esi + 4], edx
mov eax, dword [esi + 0x20]
mov ecx, dword [esi]
mov edi, dword [esi + 4]
cdq
add eax, ecx
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edi
adc edx, edi
mov dword [ebp + 0x78], eax
mov dword [ebp + 0x7c], edx
mov eax, dword [esi]
test eax, eax
mov ecx, dword [esi + 4]
jne 0x445cbc
cmp ecx, 0x80000000
je 0x445dae
mov ebp, dword [esp + 0x48]
mov dword [ebp + 0xa8], eax
mov eax, dword [esp + 0x10]
mov edi, 1
lea ebx, [eax + 1]
cmp ebx, edi
mov dword [ebp + 0xac], ecx
jle 0x445d08
lea ecx, [ebp + 0xb0]
or ebp, 0xffffffff
sub ebp, eax
cmp dword [ecx], 0
jne 0x445d08
cmp dword [ecx + 4], 0x80000000
jne 0x445d08
lea eax, [edi + ebp]
imul eax, dword [esi + 0x20]
cdq
mov dword [ecx], eax
mov dword [ecx + 4], edx
add edi, 1
add ecx, 8
cmp edi, ebx
jl 0x445ce3
xor ebx, ebx
cmp dword [esp + 0x10], ebx
jle 0x445d45
mov eax, dword [esp + 0x48]
add eax, 0xa8
mov edx, dword [eax + 0xc]
mov edi, dword [eax + 4]
cmp edi, edx
mov ecx, dword [eax + 8]
mov ebp, dword [eax]
jl 0x445d45
jg 0x445d2e
cmp ebp, ecx
jbe 0x445d45
mov dword [eax + 8], ebp
mov dword [eax + 0xc], edi
mov dword [eax], ecx
mov dword [eax + 4], edx
add ebx, 1
add eax, 8
cmp ebx, dword [esp + 0x10]
jl 0x445d19
cmp dword [esi + 8], 0
jne 0x445d6c
cmp dword [esi + 0xc], 0x80000000
jne 0x445d6c
mov edi, dword [esp + 0x48]
mov eax, dword [edi + 0xa8]
mov dword [esi + 8], eax
mov ecx, dword [edi + 0xac]
mov dword [esi + 0xc], ecx
jmp 0x445d70
mov edi, dword [esp + 0x48]
cmp dword [esp + 0x10], 1
jle 0x445d96
mov edx, dword [esi + 4]
mov eax, dword [esi]
mov ecx, dword [esi + 0xc]
push edx
mov edx, dword [esi + 8]
push eax
mov eax, dword [esi + 0x18]
push ecx
push edx
push eax
mov eax, dword [esp + 0x58]
call fcn.004456e0
add esp, 0x14
mov eax, dword [esi + 0xc]
cmp eax, dword [edi + 0x7c]
mov ecx, dword [esi + 8]
jl 0x445dae
jg 0x445da8
cmp ecx, dword [edi + 0x78]
jbe 0x445dae
mov dword [edi + 0x78], ecx
mov dword [edi + 0x7c], eax
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x445dca
mov ecx, 1
mov dword [esi + 0x1c], 0
cmp dword [eax + 0x20], ecx
jne 0x445dca
mov dword [esi + 0x1c], ecx
pop edi
pop ebp
pop ebx
add esp, 0x34
ret