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

Disassembly:
sub esp, 0x5c
mov eax, dword [0x1043900c]
xor eax, esp
mov dword [esp + 0x58], eax
cmp byte [esp + 0x74], 0
mov edx, dword [esp + 0x64]
push ebx
mov ebx, dword [esp + 0x70]
push ebp
push esi
mov esi, dword [esp + 0x6c]
push edi
mov edi, dword [esp + 0x78]
mov dword [esp + 0x14], edx
mov ebp, dword [esi]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x10], ebp
jne 0x102f5af8
mov ecx, dword [esi + 4]
cmp byte [ecx + 0xc], 0
jne 0x102f5af8
mov eax, dword [ebx]
xorps xmm0, xmm0
push 1
push dword [esp + 0x84]
mov dword [esp + 0x54], eax
lea eax, [esp + 0x54]
push eax
push edi
push edx
push ecx
movlpd qword [esp + 0x68], xmm0
movlpd qword [esp + 0x70], xmm0
movlpd qword [esp + 0x78], xmm0
call fcn.102f5a80
mov edx, dword [esp + 0x2c]
add esp, 0x18
cmp byte [ebx + 4], 0
jne 0x102f5b98
mov eax, dword [edi + 0x14]
mov edi, 1
add eax, dword [edx + 0x14]
mov ecx, eax
neg ecx
and ecx, 7
shl edi, cl
dec edi
mov dword [esp + 0x1c], edi
cmp eax, 0x60
jbe 0x102f5b33
mov eax, dword [ebx]
test eax, eax
je 0x102f5b69
cmp dword [eax], 0
jne 0x102f5b69
mov dword [eax], 0x12
jmp 0x102f5b69
lea ecx, [eax + 7]
mov dword [ebx + 8], eax
shr ecx, 3
mov dword [ebx + 0xc], ecx
mov word [ebx + 4], 0x101
test eax, eax
je 0x102f5b69
xor eax, eax
test ecx, ecx
je 0x102f5b5d
nop
mov byte [ebx + eax + 0x10], 0xff
inc eax
mov ecx, dword [ebx + 0xc]
cmp eax, ecx
jb 0x102f5b50
lea eax, [ecx + ebx]
mov ecx, dword [esp + 0x1c]
not cl
and byte [eax + 0xf], cl
cmp byte [ebx + 4], 0
jne 0x102f5b98
cmp byte [ebp + 8], 0
je 0x102f5e64
mov eax, dword [ebx]
pop edi
mov dword [eax], 0
mov byte [esi + 0xd], 0
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.102bb91c
add esp, 0x5c
ret
mov dword [esi + 0x14], 0
lea edi, [esp + 0x5c]
mov dword [esi + 0x18], 0
movups xmm0, xmmword [ebx]
mov eax, dword [ebx + 0x18]
mov dword [esp + 0x64], eax
mov eax, dword [edx + 0x14]
movups xmmword [esp + 0x4c], xmm0
mov dword [esp + 0x18], eax
movq xmm0, qword [ebx + 0x10]
movq qword [esp + 0x5c], xmm0
cmp eax, dword [ebx + 8]
ja 0x102f5e64
mov eax, ebp
cmp byte [eax + 0xf9], 0
je 0x102f5c1c
lea ecx, [esp + 0x24]
mov dword [esp + 0x34], 0
push ecx
add eax, 0x120
xorps xmm0, xmm0
push eax
push esi
movups xmmword [esp + 0x30], xmm0
call fcn.102f5ec0
mov eax, ebp
add eax, 0x10c
push eax
lea eax, [esp + 0x34]
push eax
push esi
call fcn.102f5ec0
mov edx, dword [esp + 0x2c]
add esp, 0x18
mov eax, ebp
xor ebp, ebp
mov bl, 0x80
cmp dword [esp + 0x18], ebp
jbe 0x102f5cf1
jmp 0x102f5c38
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
test byte [edi], bl
je 0x102f5ccb
push 1
push dword [esi + 0x10]
push dword [esp + 0x88]
push eax
push ebp
push edx
lea eax, [esp + 0x50]
push eax
call fcn.102f56a0
mov eax, dword [esp + 0x2c]
push 0
push dword [esi + 0x10]
push dword [esp + 0xa4]
push eax
push ebp
push dword [esp + 0x44]
lea eax, [esp + 0x58]
push eax
call fcn.102f56a0
mov eax, dword [esp + 0x70]
add esp, 0x38
shr eax, 4
test al, 1
jne 0x102f5cb2
mov eax, dword [esp + 0x24]
shr eax, 4
test al, 1
jne 0x102f5cb2
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x3c]
push eax
mov eax, dword [esp + 0x18]
add eax, 0xf0
push eax
call fcn.102f3180
add esp, 0xc
test al, al
je 0x102f5ccb
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x3c]
push eax
push esi
call fcn.102f5ec0
mov al, bl
add esp, 0xc
not al
and byte [edi], al
mov ecx, ebp
and ecx, 7
cmp ecx, 7
jne 0x102f5cd9
mov bl, 0x80
jmp 0x102f5cdb
shr bl, 1
inc ebp
lea eax, [edi + 1]
cmp ecx, 7
cmovne eax, edi
mov edi, eax
cmp ebp, dword [esp + 0x18]
jb 0x102f5c30
mov bh, byte [esp + 0x84]
test bh, bh
je 0x102f5d5c
mov eax, dword [esi + 0x14]
test eax, eax
je 0x102f5d17
cmp dword [esi + 0x24], 0
jg 0x102f5d17
lea eax, [eax + eax*4]
cmp dword [esi + eax*4 + 0x10], 0
jge 0x102f5def
mov eax, dword [esi + 0x10]
xorps xmm0, xmm0
mov dword [esp + 0x34], eax
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x28]
movlpd qword [esp + 0x2c], xmm0
push eax
push esi
mov dword [esp + 0x3c], 0
mov dword [esp + 0x30], 0x31
movups xmmword [esp + 0x44], xmm0
mov dword [esp + 0x54], 0
call fcn.102f5ec0
add esp, 0xc
jmp 0x102f5def
mov ebp, dword [esp + 0x18]
lea edx, [esp + 0x5c]
xor edi, edi
mov dword [esp + 0x1c], edx
mov bl, 0x80
test ebp, ebp
je 0x102f5def
test byte [edx], bl
je 0x102f5dcb
mov ebp, dword [esp + 0x14]
lea eax, [esp + 0x24]
push 1
push dword [esi + 0x10]
push dword [esp + 0x88]
push dword [esp + 0x1c]
push edi
push ebp
push eax
call fcn.102f56a0
push 0
push dword [esi + 0x10]
lea eax, [esp + 0x5c]
push dword [esp + 0xa4]
push dword [esp + 0x38]
push edi
push ebp
push eax
call fcn.102f56a0
lea eax, [esp + 0x70]
push eax
lea eax, [esp + 0x60]
push eax
push esi
call fcn.102f5ec0
mov edx, dword [esp + 0x60]
add esp, 0x44
mov ebp, dword [esp + 0x18]
mov ecx, edi
and ecx, 7
cmp ecx, 7
jne 0x102f5dd9
mov bl, 0x80
jmp 0x102f5ddb
shr bl, 1
inc edi
lea eax, [edx + 1]
cmp ecx, 7
cmovne eax, edx
mov edx, eax
mov dword [esp + 0x1c], edx
cmp edi, ebp
jb 0x102f5d70
push esi
call fcn.102f5800
add esp, 4
test bh, bh
jne 0x102f5e58
xor ebx, ebx
cmp dword [esi + 0x14], ebx
jbe 0x102f5e58
lea edx, [esi + 0x1c]
mov ecx, dword [edx]
mov eax, ecx
shr eax, 5
test al, 1
jne 0x102f5e4f
mov ebp, dword [esp + 0x14]
mov edi, dword [edx + 4]
cmp edi, dword [ebp + 0x14]
jb 0x102f5e33
mov eax, dword [ebp + 4]
test eax, eax
je 0x102f5e31
cmp dword [eax], 0
jne 0x102f5e31
mov dword [eax], 0x82
mov ecx, dword [edx]
xor edi, edi
mov eax, dword [ebp + 8]
imul eax, edi
mov edi, dword [edx + 0xc]
add eax, dword [ebp + 0x1c]
test cl, 0xa
je 0x102f5e49
mov dword [eax + 0x10], edi
jmp 0x102f5e4c
mov dword [eax + 0xc], edi
mov byte [eax], 1
inc ebx
add edx, 0x14
cmp ebx, dword [esi + 0x14]
jb 0x102f5e06
mov eax, dword [esp + 0x20]
mov byte [esi + 0xc], 1
mov byte [eax + 5], 0
mov ecx, dword [esp + 0x68]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.102bb91c
add esp, 0x5c
ret