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

Disassembly:
sub esp, 0x238
mov eax, dword [0x1041020c]
xor eax, esp
mov dword [esp + 0x234], eax
mov ecx, dword [esp + 0x23c]
push ebx
push esi
mov esi, dword [esp + 0x248]
mov eax, dword [ecx]
mov dword [esp + 0x54], ecx
push edi
lea edi, [ecx + 0x2414]
mov dword [esp + 0x18], esi
mov eax, dword [eax + 0xc]
mov ecx, dword [ecx + 0x28]
mov dword [esp + 0x6c], edi
lea ebx, [eax*8 + 0x1038f588]
mov eax, 0x24924925
mul ecx
lea eax, [esp + 0x7c]
mov dword [esp + 0x14], ebx
sub ecx, edx
shr ecx, 1
push eax
add ecx, edx
push 4
push dword [esi + 0x64]
shr ecx, 3
mov dword [esp + 0x80], ecx
call fcn.102dd9c0
mov ecx, dword [ebx]
add esp, 0xc
mov dword [esp + 0x54], eax
cmp ecx, 0x1429
je 0x102f9e40
push ebp
nop word [eax + eax]
xor eax, eax
lea edx, [ecx + 0x1038dd00]
mov dword [esp + 0x4c], eax
xor edi, edi
mov dword [esp + 0x50], eax
xor ebp, ebp
mov al, byte [edx]
mov dword [esp + 0x6c], edi
mov dword [esp + 0x68], ebp
test al, al
je 0x102f9e1d
mov byte [esp + 0x13], 0
cmp al, 0x20
jne 0x102f9636
nop
inc edx
cmp byte [edx], 0x20
je 0x102f9630
lea eax, [esp + 0x64]
push eax
push dword [esp + 0x5c]
push dword [esp + 0x64]
push edx
call fcn.102f5170
mov edx, eax
add esp, 0x10
mov eax, dword [esp + 0x64]
mov dword [esp + 0x7c], edx
test eax, eax
je 0x102f9cc2
test byte [ebx + 4], 1
mov ecx, 0
mov dword [esp + 0x60], 0
setne cl
add ecx, 0x7fffffff
mov dword [esp + 0x20], ecx
test eax, eax
je 0x102f99db
mov eax, dword [esp + 0x58]
mov byte [esp + 0x12], 0
mov eax, dword [eax]
test eax, eax
je 0x102f99bc
push 1
push eax
push esi
call fcn.102dca20
mov ecx, dword [esi + 0x54]
add esp, 0xc
movups xmm0, xmmword [ecx + 0x6c]
mov ecx, dword [ecx + 0x7c]
mov dword [esp + 0x94], ecx
movups xmmword [esp + 0x84], xmm0
test eax, eax
jne 0x102f9cad
mov ecx, dword [esp + 0x84]
mov eax, ecx
shr eax, 0x10
cmp ax, 2
jle 0x102f9cad
movsx ebx, cx
xor esi, esi
mov dword [esp + 0x34], ebx
xor ebp, ebp
mov eax, dword [esp + 0x34]
xor ebx, ebx
or edi, 0xffffffff
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x24], ebp
mov dword [esp + 0x48], ebx
test eax, eax
jle 0x102f9c69
mov ecx, dword [esp + 0x90]
nop dword [eax]
movsx ebx, word [ecx + ebx*2]
mov dword [esp + 0x54], edi
cmp ebx, ebp
jle 0x102f97cf
mov edx, dword [esp + 0x18]
test byte [edx + 4], 3
mov edx, ebp
jne 0x102f9772
cmp ebp, ebx
jg 0x102f97cf
mov ecx, dword [esp + 0x88]
add ecx, 4
lea ecx, [ecx + ebp*8]
mov ebp, dword [esp + 0x4c]
test edi, edi
js 0x102f9757
mov eax, dword [ecx]
cmp eax, esi
jl 0x102f9757
cmp ebp, eax
jg 0x102f9768
mov ebp, eax
jmp 0x102f9768
mov eax, dword [esp + 0x50]
mov edi, edx
mov esi, dword [ecx]
cmp eax, esi
cmovge eax, esi
mov dword [esp + 0x50], eax
inc edx
add ecx, 8
cmp edx, ebx
jle 0x102f9745
jmp 0x102f97ae
cmp ebp, ebx
jg 0x102f97cf
mov ecx, dword [esp + 0x88]
add ecx, 4
lea ecx, [ecx + ebp*8]
mov ebp, dword [esp + 0x4c]
test edi, edi
js 0x102f979d
mov eax, dword [ecx]
cmp eax, esi
jg 0x102f979d
cmp dword [esp + 0x50], eax
jl 0x102f97a6
mov dword [esp + 0x50], eax
jmp 0x102f97a6
mov esi, dword [ecx]
mov edi, edx
cmp ebp, esi
cmovle ebp, esi
inc edx
add ecx, 8
cmp edx, ebx
jle 0x102f9787
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x4c], ebp
mov ebp, dword [esp + 0x24]
cmp edi, dword [esp + 0x54]
je 0x102f97cf
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebx
lea ebp, [ebx + 1]
mov ebx, dword [esp + 0x48]
inc ebx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x48], ebx
cmp ebx, eax
jl 0x102f9710
test edi, edi
js 0x102f9c69
mov eax, dword [esp + 0x88]
or ebx, 0xffffffff
mov dword [esp + 0x14], edi
mov edx, edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x48], edi
mov ebp, dword [eax + edi*8]
mov eax, dword [esp + 0x8c]
mov al, byte [eax + edi]
and al, 3
cmp al, 1
cmove ebx, edi
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
cmp edx, dword [esp + 0x28]
lea ecx, [edx - 1]
mov eax, dword [esp + 0x2c]
mov ebx, dword [esp + 0x88]
cmovg eax, ecx
mov edx, eax
mov ecx, dword [ebx + edx*8 + 4]
mov eax, ecx
sub eax, esi
jns 0x102f9848
mov eax, esi
sub eax, ecx
cmp eax, 5
jle 0x102f9864
mov ebx, dword [ebx + edx*8]
mov ecx, ebx
sub ecx, ebp
jns 0x102f985a
mov ecx, ebp
sub ecx, ebx
lea eax, [eax + eax*4]
shl eax, 2
cmp ecx, eax
jle 0x102f988d
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x14], edx
mov al, byte [edx + eax]
and al, 3
cmp al, 1
jne 0x102f9889
mov ebx, dword [esp + 0x44]
test ebx, ebx
mov dword [esp + 0x40], edx
cmovs ebx, edx
mov dword [esp + 0x44], ebx
cmp edx, edi
jne 0x102f9823
mov ebx, dword [esp + 0x48]
mov edx, dword [esp + 0x88]
nop dword [eax + eax]
cmp ebx, dword [esp + 0x2c]
lea ecx, [ebx + 1]
mov eax, dword [esp + 0x28]
cmovl eax, ecx
mov ebx, eax
mov ecx, dword [edx + ebx*8 + 4]
mov eax, ecx
sub eax, esi
jns 0x102f98be
mov eax, esi
sub eax, ecx
cmp eax, 5
jle 0x102f98e1
mov edx, dword [edx + ebx*8]
mov ecx, edx
sub ecx, ebp
jns 0x102f98d0
mov ecx, ebp
sub ecx, edx
lea eax, [eax + eax*4]
shl eax, 2
cmp ecx, eax
jle 0x102f990a
mov edx, dword [esp + 0x88]
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x30], ebx
mov al, byte [ebx + eax]
and al, 3
cmp al, 1
jne 0x102f9906
mov eax, dword [esp + 0x40]
test eax, eax
mov dword [esp + 0x44], ebx
cmovs eax, ebx
mov dword [esp + 0x40], eax
cmp ebx, edi
jne 0x102f98a0
mov eax, dword [esp + 0x18]
mov dword [esp + 0x48], ebx
movzx eax, word [eax + 4]
test al, 0x10
je 0x102f9bfd
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 0x28]
mov eax, 0x51eb851f
mul ecx
mov eax, dword [esp + 0x14]
mov dword [esp + 0x54], ecx
mov ebx, edx
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x30]
shr ebx, 3
mov dword [esp + 0x74], ebx
mov eax, dword [ecx + eax*8]
mov edx, dword [ecx + edx*8]
mov ecx, edx
sub ecx, eax
jns 0x102f9958
sub eax, edx
jmp 0x102f995a
mov eax, ecx
cmp eax, ebx
jge 0x102f9bfd
mov ecx, dword [esp + 0x30]
sub ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
add ecx, 2
sub eax, dword [esp + 0x28]
cmp ecx, eax
jg 0x102f9bfd
shr dword [esp + 0x54], 2
xor ebx, ebx
xor eax, eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x34], eax
mov edx, edi
cmp edx, dword [esp + 0x28]
lea ecx, [edx - 1]
mov eax, dword [esp + 0x2c]
cmovg eax, ecx
mov edx, eax
mov eax, dword [esp + 0x88]
cmp dword [eax + edx*8], ebp
jne 0x102f9a0f
cmp edx, edi
jne 0x102f9990
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x60]
inc eax
mov dword [esp + 0x60], eax
cmp eax, dword [esp + 0x64]
jb 0x102f9684
mov edx, dword [esp + 0x7c]
mov ebp, dword [esp + 0x68]
mov edi, dword [esp + 0x6c]
cmp ecx, 0x80000000
je 0x102f9cc2
cmp ecx, 0x7fffffff
je 0x102f9cc2
cmp byte [esp + 0x13], 0
je 0x102f9cb6
mov dword [esp + ebp*4 + 0x178], ecx
inc ebp
mov dword [esp + 0x68], ebp
jmp 0x102f9cc2
cmp edx, edi
je 0x102f99b0
cmp dword [eax + edx*8], ebp
mov eax, dword [esp + 0x30]
mov ebp, eax
mov edi, dword [esp + 0x14]
setl byte [esp + 0x3b]
mov edx, eax
mov dword [esp + 0x3c], ebp
xor al, al
mov byte [esp + 0x12], al
test al, al
jne 0x102f9a5c
mov eax, dword [esp + 0x8c]
or ebx, 0xffffffff
mov ebp, edx
mov byte [esp + 0x12], 1
mov dword [esp + 0x3c], ebp
mov al, byte [edx + eax]
and al, 3
cmp al, 1
cmove ebx, edx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x34], ebx
cmp edx, dword [esp + 0x2c]
lea ecx, [edx + 1]
mov eax, dword [esp + 0x28]
cmovl eax, ecx
mov edx, eax
mov eax, dword [esp + 0x88]
mov ebp, dword [eax + ebp*8 + 4]
mov eax, esi
sub eax, ebp
jns 0x102f9a81
mov eax, ebp
sub eax, esi
cmp eax, dword [esp + 0x54]
jle 0x102f9a92
xor al, al
mov byte [esp + 0x12], al
jmp 0x102f9b3d
mov edi, dword [esp + 0x88]
mov ecx, dword [edi + edx*8 + 4]
mov eax, ecx
sub eax, ebp
jns 0x102f9aa7
sub ebp, ecx
jmp 0x102f9aa9
mov ebp, eax
cmp ebp, 5
jle 0x102f9aea
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x3c]
mov edi, dword [edi + edx*8]
mov ecx, dword [eax + ecx*8]
mov eax, edi
sub eax, ecx
jns 0x102f9ac9
sub ecx, edi
jmp 0x102f9acb
mov ecx, eax
lea eax, [ebp*4]
add eax, ebp
shl eax, 2
cmp ecx, eax
jg 0x102f9ae3
xor al, al
mov byte [esp + 0x12], al
jmp 0x102f9b39
mov edi, dword [esp + 0x88]
mov eax, dword [esp + 0x8c]
mov al, byte [edx + eax]
and al, 3
cmp al, 1
jne 0x102f9b07
test ebx, ebx
mov dword [esp + 0x34], edx
cmovs ebx, edx
mov dword [esp + 0x24], ebx
mov ecx, dword [esp + 0x88]
mov eax, dword [esp + 0x3c]
mov edi, dword [edi + edx*8]
mov eax, dword [ecx + eax*8]
cmp eax, edi
mov ecx, edi
setl bl
sub ecx, eax
jns 0x102f9b27
sub eax, edi
jmp 0x102f9b29
mov eax, ecx
cmp bl, byte [esp + 0x3b]
jne 0x102f9b35
cmp eax, dword [esp + 0x74]
jge 0x102f9b52
mov al, byte [esp + 0x12]
mov edi, dword [esp + 0x14]
cmp edx, edi
je 0x102f9c01
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x3c]
jmp 0x102f9a31
mov eax, dword [esp + 0x3c]
mov edi, dword [esp + 0x88]
mov ebx, dword [esp + 0x24]
mov esi, dword [edi + eax*8 + 4]
cmp edx, dword [esp + 0x2c]
lea ecx, [edx + 1]
mov eax, dword [esp + 0x28]
cmovl eax, ecx
mov edx, eax
mov ecx, dword [edi + edx*8 + 4]
mov eax, ecx
sub eax, esi
jns 0x102f9b83
mov eax, esi
sub eax, ecx
cmp eax, 5
jle 0x102f9bc0
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x88]
mov edi, dword [edi + eax*8]
mov eax, dword [esp + 0x3c]
mov ecx, dword [ecx + eax*8]
mov eax, edi
sub eax, ecx
jns 0x102f9ba7
sub ecx, edi
jmp 0x102f9ba9
mov ecx, eax
lea eax, [ebp*4]
add eax, ebp
shl eax, 2
cmp ecx, eax
jle 0x102f9be3
mov edi, dword [esp + 0x88]
mov eax, dword [esp + 0x8c]
mov al, byte [edx + eax]
and al, 3
cmp al, 1
jne 0x102f9bd5
test ebx, ebx
cmovs ebx, edx
mov eax, edx
cmp edx, dword [esp + 0x14]
je 0x102f9bf5
mov dword [esp + 0x34], edx
jmp 0x102f9b65
cmp edx, dword [esp + 0x28]
lea eax, [edx - 1]
mov edx, dword [esp + 0x2c]
cmovg edx, eax
mov eax, dword [esp + 0x34]
mov edi, dword [esp + 0x3c]
mov ebp, edx
jmp 0x102f9c0d
mov edi, dword [esp + 0x14]
mov ebp, dword [esp + 0x30]
mov eax, dword [esp + 0x44]
mov ebx, dword [esp + 0x40]
test ebx, ebx
js 0x102f9c34
test eax, eax
js 0x102f9c34
mov ecx, dword [esp + 0x88]
mov edx, dword [ecx + eax*8]
mov eax, dword [ecx + ebx*8]
mov ecx, edx
sub ecx, eax
jns 0x102f9c2c
sub eax, edx
jmp 0x102f9c2e
mov eax, ecx
cmp eax, dword [esp + 0x78]
jg 0x102f9c64
mov ecx, dword [esp + 0x8c]
mov al, byte [ecx + edi]
and al, 3
cmp al, 1
jne 0x102f9c4d
mov al, byte [ecx + ebp]
and al, 3
cmp al, 1
je 0x102f9c64
mov ebx, dword [esp + 0x18]
mov byte [esp + 0x12], 1
movzx eax, word [ebx + 4]
test al, 4
jne 0x102f99b4
jmp 0x102f9c6d
mov byte [esp + 0x12], 0
mov ebx, dword [esp + 0x18]
test byte [ebx + 4], 1
mov ecx, dword [esp + 0x20]
je 0x102f9c92
cmp esi, ecx
jle 0x102f99b8
mov dl, byte [esp + 0x12]
mov ecx, esi
mov dword [esp + 0x20], ecx
mov byte [esp + 0x13], dl
jmp 0x102f99b8
cmp esi, ecx
jge 0x102f99b8
mov al, byte [esp + 0x12]
mov ecx, esi
mov dword [esp + 0x20], ecx
mov byte [esp + 0x13], al
jmp 0x102f99b8
mov ecx, dword [esp + 0x20]
jmp 0x102f99bc
mov dword [esp + edi*4 + 0xac], ecx
inc edi
mov dword [esp + 0x6c], edi
mov al, byte [edx]
test al, al
jne 0x102f9626
test edi, edi
jne 0x102f9cd8
test ebp, ebp
je 0x102f9e1d
mov esi, 1
cmp ebp, esi
jbe 0x102f9d1a
mov eax, esi
test esi, esi
je 0x102f9d15
nop word [eax + eax]
mov ecx, dword [esp + eax*4 + 0x174]
mov edx, dword [esp + eax*4 + 0x178]
cmp edx, ecx
jge 0x102f9d15
mov dword [esp + eax*4 + 0x178], ecx
mov dword [esp + eax*4 + 0x174], edx
sub eax, 1
jne 0x102f9cf0
inc esi
cmp esi, ebp
jb 0x102f9ce1
mov esi, 1
cmp edi, esi
jbe 0x102f9d5a
mov eax, esi
test esi, esi
je 0x102f9d55
nop dword [eax]
mov ecx, dword [esp + eax*4 + 0xa8]
mov edx, dword [esp + eax*4 + 0xac]
cmp edx, ecx
jge 0x102f9d55
mov dword [esp + eax*4 + 0xac], ecx
mov dword [esp + eax*4 + 0xa8], edx
sub eax, 1
jne 0x102f9d30
inc esi
cmp esi, edi
jb 0x102f9d23
mov edx, dword [esp + 0x70]
mov ecx, dword [edx + 0xd8]
lea eax, [ecx*8 + 0x37]
add eax, ecx
lea esi, [edx + eax*4]
lea eax, [ecx + 1]
mov dword [edx + 0xd8], eax
test edi, edi
jne 0x102f9d8d
shr ebp, 1
mov eax, dword [esp + ebp*4 + 0x178]
mov dword [esi + 0xc], eax
mov dword [esi], eax
jmp 0x102f9daf
shr edi, 1
mov eax, dword [esp + edi*4 + 0xac]
test ebp, ebp
jne 0x102f9da1
mov dword [esi + 0xc], eax
mov dword [esi], eax
jmp 0x102f9daf
shr ebp, 1
mov dword [esi], eax
mov eax, dword [esp + ebp*4 + 0x178]
mov dword [esi + 0xc], eax
mov edx, dword [esi]
cmp dword [esi + 0xc], edx
je 0x102f9ddd
mov edi, dword [esi + 0xc]
xor ecx, ecx
cmp edi, edx
mov eax, 0
setg cl
test byte [ebx + 4], 3
setne al
cmp ecx, eax
je 0x102f9ddd
lea eax, [edi + edx]
cdq
sub eax, edx
sar eax, 1
mov dword [esi + 0xc], eax
mov dword [esi], eax
mov eax, dword [esp + 0x4c]
mov dword [esi + 0x18], eax
mov eax, dword [esp + 0x50]
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], 0
test byte [ebx + 4], 1
je 0x102f9dff
mov dword [esi + 0x20], 2
test byte [ebx + 4], 2
je 0x102f9e09
or dword [esi + 0x20], 4
test byte [ebx + 4], 4
je 0x102f9e13
or dword [esi + 0x20], 8
test byte [ebx + 4], 8
je 0x102f9e1d
or dword [esi + 0x20], 0x10
mov ecx, dword [ebx + 8]
add ebx, 8
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x18], ebx
cmp ecx, 0x1429
jne 0x102f9600
mov eax, dword [esp + 0x58]
mov edi, dword [esp + 0x70]
pop ebp
push eax
push dword [esi + 0x64]
call fcn.102ddbf0
mov esi, dword [edi + 0xd8]
add esp, 8
test esi, esi
je 0x102f9ed4
xor eax, eax
test esi, esi
je 0x102f9e7f
lea ecx, [edi + 0xdc]
nop word [eax + eax]
mov dword [esp + eax*4 + 0x80], ecx
inc eax
add ecx, 0x24
cmp eax, esi
jb 0x102f9e70
lea eax, [esp + 0x80]
push eax
push esi
call fcn.102f9500
lea eax, [esi - 1]
add esp, 8
xor edx, edx
test eax, eax
je 0x102f9ed4
nop dword [eax]
mov eax, dword [esp + edx*4 + 0x80]
test byte [eax + 0x20], 6
je 0x102f9eb0
add eax, 0xc
mov ecx, dword [esp + edx*4 + 0x84]
test byte [ecx + 0x20], 6
je 0x102f9ec0
add ecx, 0xc
mov ecx, dword [ecx]
cmp dword [eax], ecx
jle 0x102f9ec8
mov dword [eax], ecx
mov eax, dword [edi + 0xd8]
inc edx
dec eax
cmp edx, eax
jb 0x102f9ea0
mov ecx, dword [esp + 0x240]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1033bd36
add esp, 0x238
ret