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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x80
mov esi, dword [ebp + 0x2c]
mov eax, dword [0x5f3418]
xor eax, ebp
mov dword [esp + 0x78], eax
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x18]
mov dword [esp + 0x10], ecx
mov edx, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x20]
mov dword [esp], ecx
mov ecx, dword [ebp + 0x24]
cmp eax, 0xffffffff
mov dword [esp + 0xc], edx
mov dword [esp + 4], ecx
je 0x4c54ce
cmp ecx, 0xffffffff
je 0x4c54ce
mov ecx, edx
or ecx, dword [esp]
mov dword [esp + 8], eax
jne 0x4c54eb
cmp dword [esp + 4], 4
jne 0x4c54eb
mov edx, ebx
shld edx, edi, 0x18
mov eax, esi
mov esi, ebx
shr esi, 8
mov ecx, 0x225c17c
cmp ecx, edx
mov ecx, 0
sbb ecx, esi
mov esi, eax
mov eax, dword [esp]
jb 0x4c563e
mov ecx, 0x3b9aca00
mov eax, edi
mul ecx
imul ebx, ebx, 0x3b9aca00
mov ecx, dword [esp + 8]
mov edi, ecx
shr edi, 2
add edi, eax
adc ebx, edx
xor eax, eax
mov dword [esi + 4], eax
mov dword [esi], eax
and ecx, 3
jmp 0x4c55f7
mov ecx, ebx
shr ecx, 0x1f
mov esi, dword [esp]
mov edx, esi
xor edx, ebx
shr edx, 0x1f
cmp eax, 0xffffffff
jne 0x4c5650
jmp 0x4c5668
mov ecx, edx
or ecx, dword [esp]
jne 0x4c5547
cmp dword [esp + 4], 0x190
jne 0x4c5547
mov ecx, 0xbf94d454
cmp ecx, edi
mov ecx, 0xd6
sbb ecx, ebx
mov eax, dword [esp]
jb 0x4c563e
mov ecx, 0x989680
mov eax, edi
mul ecx
mov dword [esp], edx
mov edx, 0x51eb851f
mov edi, eax
mov ecx, dword [esp + 8]
mov eax, ecx
mul edx
imul ebx, ebx, 0x989680
shr edx, 7
add edi, edx
adc ebx, dword [esp]
imul eax, edx, 0x190
jmp 0x4c55ee
mov ecx, edx
mov eax, dword [esp]
or ecx, eax
jne 0x4c559f
cmp dword [esp + 4], 0xfa0
jne 0x4c559f
mov ecx, 0x7bd04b55
cmp ecx, edi
mov ecx, 0x863
sbb ecx, ebx
jb 0x4c563e
mov ecx, 0xf4240
mov eax, edi
mul ecx
mov dword [esp], edx
mov edx, 0x10624dd3
mov edi, eax
mov ecx, dword [esp + 8]
mov eax, ecx
mul edx
imul ebx, ebx, 0xf4240
shr edx, 8
add edi, edx
adc ebx, dword [esp]
imul eax, edx, 0xfa0
jmp 0x4c55ee
mov ecx, edx
or ecx, eax
jne 0x4c55ff
cmp dword [esp + 4], 0x3d0900
jne 0x4c55ff
mov ecx, 0xa5a64af6
cmp ecx, edi
mov ecx, 0x20c49b
sbb ecx, ebx
jb 0x4c563e
mov ecx, 0x3e8
mov eax, edi
mul ecx
mov dword [esp], edx
mov edx, 0x431bde83
mov edi, eax
mov ecx, dword [esp + 8]
mov eax, ecx
mul edx
imul ebx, ebx, 0x3e8
shr edx, 0x14
add edi, edx
adc ebx, dword [esp]
imul eax, edx, 0x3d0900
sub ecx, eax
xor eax, eax
mov dword [esi + 4], eax
mov dword [esi], eax
mov dword [esi + 8], ecx
jmp 0x4c56a3
cmp edx, 1
mov ecx, eax
sbb ecx, 0
jl 0x4c563e
cmp dword [esp + 4], 0
jne 0x4c563e
test ebx, ebx
js 0x4c5a1d
mov ecx, dword [esp + 0xc]
mov esi, eax
mov eax, ecx
xor eax, 1
or eax, esi
jne 0x4c5a93
xor eax, eax
mov ecx, dword [ebp + 0x2c]
mov dword [ecx + 4], eax
mov dword [ecx], eax
mov eax, dword [esp + 8]
mov dword [ecx + 8], eax
jmp 0x4c56a3
mov ecx, ebx
shr ecx, 0x1f
mov edx, eax
xor edx, ebx
shr edx, 0x1f
mov esi, eax
mov eax, dword [esp + 8]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0xc]
or ecx, esi
mov ecx, dword [esp + 4]
jne 0x4c56ba
test ecx, ecx
jne 0x4c56ba
mov ecx, dword [esp + 0x14]
xor ebx, ebx
xor eax, eax
dec eax
mov edi, eax
add edi, 1
adc ebx, 0x7fffffff
test cl, cl
mov ecx, eax
cmovne ecx, edi
mov esi, dword [ebp + 0x2c]
mov dword [esi], ecx
mov ecx, 0x7fffffff
cmovne ecx, ebx
mov dword [esi + 4], ecx
test dl, dl
cmove edi, eax
mov dword [esi + 8], 0xffffffff
mov eax, 0x7fffffff
cmove ebx, eax
mov ecx, dword [esp + 0x78]
xor ecx, ebp
call fcn.00512ee3
mov eax, edi
mov edx, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
cmp ecx, 0xffffffff
je 0x4c592d
mov dword [esp + 0x24], edx
mov ecx, eax
mov eax, ebx
sar eax, 0x1f
xor ebx, eax
xor eax, edi
mov esi, 0xee6b2800
sub esi, ecx
cmp byte [esp + 0x14], 0
cmove esi, ecx
mov ecx, 0xee6b2800
mul ecx
mov ecx, edx
mov edi, eax
mov eax, ebx
mov edx, 0xee6b2800
mul edx
imul eax, ebx, 0xee6b2800
add edi, esi
mov dword [esp + 0x10], edi
adc eax, ecx
mov dword [esp + 0x1c], eax
adc edx, 0
mov dword [esp + 8], edx
setb byte [esp + 0x18]
mov edx, dword [esp]
mov eax, edx
sar eax, 0x1f
mov ecx, eax
xor eax, dword [esp + 0xc]
mov edi, 0xee6b2800
mov esi, dword [esp + 4]
sub edi, esi
xor ecx, edx
test edx, edx
cmovns edi, esi
mov esi, 0xee6b2800
mul esi
mov dword [esp], edx
mov ebx, eax
mov eax, ecx
mul esi
mov esi, edx
imul edx, ecx, 0xee6b2800
add ebx, edi
adc edx, dword [esp]
adc esi, 0
pcmpeqd xmm0, xmm0
lea edi, [esp + 0x50]
movdqa xmmword [edi], xmm0
movzx ecx, byte [esp + 0x18]
setb al
movzx eax, al
mov dword [esp + 0x44], eax
push eax
mov dword [esp + 0x4c], esi
push esi
mov dword [esp + 0x14], edx
push edx
mov dword [esp + 0x4c], ebx
push ebx
mov dword [esp + 0x5c], ecx
push ecx
push dword [esp + 0x1c]
push dword [esp + 0x34]
push dword [esp + 0x2c]
push edi
call fcn.004c5120
add esp, 0x24
mov ebx, dword [edi]
mov eax, dword [edi + 4]
mov dword [esp], eax
mov esi, dword [edi + 0xc]
mov ecx, dword [edi + 8]
cmp byte [ebp + 8], 0
mov dword [esp + 0x20], esi
je 0x4c580c
mov edi, ebx
xor eax, eax
mov edx, dword [esp]
test edx, edx
sets al
xor edx, edx
mov ebx, ecx
or ebx, esi
setne dl
cmovne eax, edx
cmp al, 1
mov ebx, edi
jne 0x4c580c
xor ecx, ecx
xor ebx, ebx
dec ebx
mov edi, ebx
add edi, 1
mov eax, 0x7fffffff
adc eax, ecx
cmp byte [esp + 0x24], 0
mov edx, 0x7fffffff
cmove eax, edx
cmove edi, ebx
mov ebx, edi
mov dword [esp + 0x50], edi
mov dword [esp], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], ebx
mov eax, ebx
mov esi, dword [esp + 0x40]
mul esi
mov dword [esp + 0x38], edx
mov dword [esp + 0x18], eax
mov eax, dword [esp]
mul esi
mov dword [esp + 0x34], edx
mov dword [esp + 4], eax
mov eax, ebx
mov edi, dword [esp + 0xc]
mul edi
mov dword [esp + 0x30], edx
mov dword [esp + 0x3c], eax
mov eax, ecx
mul esi
mov dword [esp + 0x2c], eax
imul ecx, edi
add ecx, edx
mov ebx, dword [esp + 0x20]
imul ebx, esi
add ebx, ecx
mov edi, dword [esp + 0x44]
mov eax, dword [esp + 0x28]
imul edi, eax
mov esi, dword [esp + 0x48]
mul esi
mov ecx, eax
add edi, edx
mov eax, dword [esp]
imul esi, eax
add esi, edi
mul dword [esp + 0xc]
add ecx, dword [esp + 0x2c]
adc esi, ebx
add ecx, eax
mov dword [esp], ecx
adc esi, edx
xor ecx, ecx
mov eax, dword [esp + 0x30]
add eax, dword [esp + 0x34]
setb cl
mov ebx, dword [esp + 4]
add ebx, dword [esp + 0x38]
mov edx, dword [esp + 8]
sbb edx, 0
mov edi, dword [esp + 0x4c]
sbb edi, 0
add eax, dword [esp]
adc ecx, esi
sub edx, eax
sbb edi, ecx
mov ecx, ebx
add ecx, dword [esp + 0x3c]
sbb edx, 0
sbb edi, 0
mov esi, dword [esp + 0x10]
sub esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov eax, ebx
mov dword [esp + 4], ecx
sbb eax, ecx
sbb edx, 0
sbb edi, 0
mov ecx, edx
or ecx, edi
je 0x4c5948
cmp edx, 0x77359400
mov ecx, edi
sbb ecx, 0
jb 0x4c5958
xor ebx, dword [esp + 4]
mov eax, dword [esp + 0x10]
xor eax, dword [esp + 0x18]
xor edx, 0x77359400
or eax, edx
or ebx, edi
or ebx, eax
sete al
mov edx, dword [esp + 0x14]
and al, dl
movzx ecx, al
dec ecx
xor eax, eax
dec eax
mov esi, eax
add esi, 1
mov ebx, 0x7fffffff
adc ebx, 0
test dl, dl
cmove esi, eax
mov eax, 0x7fffffff
cmove ebx, eax
jmp 0x4c59b6
mov ecx, dword [ebp + 0x2c]
mov dword [ecx], edi
mov dword [ecx + 4], ebx
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x10]
mov dword [ecx + 0xc], eax
xor edi, edi
xor ebx, ebx
jmp 0x4c56a3
push 0
push 0xee6b2800
push eax
push esi
call fcn.00539110
jmp 0x4c5981
pcmpeqd xmm0, xmm0
lea ebx, [esp + 0x60]
movdqa xmmword [ebx], xmm0
xor ecx, ecx
push ecx
push ecx
push ecx
mov ecx, 0xee6b2800
push ecx
push edi
push edx
push eax
push esi
push ebx
call fcn.004c5120
add esp, 0x24
mov eax, dword [ebx]
mov edx, dword [ebx + 4]
imul edi, eax, 0x1194d800
add edi, esi
mov ecx, edi
mov esi, eax
mov ebx, edx
cmp byte [esp + 0x14], 0
je 0x4c59b6
xor ecx, ecx
mov esi, eax
neg esi
mov ebx, 0
sbb ebx, edx
test edi, edi
je 0x4c59b6
not eax
not edx
mov ecx, 0xee6b2800
sub ecx, edi
mov esi, eax
mov ebx, edx
mov eax, dword [ebp + 0x2c]
mov dword [eax], esi
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
cmp byte [esp + 0x24], 0
je 0x4c5a08
mov edx, dword [esp + 0x58]
or edx, eax
mov esi, dword [esp + 0x5c]
or esi, ecx
xor edi, edi
or esi, edx
mov ebx, 0
je 0x4c56a3
xor edx, edx
neg eax
sbb edx, ecx
xor edi, edi
dec edi
add edi, 1
mov ebx, 0x7fffffff
adc ebx, 0
or ebx, edx
or edi, eax
jmp 0x4c56a3
xor edx, edx
dec edx
and eax, edx
mov edx, 0x7fffffff
and ecx, edx
mov edi, eax
mov ebx, ecx
jmp 0x4c56a3
xor ecx, ecx
cmp dword [esp + 8], 0
setne cl
mov dword [esp + 4], ecx
mov edx, ecx
neg edx
mov ecx, edx
sub ecx, edi
mov dword [esp + 0x14], ecx
sbb edx, ebx
mov dword [esp + 0x10], edx
push eax
push dword [esp + 0x10]
push edx
push ecx
call fcn.00539110
mov ecx, edx
xor ebx, ebx
mov dword [esp + 0x1c], eax
mov edi, eax
neg edi
sbb ebx, edx
mul dword [esp + 0xc]
mov esi, dword [esp]
imul esi, dword [esp + 0x1c]
mov dword [esp], esi
add edx, dword [esp]
imul ecx, dword [esp + 0xc]
add ecx, edx
sub eax, dword [esp + 0x14]
sbb ecx, dword [esp + 0x10]
sub eax, dword [esp + 4]
mov edx, dword [ebp + 0x2c]
mov dword [edx], eax
sbb ecx, 0
mov dword [edx + 4], ecx
mov eax, dword [esp + 8]
mov dword [edx + 8], eax
jmp 0x4c56a3
push esi
push ecx
push ebx
push edi
call fcn.00539110
mov dword [esp + 4], edx
mov ecx, eax
mul dword [esp + 0xc]
imul esi, ecx
add edx, esi
mov esi, dword [esp + 4]
imul esi, dword [esp + 0xc]
add esi, edx
sub edi, eax
sbb ebx, esi
mov edx, dword [ebp + 0x2c]
mov dword [edx], edi
mov dword [edx + 4], ebx
mov eax, dword [esp + 8]
mov dword [edx + 8], eax
mov edi, ecx
mov ebx, dword [esp + 4]
jmp 0x4c56a3