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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov edx, dword [ebp + 0x20]
xor eax, eax
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov ecx, edx
push 9
pop esi
sub esi, dword [ebp + 0x48]
cmp dword [ebp + 0x48], 9
cmova esi, eax
inc eax
sub ecx, esi
shl eax, cl
cmp esi, 9
sbb ecx, ecx
xor edi, edi
and ecx, eax
inc edi
mov eax, dword [ebx + 0xb8]
mov dword [ebp - 0x28], ecx
lea ecx, [edx + 2]
shl edi, cl
xor edx, edx
mov dword [ebp + 0x48], eax
mov ecx, edi
shl ecx, 2
imul ecx, eax
mov eax, dword [ebp + 0x18]
div ecx
xor edx, edx
lea esi, [eax + 1]
mov eax, dword [ebp + 0x18]
div edi
mov edi, dword [ebp + 0x48]
mov ecx, esi
imul ecx, dword [ebp + 0x48]
inc eax
cmp eax, edi
cmovb edi, eax
cmp esi, 1
mov esi, dword [ebp + 0x18]
cmova edi, ecx
xor edx, edx
push esi
mov dword [ebp + 0x48], edi
lea eax, [esi - 1]
add eax, edi
div edi
mov edx, eax
and edx, 0x1ffff
cmp edx, 0x7fff
lea ecx, [eax + 0xffff]
cmovb eax, ecx
mov dword [ebp - 0x10], eax
call fcn.00456004
mov esi, dword [ebp - 0x10]
pop ecx
cmp dword [ebp + 0x10], eax
jb 0x44383a
mov dword [ebp - 0x1c], edi
jmp 0x44384d
push esi
call fcn.00456004
pop ecx
mov ecx, eax
xor edx, edx
mov eax, dword [ebp + 0x10]
div ecx
mov dword [ebp - 0x1c], eax
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x14], edx
cmp edi, 1
jne 0x4438b6
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 0x18]
cmp dword [ebp + 0x1c], edx
je 0x44388d
sub esp, 0xc
lea esi, [ebp + 0x3c]
mov edi, esp
push dword [ebp + 0x1c]
movsd dword es:[edi], dword [esi]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
movsd dword es:[edi], dword [esi]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
movsd dword es:[edi], dword [esi]
push eax
call fcn.00456418
add esp, 0x24
jmp 0x443bd2
sub esp, 0x28
lea esi, [ebp + 0x20]
push 0xa
pop ecx
mov edi, esp
push edx
push edx
push dword [ebp + 0x18]
rep movsd dword es:[edi], dword [esi]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
call fcn.00452788
add esp, 0x44
jmp 0x443bd2
push esi
call fcn.00456004
mov ecx, dword [ebx + 8]
push 0
push 0
mov dword [ecx + 4], eax
lea eax, [ebp - 0x8c]
push eax
call fcn.004519dc
mov eax, dword [ebx + 0xbc]
add esp, 0x10
inc eax
cmp edi, eax
jbe 0x443938
mov dword [ebp - 4], edi
lea esi, [ebx + 0xe4]
sub esp, 0xc
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, ebx
push dword [esi + 4]
call fcn.0044fae8
and dword [esi + 0xbc], 0
lea eax, [ebp - 4]
add esp, 4
lea esi, [ebx + 0xe4]
mov edi, esp
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00447780
add esp, 0x10
mov dword [ebx + 4], eax
test eax, eax
jne 0x44392b
push 0xffffffffffffffc0
pop eax
jmp 0x443bd2
mov eax, dword [ebp - 4]
mov edi, dword [ebp + 0x48]
dec eax
mov dword [ebx + 0xbc], eax
and dword [ebp - 0x18], 0
xor esi, esi
test edi, edi
je 0x443b8e
mov eax, dword [ebp + 0x18]
lea ecx, [edi - 1]
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 4], esi
mov ecx, dword [ebp - 0x10]
cmp eax, ecx
cmovb ecx, eax
push ecx
mov dword [ebp - 8], ecx
call fcn.00456004
mov edx, eax
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 0x14]
pop ecx
mov ecx, dword [0x446eec]
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x20], eax
cmp edi, dword [ebp - 0x1c]
jae 0x443988
mov dword [ebp - 0x24], edx
jmp 0x443993
mov eax, dword [0x446ee8]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ecx
mov eax, dword [ebx + 4]
xor edx, edx
test edi, edi
mov edi, dword [0x446ee8]
push 0xa
cmovne edx, dword [ebp - 0x28]
mov dword [esi + eax], edi
mov dword [esi + eax + 4], ecx
mov eax, dword [ebx + 4]
mov ecx, dword [ebp - 0xc]
sub ecx, edx
add ecx, dword [ebp + 0x14]
mov dword [esi + eax + 8], ecx
xor ecx, ecx
mov eax, dword [ebx + 4]
mov dword [esi + eax + 0xc], edx
mov eax, dword [ebx + 4]
mov edx, dword [ebp - 8]
mov dword [esi + eax + 0x10], edx
cmp dword [ebx + 0xc4], ecx
mov eax, dword [ebx + 4]
cmove ecx, dword [ebp + 0x1c]
mov dword [esi + eax + 0x64], ecx
mov eax, dword [ebx + 4]
mov ecx, dword [ebp - 0x2c]
mov dword [esi + eax + 0x70], ecx
and dword [esi + eax + 0x74], 0
add esi, 0x3c
mov edi, dword [ebx + 4]
add edi, esi
lea esi, [ebp + 0x20]
pop ecx
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp - 4]
test edi, edi
je 0x443a0f
mov eax, dword [ebx + 4]
and dword [esi + eax + 0x5c], 0
mov eax, dword [ebx + 4]
mov ecx, dword [ebp - 0x20]
mov dword [esi + eax + 0x14], ecx
mov ecx, dword [ebp - 0x24]
mov dword [esi + eax + 0x18], ecx
mov ecx, dword [ebx + 4]
mov eax, dword [ebx + 0xc]
mov dword [esi + ecx + 0x68], eax
mov ecx, dword [ebx + 4]
mov eax, dword [ebx + 8]
mov dword [esi + ecx + 0x6c], eax
xor ecx, ecx
mov eax, dword [ebx + 4]
test edi, edi
sete cl
mov dword [esi + eax + 0x24], ecx
xor ecx, ecx
mov eax, dword [ebx + 4]
cmp edi, dword [ebp - 0x30]
sete cl
mov dword [esi + eax + 0x28], ecx
lea ecx, [ebx + 0x10]
mov eax, dword [ebx + 4]
and dword [esi + eax + 0x2c], 0
cmp dword [ebp + 0x40], 0
mov eax, dword [ebx + 4]
mov dword [esi + eax + 0x34], ecx
lea ecx, [ebx + 0x14]
mov eax, dword [ebx + 4]
mov dword [esi + eax + 0x38], ecx
je 0x443a8a
mov eax, dword [ebp - 0xc]
add eax, dword [ebp + 0x14]
push edx
push eax
lea eax, [ebp - 0x8c]
push eax
call fcn.00454a64
add esp, 0xc
mov eax, dword [ebx + 4]
add eax, esi
push eax
push 0x44f680
push dword [ebx]
call fcn.004771d8
mov eax, dword [ebp - 0x34]
add esp, 0xc
add dword [ebp - 0x14], eax
add esi, 0x78
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp - 8]
sub eax, ecx
add dword [ebp - 0xc], ecx
inc edi
mov dword [ebp + 0x18], eax
mov dword [ebp - 0x18], edi
mov dword [ebp - 4], esi
cmp edi, dword [ebp + 0x48]
jb 0x443958
xor esi, esi
xor edi, edi
and dword [ebp + 0x14], esi
xor ecx, ecx
mov dword [ebp + 0x18], ecx
mov eax, dword [ebx + 4]
cmp dword [ecx + eax + 0x2c], 0
je 0x443ad2
and dword [ecx + eax + 8], 0
mov eax, dword [ebx + 4]
mov eax, dword [ecx + eax + 0x1c]
push eax
mov dword [ebp - 8], eax
call fcn.004526ac
test eax, eax
pop ecx
mov ecx, dword [ebp - 8]
cmovne esi, ecx
test esi, esi
jne 0x443b0a
lea eax, [ecx + edi]
cmp eax, dword [ebp + 0x10]
push 0xffffffffffffffba
pop eax
cmova esi, eax
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x443b73
test esi, esi
jne 0x443b31
mov eax, dword [ebx + 4]
push ecx
mov ecx, dword [ebp + 0x18]
push dword [ecx + eax + 0x14]
mov eax, dword [ebp + 0xc]
add eax, edi
push eax
call fcn.00450aac
mov eax, dword [ebp + 0x14]
add esp, 0xc
cmp eax, dword [ebp - 0x1c]
jb 0x443b4f
mov eax, dword [ebx + 4]
mov ecx, dword [ebp + 0x18]
push dword [ecx + eax + 0x18]
push dword [ecx + eax + 0x14]
push dword [ebx + 8]
call fcn.00453378
add esp, 0xc
mov eax, dword [ebx + 4]
mov ebx, dword [ebp + 0x18]
mov ecx, dword [0x446ee8]
mov edx, dword [0x446eec]
mov dword [ebx + eax + 0x14], ecx
mov ecx, ebx
mov ebx, dword [ebp + 8]
mov dword [ecx + eax + 0x18], edx
mov eax, dword [ebp + 0x14]
jmp 0x443b76
mov ecx, dword [ebp + 0x18]
add edi, dword [ebp - 8]
add ecx, 0x78
inc eax
mov dword [ebp + 0x18], ecx
mov dword [ebp + 0x14], eax
cmp eax, dword [ebp + 0x48]
jb 0x443ad2
jmp 0x443b90
xor edi, edi
cmp dword [ebp + 0x40], 0
je 0x443bcb
lea eax, [ebp - 0x8c]
push eax
call fcn.0047280c
lea ebx, [edi + 4]
pop ecx
cmp ebx, dword [ebp + 0x10]
jbe 0x443bb2
push 0xffffffffffffffba
pop eax
mov esi, eax
jmp 0x443bcb
mov dword [ebp + 0x18], eax
lea eax, [ebp + 0x18]
push 4
push eax
mov eax, dword [ebp + 0xc]
add eax, edi
push eax
call fcn.00443ed0
add esp, 0xc
mov edi, ebx
test esi, esi
cmovne edi, esi
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret