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

Disassembly:
sub esp, 0x148
mov eax, dword [0x101e900c]
xor eax, esp
mov dword [esp + 0x144], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [esp + 0x160]
mov edx, dword [esp + 0x16c]
mov ecx, dword [esp + 0x15c]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x164]
mov dword [esp + 0x48], eax
imul eax, edx, 0x108
lea ebx, [ecx + 0xd5c]
mov dword [esp + 0x64], edx
add ecx, 0x54fc
add ebx, eax
lea eax, [edx + edx*2]
shl eax, 6
add eax, ecx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x54], eax
xor ecx, ecx
lea eax, [esp + 0x94]
test edx, edx
mov dword [esp + 0x4c], eax
lea eax, [esp + 0xb4]
sete cl
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x170]
or ebp, 0xffffffff
mov edi, dword [esp + 0x168]
movzx eax, word [eax + 2]
imul eax, eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x44], ebp
mov dword [esp + 0x68], ebp
cdq
and edx, 3
lea esi, [edx + eax]
movzx edx, byte [ecx + 0x101dce60]
sar esi, 2
lea ecx, [edi + edx*2]
add ecx, edx
mov edx, dword [esp + 0x28]
imul ecx, ecx, 0xb
dec edx
mov bl, byte [ecx + ebx]
mov ecx, 0xf
nop dword [eax]
nop word [eax + eax]
mov ebp, dword [esp + 0x24]
movzx eax, byte [ecx + 0x101de334]
movsx eax, word [ebp + eax*2]
mov ebp, 0xffffffff
imul eax, eax
cmp eax, esi
jg 0x10153a75
dec ecx
cmp ecx, dword [esp + 0x28]
jge 0x10153a50
jmp 0x10153a77
mov edx, ecx
cmp edx, 0xf
movzx esi, bl
lea eax, [edx + 1]
cmovge eax, edx
add esi, esi
mov dword [esp + 0x60], eax
xor ecx, ecx
movzx eax, word [esi + 0x101dbc60]
imul dword [esp + 0x174]
cmp dword [esp + 0x64], ecx
mov dword [esp + 0x34], eax
mov eax, 0xc
cmove ecx, eax
mov dword [esp + 0x5c], edx
add ecx, dword [esp + 0x54]
mov ebx, dword [ecx + edi*4]
mov ecx, 0x101dbe5e
sub ecx, esi
test edi, edi
jne 0x10153ac4
movzx eax, word [ecx]
jmp 0x10153ac6
xor eax, eax
mov esi, dword [esp + 0x174]
imul esi
mov dword [esp + 0x9c], ebx
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], edx
test edi, edi
jne 0x10153aed
movzx eax, word [ecx]
jmp 0x10153aef
xor eax, eax
imul esi
mov dword [esp + 0xac], ebx
mov dword [esp + 0xa8], edx
mov edx, dword [esp + 0x28]
mov ecx, edx
mov dword [esp + 0xa4], eax
mov dword [esp + 0x2c], ecx
cmp edx, dword [esp + 0x60]
jg 0x10153e2c
lea eax, [edx + edx*2]
lea ebx, [esp + 0xd6]
mov dword [esp + 0x14], eax
lea ebx, [ebx + edx*8]
nop dword [eax + eax]
movzx esi, byte [ecx + 0x101de334]
mov eax, dword [esp + 0x170]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x10], 0
lea ecx, [esi + esi]
movzx edi, word [ecx + eax]
movzx edx, word [eax + esi*2 + 0x20]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x70], ecx
movzx eax, word [eax + ecx]
mov ecx, eax
shr ax, 0xf
movzx eax, ax
mov dword [esp + 0x80], eax
movsx eax, cx
mov dword [esp + 0x1c], eax
neg dword [esp + 0x1c]
test cx, cx
mov ecx, dword [esp + 0x1c]
cmovns ecx, eax
mov eax, dword [esp + 0x170]
movzx eax, word [eax + esi*2 + 0xc0]
add ecx, eax
mov esi, dword [esp + 0x4c]
mov eax, ecx
mov dword [esp + 0x1c], ecx
imul eax, edx
mov edx, 0x7ff
mov dword [esp + 0x58], esi
mov ecx, eax
add eax, 0x10000
shr eax, 0x11
shr ecx, 0x11
cmp eax, 0x7ff
cmova eax, edx
cmp ecx, edx
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x2c]
cmova ecx, edx
mov edx, dword [esp + 0x50]
mov dword [esp + 0x50], esi
mov esi, dword [esp + 0x1c]
movzx eax, byte [eax + 0x101dce61]
mov dword [esp + 0x88], eax
lea eax, [ecx*2 + 0x101dbe60]
mov dword [esp + 0x3c], eax
mov eax, edi
neg eax
mov dword [esp + 0x4c], edx
mov dword [esp + 0x90], eax
mov eax, ecx
imul eax, edi
mov edi, ebx
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x18], edx
sub esi, eax
mov dword [esp + 0x40], esi
nop dword [eax]
cmp ecx, 2
mov edx, 2
mov eax, ecx
cmovg eax, edx
mov edx, dword [esp + 0x54]
mov dword [esp + 0x84], eax
add eax, ebx
mov eax, dword [edx + eax*4 + 0xc]
mov edx, dword [esp + 0x18]
mov dword [edx + 8], eax
test ecx, ecx
js 0x10153db2
cmp ecx, dword [esp + 0x6c]
jg 0x10153db2
mov ebx, dword [esp + 0x1c]
mov eax, esi
mov edx, dword [esp + 0x70]
imul eax, esi
mov esi, dword [esp + 0x58]
imul ebx, ebx
movzx edx, word [edx + 0x101de610]
mov dword [esp + 0x38], 0
sub eax, ebx
mov ebx, ecx
imul eax, edx
mov edx, 0x100
imul edx
cmp ecx, 0x43
mov dword [esp + 0x78], eax
mov eax, 0x43
cmovg ebx, eax
mov dword [esp + 0x7c], edx
mov eax, dword [esp + 0x3c]
movzx edi, word [eax]
mov eax, dword [esi + 8]
movzx eax, word [eax + ebx*2]
add eax, edi
imul dword [esp + 0x174]
mov ebp, eax
add ebp, dword [esi]
adc edx, dword [esi + 4]
mov esi, dword [esi + 0x18]
mov dword [esp + 0x74], edx
movzx eax, word [esi + ebx*2]
mov esi, dword [esp + 0x58]
add eax, edi
imul dword [esp + 0x174]
mov ebx, dword [esp + 0x74]
add eax, dword [esi + 0x10]
adc edx, dword [esi + 0x14]
cmp edx, ebx
jg 0x10153cf4
jl 0x10153ce5
cmp eax, ebp
jae 0x10153cf8
mov ebp, eax
mov ebx, edx
mov eax, 1
mov dword [esp + 0x38], eax
jmp 0x10153cfc
xor eax, eax
jmp 0x10153cfc
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x30]
add ebp, dword [esp + 0x78]
mov edx, dword [esp + 0x80]
adc ebx, dword [esp + 0x7c]
mov byte [edi - 2], al
mov eax, dword [esp + 0x18]
mov byte [edi - 1], dl
mov word [edi], cx
mov dword [eax], ebp
mov dword [eax + 4], ebx
test ecx, ecx
je 0x10153dcd
mov esi, dword [esp + 0x5c]
cmp ebx, esi
jg 0x10153dcd
jl 0x10153d41
cmp ebp, dword [esp + 0x34]
jae 0x10153dcd
cmp dword [esp + 0x14], 0x2d
jge 0x10153d73
mov edx, dword [esp + 0x88]
mov eax, dword [esp + 0x84]
lea eax, [eax + edx*2]
add eax, edx
mov edx, dword [esp + 0x8c]
imul eax, eax, 0xb
movzx eax, byte [eax + edx]
movzx eax, word [eax*2 + 0x101dbc60]
jmp 0x10153d75
xor eax, eax
imul dword [esp + 0x174]
add eax, ebp
adc edx, ebx
cmp edx, esi
jg 0x10153dc9
jl 0x10153d8c
cmp eax, dword [esp + 0x34]
jae 0x10153dc9
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x44], edx
jmp 0x10153dd5
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov dword [eax], 0xffffffff
mov dword [eax + 4], 0x7fffff
jmp 0x10153dd9
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov ebp, dword [esp + 0x20]
mov ebx, dword [esp + 0x14]
add dword [esp + 0x3c], 2
inc edx
mov dword [esp + 0x10], edx
add edi, 4
mov edx, dword [esp + 0x90]
add eax, 0x10
add dword [esp + 0x40], edx
inc ecx
cmp dword [esp + 0x10], 1
mov esi, dword [esp + 0x40]
mov dword [esp + 0x30], edi
mov dword [esp + 0x18], eax
jle 0x10153c20
mov ecx, dword [esp + 0x2c]
add ebx, 3
inc ecx
mov dword [esp + 0x14], ebx
mov ebx, edi
mov dword [esp + 0x2c], ecx
cmp ecx, dword [esp + 0x60]
jle 0x10153b30
mov edx, dword [esp + 0x28]
cmp dword [esp + 0x64], 0
xorps xmm0, xmm0
mov eax, dword [esp + 0x24]
jne 0x10153e6c
movups xmmword [eax + 2], xmm0
movq qword [eax + 0x12], xmm0
mov dword [eax + 0x1a], 0
mov word [eax + 0x1e], 0
mov eax, dword [esp + 0x48]
movups xmmword [eax + 2], xmm0
movq qword [eax + 0x12], xmm0
mov dword [eax + 0x1a], 0
mov word [eax + 0x1e], 0
jmp 0x10153e7e
movups xmmword [eax], xmm0
movups xmmword [eax + 0x10], xmm0
mov eax, dword [esp + 0x48]
movups xmmword [eax], xmm0
movups xmmword [eax + 0x10], xmm0
cmp ebp, 0xffffffff
jne 0x10153e8a
xor eax, eax
jmp 0x10153f09
mov ecx, dword [esp + 0x44]
xor ebx, ebx
lea eax, [ecx + ebp*2]
mov ecx, dword [esp + 0x68]
mov byte [esp + eax*4 + 0xd4], cl
mov ecx, dword [esp + 0x44]
cmp ebp, edx
jl 0x10153f02
movzx esi, byte [ebp + 0x101de334]
lea eax, [ecx + ebp*2]
lea edi, [esp + 0xd4]
movzx edx, word [edi + eax*4 + 2]
lea edi, [edi + eax*4]
mov eax, edx
neg eax
cmp byte [edi + 1], 0
movzx ecx, ax
mov eax, edx
cmove ecx, eax
mov eax, dword [esp + 0x48]
movzx ecx, cx
mov word [eax + ebp*2], cx
dec ebp
movsx eax, dx
or ebx, eax
movsx eax, cx
mov ecx, dword [esp + 0x170]
movsx ecx, word [ecx + esi*2]
imul ecx, eax
mov eax, dword [esp + 0x24]
mov word [eax + esi*2], cx
movsx ecx, byte [edi]
cmp ebp, dword [esp + 0x28]
jge 0x10153ea6
xor eax, eax
test ebx, ebx
setne al
mov ecx, dword [esp + 0x154]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.101044b9
add esp, 0x148
ret