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

Disassembly:
sub esp, 0x3dc
mov eax, dword [0x101e900c]
xor eax, esp
mov dword [esp + 0x3d8], eax
mov eax, dword [esp + 0x3e4]
xorps xmm0, xmm0
push ebx
mov dword [esp + 0x20], eax
push ebp
push esi
push edi
mov edi, dword [esp + 0x3f0]
movlpd qword [esp + 0x5c], xmm0
movlpd qword [esp + 0x54], xmm0
movlpd qword [esp + 0x48], xmm0
mov eax, dword [edi + 0x1c]
mov edx, dword [edi + 8]
add edx, 0x10
mov ebp, dword [edi + 0x10]
mov dword [esp + 0x68], edx
add ebp, 0x10
mov eax, dword [eax]
mov edx, dword [edi + 0xc]
shr eax, 5
add edx, 0x10
and eax, 3
mov dword [esp + 0x6c], edx
imul ecx, eax, 0x2e8
mov eax, dword [edi + 0x18]
mov dword [esp + 0x28], edx
xor edx, edx
mov dword [esp + 0x64], edx
or edx, 0xffffffff
mov dword [esp + 0x34], edx
xor ebx, ebx
movlpd qword [esp + 0x70], xmm0
mov dword [esp + 0x30], edi
mov dword [esp + 0x1c], ebp
mov eax, dword [ecx + eax + 0x458]
cdq
mov dword [esp + 0x18], eax
mov esi, edx
mov eax, dword [esp + 0x60]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x24], 0x7fffff
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], esi
mov dword [esp + 0x54], eax
jmp 0x1015274e
mov ebp, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
push ebx
push ebp
lea eax, [esp + 0x80]
push eax
push edi
call fcn.10152e80
push ebp
push dword [esp + 0x7c]
mov dword [esp + 0x3f0], eax
call dword [0x101ee8d8]
cdq
xorps xmm0, xmm0
mov dword [esp + 0x90], eax
movzx eax, word [ebx*2 + 0x101de984]
mov dword [esp + 0x94], edx
cdq
mov dword [esp + 0xa0], eax
lea eax, [esp + 0x90]
push eax
push edi
movlpd qword [esp + 0xa0], xmm0
mov dword [esp + 0xac], edx
call fcn.10154da0
cdq
add esp, 0x20
mov ebp, eax
mov eax, edx
mov dword [esp + 0x90], ebp
mov dword [esp + 0x94], eax
test ebx, ebx
je 0x10152876
mov edi, 8
lea esi, [esp + 0x2c0]
xor edx, edx
nop dword [eax]
dec edi
mov eax, 1
xor ecx, ecx
cmp word [esi + eax*2], cx
setne cl
add edx, ecx
cmp edx, 2
jg 0x1015286d
inc eax
cmp eax, 0x10
jl 0x101527e6
add esi, 0x20
test edi, edi
jg 0x101527e0
mov eax, dword [esp + 0x94]
add ebp, 0x460
mov dword [esp + 0x90], ebp
adc eax, 0
mov dword [esp + 0x94], eax
push dword [esp + 0x14]
mov edi, dword [esp + 0x8c]
mov ecx, ebp
push dword [esp + 0x1c]
mov ebp, dword [esp + 0x94]
add ecx, edi
adc eax, ebp
push eax
push ecx
call fcn.10104f60
mov esi, dword [esp + 0x80]
mov ebx, eax
add esi, dword [esp + 0x78]
mov ecx, dword [esp + 0x84]
adc ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x10]
shld ecx, esi, 8
shl esi, 8
add ebx, esi
adc edx, ecx
jmp 0x101528c1
mov eax, dword [esp + 0x94]
jmp 0x10152821
mov edi, dword [esp + 0x88]
mov ecx, ebp
mov ebp, dword [esp + 0x8c]
add ecx, edi
push esi
push dword [esp + 0x1c]
adc eax, ebp
push eax
push ecx
call fcn.10104f60
mov esi, dword [esp + 0x80]
mov ebx, eax
add esi, dword [esp + 0x78]
mov ecx, dword [esp + 0x84]
adc ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x10]
shld ecx, esi, 8
shl esi, 8
add ebx, esi
adc edx, ecx
test eax, eax
je 0x101528de
cmp edx, dword [esp + 0x24]
jl 0x101528de
mov esi, dword [esp + 0x20]
jg 0x101528d1
cmp ebx, esi
jb 0x101528de
mov ebp, dword [esp + 0x2c]
mov edi, dword [esp + 0x30]
jmp 0x1015298c
mov ecx, dword [esp + 0x78]
lea esi, [esp + 0x2c0]
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x94]
mov dword [esp + 0x5c], ebp
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x3d8]
mov dword [esp + 0x54], edi
mov dword [esp + 0x64], ecx
lea edi, [ebp + 0x248]
mov ecx, 0x40
mov dword [esp + 0x34], eax
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x30]
cmp dword [edi + 0x130], 0
je 0x10152972
mov eax, dword [esp + 0x3dc]
mov dword [ebp + 0x364], eax
mov ax, word [esp + 0x3e0]
mov word [ebp + 0x368], ax
mov eax, dword [esp + 0x28]
mov esi, ebx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], edx
mov ebx, dword [esp + 0x10]
inc ebx
mov dword [esp + 0x10], ebx
cmp ebx, 4
jl 0x10152746
mov edx, dword [esp + 0x34]
push edx
push edi
mov dword [ebp + 0x35c], edx
call fcn.10151b40
mov eax, dword [esp + 0x40]
add esp, 8
add dword [ebp], eax
mov eax, dword [esp + 0x3c]
adc dword [ebp + 4], eax
mov eax, dword [esp + 0x40]
add dword [ebp + 8], eax
mov eax, dword [esp + 0x44]
adc dword [ebp + 0xc], eax
mov eax, dword [esp + 0x48]
add dword [ebp + 0x18], eax
mov eax, dword [esp + 0x50]
adc dword [ebp + 0x1c], eax
mov eax, dword [esp + 0x54]
add dword [ebp + 0x10], eax
mov eax, dword [esp + 0x5c]
adc dword [ebp + 0x14], eax
mov edx, dword [esp + 0x64]
or dword [ebp + 0x360], edx
add dword [ebp + 0x20], esi
mov eax, dword [esp + 0x24]
adc dword [ebp + 0x24], eax
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x6c]
cmp eax, ecx
je 0x10152a15
push ecx
push eax
call dword [0x101ee8bc]
add esp, 8
mov ecx, dword [edi + 0x130]
test ecx, ecx
je 0x10152a90
mov eax, dword [edi]
mov dl, byte [ebp + 0x366]
lea esi, [ecx + eax*4]
movzx eax, byte [ebp + 0x364]
mov byte [edi + 0x12c], al
movsx eax, dl
lea ecx, [eax + eax*2]
movzx eax, byte [ebp + 0x365]
sar ecx, 2
mov byte [esi], al
sub dl, cl
mov byte [edi + 0x12d], cl
mov ecx, dword [edi]
mov eax, dword [edi + 0x130]
mov byte [esi + 1], dl
lea esi, [eax + ecx*4]
movzx eax, byte [ebp + 0x367]
mov dl, byte [ebp + 0x369]
mov byte [edi + 0x12e], al
movsx eax, dl
lea ecx, [eax + eax*2]
movzx eax, byte [ebp + 0x368]
sar ecx, 2
sub dl, cl
mov byte [esi + 2], al
mov byte [edi + 0x12f], cl
mov byte [esi + 3], dl
mov ecx, dword [esp + 0x3e8]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.101044b9
add esp, 0x3dc
ret