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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0x24]
push esi
push edi
mov edi, ecx
mov ecx, dword [ebp + 0x20]
push ebx
push ecx
mov dword [ebp - 4], edi
mov dword [edi + 0x48], ecx
mov dword [edi + 0x4c], ebx
mov dword [edi + 0xb0], 0
mov dword [edi + 0xd0], 0
mov dword [edi + 0xd4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
movzx eax, word [eax + 6]
cdq
push edx
push eax
call fcn.0058c440
mov ebx, edx
mov esi, eax
test ebx, ebx
jb 0x574409
jbe 0x574409
or esi, 0xffffffff
xor ebx, ebx
mov eax, esi
shr eax, 0xa
push eax
lea eax, [edi + 0xa0]
push eax
call fcn.00581990
mov ecx, eax
add esp, 8
mov eax, dword [ebp + 0x2c]
cmp ecx, eax
mov dword [ebp - 8], ecx
cmovb eax, ecx
test ebx, ebx
ja 0x574437
jb 0x574435
cmp esi, eax
jae 0x574437
mov eax, esi
mov ebx, dword [ebp + 0x10]
xor edx, edx
movzx ecx, word [ebx + 6]
div ecx
lea edx, [edi + 0xc0]
mov dword [edi + 0xa8], eax
movzx ecx, word [ebx + 6]
imul ecx, eax
mov eax, dword [ebp + 0x28]
mov dword [edi + 0xbc], eax
mov eax, dword [ebp + 0x20]
mov dword [edi + 0xc8], edx
mov dword [edi + 0xa4], ecx
mov ecx, dword [ebp + 0x24]
shld ecx, eax, 1
mov dword [edi + 0xcc], 0
mov dword [edx + 4], ecx
add eax, eax
mov dword [edx], eax
xor edx, edx
mov esi, dword [0x656450]
mov eax, dword [ebp - 8]
mov dword [0x656450], 2
div dword [edi + 0xa4]
mov ecx, dword [edi + 0xa8]
mov ebx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x18]
imul ecx, eax
mov dword [edi + 0x9c], eax
mov eax, dword [ebp + 8]
add eax, dword [ebp + 0x20]
mov dword [edi + 0x88], ecx
mov dword [0x656450], esi
mov esi, dword [ebp + 0xc]
mov ecx, esi
adc ecx, dword [ebp + 0x24]
add eax, 0xffffffff
mov dword [edi + 0xac], 0
mov edi, ebx
adc ecx, 0xffffffff
add edi, dword [ebp + 0x20]
mov dword [ebp + 0x2c], edi
adc edx, dword [ebp + 0x24]
add dword [ebp + 0x2c], 0xffffffff
mov edi, dword [ebp - 4]
adc edx, 0xffffffff
mov dword [ebp + 0x28], edx
mov edx, dword [ebp + 8]
cmp ecx, dword [ebp + 0x18]
jb 0x57453a
ja 0x574505
cmp eax, ebx
jb 0x57453a
cmp esi, dword [ebp + 0x28]
ja 0x57453a
jb 0x574511
cmp edx, dword [ebp + 0x2c]
ja 0x57453a
mov edi, dword [ebp + 0x1c]
cmp dword [ebp + 0x10], edi
mov edi, dword [ebp - 4]
jne 0x57453a
cmp esi, dword [ebp + 0x18]
jb 0x57452f
ja 0x574527
cmp edx, ebx
jbe 0x57452f
sub eax, dword [ebp + 0x2c]
sbb ecx, dword [ebp + 0x28]
jmp 0x574548
mov ecx, dword [ebp + 0x18]
mov eax, ebx
sub eax, edx
sbb ecx, esi
jmp 0x574548
xorps xmm0, xmm0
movlpd qword [ebp + 8], xmm0
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push dword [ebp + 0x24]
mov dword [edi + 0x20], eax
push dword [ebp + 0x20]
mov dword [edi + 0x24], ecx
mov ecx, edi
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push ebx
push dword [ebp + 0x10]
push esi
push edx
call fcn.00574d30
mov eax, dword [edi + 0x78]
mov dword [edi + 0x28], eax
mov eax, dword [edi + 0x7c]
mov dword [edi + 0x2c], eax
mov eax, dword [edi + 0x80]
mov dword [edi + 0x30], eax
mov eax, dword [edi + 0x84]
mov dword [edi + 0x34], eax
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x28