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

Disassembly:
sub esp, 0x88
push ebx
push ebp
push esi
mov esi, eax
movzx eax, byte [esi + 6]
cdq
shld edx, eax, 8
shl eax, 8
mov ecx, eax
movzx eax, byte [esi + 5]
mov ebx, edx
cdq
or ecx, eax
movzx eax, byte [esi + 4]
or ebx, edx
shld ebx, ecx, 8
cdq
shl ecx, 8
mov ebp, ecx
or ebp, eax
mov ecx, ebx
or ecx, edx
mov eax, ecx
shld eax, ebp, 6
mov dword [esp + 0x78], eax
movzx eax, byte [esi + 0xc]
cdq
shld edx, eax, 8
shl eax, 8
mov ecx, eax
movzx eax, byte [esi + 0xb]
mov ebx, edx
cdq
or ecx, eax
movzx eax, byte [esi + 0xa]
or ebx, edx
shld ebx, ecx, 8
cdq
shl ecx, 8
or ecx, eax
or ebx, edx
mov eax, ecx
mov ecx, ebx
shld ecx, eax, 3
add eax, eax
add eax, eax
add eax, eax
mov dword [esp + 0x3c], eax
movzx eax, byte [esi + 0x13]
cdq
shld edx, eax, 8
shl eax, 8
mov dword [esp + 0x40], ecx
mov ecx, eax
movzx eax, byte [esi + 0x12]
mov ebx, edx
cdq
or ecx, eax
movzx eax, byte [esi + 0x11]
or ebx, edx
shld ebx, ecx, 8
cdq
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0x10]
or ebx, edx
shld ebx, ecx, 8
cdq
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0x19]
or ebx, edx
cdq
shld edx, eax, 8
shl ebp, 6
shl eax, 8
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x74], ebp
mov ecx, eax
mov ebx, edx
movzx eax, byte [esi + 0x18]
cdq
or ecx, eax
movzx eax, byte [esi + 0x17]
or ebx, edx
shld ebx, ecx, 8
cdq
or ebx, edx
shl ecx, 8
or ecx, eax
mov eax, ecx
mov ecx, ebx
shld ecx, eax, 5
shl eax, 5
mov dword [esp + 0x24], eax
movzx eax, byte [esi + 0x1f]
cdq
shld edx, eax, 8
shl eax, 8
mov dword [esp + 0x28], ecx
mov ecx, eax
movzx eax, byte [esi + 0x1e]
cdq
or ecx, eax
movzx eax, byte [esi + 0x1d]
and ecx, 0x7fff
xor edx, edx
shld edx, ecx, 8
mov ebx, edx
cdq
and eax, 0x7fffff
shl ecx, 8
or ecx, eax
xor edx, edx
or ebx, edx
mov eax, ecx
mov ecx, ebx
shld ecx, eax, 2
add eax, eax
add eax, eax
mov dword [esp + 0x8c], eax
add eax, 0x1000000
adc ecx, edx
mov dword [esp + 0x2c], eax
movzx eax, byte [esi + 3]
cdq
shld edx, eax, 8
mov dword [esp + 0x30], ecx
shl eax, 8
mov ecx, eax
movzx eax, byte [esi + 2]
mov ebx, edx
cdq
or ecx, eax
movzx eax, byte [esi + 1]
or ebx, edx
shld ebx, ecx, 8
cdq
shl ecx, 8
or ecx, eax
movzx eax, byte [esi]
or ebx, edx
mov edx, ecx
mov ecx, ebx
shld ecx, edx, 8
shl edx, 8
mov ebx, edx
cdq
or ecx, edx
mov edx, dword [esp + 0x30]
or ebx, eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x10], ecx
mov cl, 0x19
call fcn.005c7110
push 0
push 0x13
push edx
push eax
call fcn.005c4bf0
add ebx, eax
mov eax, dword [esp + 0x10]
adc eax, edx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x78]
add ebp, 0x1000000
adc eax, 0
mov dword [esp + 0x58], eax
movzx eax, byte [esi + 9]
cdq
shld edx, eax, 8
shl eax, 8
mov ecx, eax
movzx eax, byte [esi + 8]
mov dword [esp + 0x54], ebp
mov ebp, edx
cdq
or ecx, eax
movzx eax, byte [esi + 7]
or ebp, edx
shld ebp, ecx, 8
cdq
push 0
push 0x20
shl ecx, 8
or ebp, edx
or ecx, eax
push ebp
push ecx
call fcn.005c4bf0
mov ebp, eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x58]
mov cl, 0x19
call fcn.005c7110
add ebp, eax
mov eax, dword [esp + 0x10]
adc eax, edx
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x3c]
add eax, 0x1000000
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x40]
adc eax, 0
mov dword [esp + 0x48], eax
movzx eax, byte [esi + 0xf]
cdq
shld edx, eax, 8
shl eax, 8
mov ecx, eax
movzx eax, byte [esi + 0xe]
mov dword [esp + 0x6c], ebp
mov ebp, edx
cdq
or ecx, eax
movzx eax, byte [esi + 0xd]
or ebp, edx
shld ebp, ecx, 8
cdq
push 0
push 4
shl ecx, 8
or ebp, edx
or ecx, eax
push ebp
push ecx
call fcn.005c4bf0
mov ebp, eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x48]
mov cl, 0x19
call fcn.005c7110
add ebp, eax
mov eax, dword [esp + 0x10]
adc eax, edx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x5c]
add eax, 0x1000000
mov dword [esp + 0x34], ebp
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x60]
adc eax, 0
mov dword [esp + 0x50], eax
movzx eax, byte [esi + 0x16]
cdq
shld edx, eax, 8
shl eax, 8
mov ecx, eax
movzx eax, byte [esi + 0x15]
mov ebp, edx
cdq
or ecx, eax
movzx eax, byte [esi + 0x14]
or ebp, edx
shld ebp, ecx, 8
cdq
push 0
push 0x80
shl ecx, 8
or ebp, edx
or ecx, eax
push ebp
push ecx
call fcn.005c4bf0
mov ebp, eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x50]
mov cl, 0x19
call fcn.005c7110
add ebp, eax
mov eax, dword [esp + 0x10]
adc eax, edx
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x24]
add eax, 0x1000000
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x28]
adc eax, 0
mov dword [esp + 0x20], eax
movzx eax, byte [esi + 0x1c]
cdq
shld edx, eax, 8
shl eax, 8
mov ecx, eax
movzx eax, byte [esi + 0x1b]
mov dword [esp + 0x64], ebp
mov ebp, edx
cdq
or ecx, eax
movzx eax, byte [esi + 0x1a]
or ebp, edx
shld ebp, ecx, 8
cdq
push 0
push 0x10
shl ecx, 8
or ebp, edx
or ecx, eax
push ebp
push ecx
call fcn.005c4bf0
mov esi, eax
mov eax, dword [esp + 0x1c]
mov ebp, edx
mov edx, dword [esp + 0x20]
mov cl, 0x19
call fcn.005c7110
mov ecx, dword [esp + 0x18]
add esi, eax
adc ebp, edx
mov edx, dword [esp + 0x6c]
mov eax, ebx
add eax, 0x2000000
adc ecx, 0
add edx, 0x2000000
mov dword [esp + 0x7c], edx
mov edx, dword [esp + 0x70]
adc edx, 0
mov dword [esp + 0x80], edx
mov edx, dword [esp + 0x34]
add edx, 0x2000000
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x38]
adc edx, 0
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x64]
add edx, 0x2000000
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x68]
adc edx, 0
mov dword [esp + 0x10], edx
mov edx, esi
add edx, 0x2000000
mov dword [esp + 0x84], edx
adc ebp, 0
mov edx, eax
and edx, 0xfc000000
sub ebx, edx
mov edx, ecx
mov cl, 0x1a
mov dword [edi], ebx
call fcn.005c7110
mov ecx, eax
mov eax, dword [esp + 0x54]
and eax, 0xfe000000
sub ecx, eax
add ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x7c]
mov dword [edi + 4], ecx
mov ecx, dword [esp + 0x6c]
mov edx, eax
and edx, 0xfc000000
sub ecx, edx
mov edx, dword [esp + 0x80]
mov dword [edi + 8], ecx
mov cl, 0x1a
call fcn.005c7110
mov ecx, eax
mov eax, dword [esp + 0x44]
and eax, 0xfe000000
sub ecx, eax
add ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x14]
mov dword [edi + 0xc], ecx
mov ecx, dword [esp + 0x34]
mov edx, eax
and edx, 0xfc000000
sub ecx, edx
mov edx, dword [esp + 0x18]
mov dword [edi + 0x10], ecx
mov cl, 0x1a
call fcn.005c7110
mov ecx, eax
mov eax, dword [esp + 0x4c]
and eax, 0xfe000000
sub ecx, eax
add ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0xc]
mov dword [edi + 0x14], ecx
mov ecx, dword [esp + 0x64]
mov edx, eax
and edx, 0xfc000000
sub ecx, edx
mov edx, dword [esp + 0x10]
mov dword [edi + 0x18], ecx
mov cl, 0x1a
call fcn.005c7110
mov ecx, eax
mov eax, dword [esp + 0x1c]
and eax, 0xfe000000
sub ecx, eax
mov eax, dword [esp + 0x84]
add ecx, dword [esp + 0x24]
mov edx, eax
and edx, 0xfc000000
sub esi, edx
mov dword [edi + 0x1c], ecx
mov edx, ebp
mov cl, 0x1a
mov dword [edi + 0x20], esi
call fcn.005c7110
mov ecx, eax
mov eax, dword [esp + 0x2c]
and eax, 0xfe000000
sub ecx, eax
add ecx, dword [esp + 0x8c]
pop esi
pop ebp
mov dword [edi + 0x24], ecx
pop ebx
add esp, 0x88
ret