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

Disassembly:
sub esp, 0xb0
mov eax, dword [0x10088064]
xor eax, esp
mov dword [esp + 0xac], eax
push ebx
xor eax, eax
mov dword [esp + 0x94], ecx
push ebp
push esi
mov esi, dword [esp + 0xc0]
xorps xmm0, xmm0
push edi
mov edi, edx
mov word [esp + 0x44], ax
mov dword [esp + 0x58], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov ecx, dword [edi + 8]
mov edx, dword [edi + 0xc]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov word [esp + 0x80], ax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov eax, ecx
or eax, edx
mov dword [esp + 0x30], edi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x38], 0
mov word [esp + 0x3c], 0
mov byte [esp + 0x3e], 1
mov dword [esp + 0x40], 0xa033f
mov dword [esp + 0x48], 0xffffffff
movlpd qword [esp + 0x50], xmm0
movlpd qword [esp + 0x60], xmm0
movlpd qword [esp + 0x68], xmm0
mov dword [esp + 0x84], 0x81b60000
movlpd qword [esp + 0x88], xmm0
je 0x1002b300
mov eax, dword [edi]
movlpd qword [esp + 0x98], xmm0
mov eax, dword [eax]
mov ebp, dword [eax + 0x54]
mov ebx, dword [eax + 0x50]
mov eax, ebx
mov dword [esp + 0x20], ebp
test edx, edx
jb 0x1002b2e1
ja 0x1002acf9
test ecx, ecx
je 0x1002b2e1
mov eax, dword [esp + 0x9c]
mov edx, ebx
mov esi, ebp
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x14], ebx
mov ebx, dword [sym.imp.msvcrt.dll_free]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], ebp
mov dword [esp + 0x28], eax
nop dword [eax]
mov ecx, eax
mov eax, dword [edi]
shl ecx, 4
mov dword [esp + 0x34], ecx
mov ecx, dword [ecx + eax]
mov eax, dword [ecx + 0x54]
mov edi, dword [ecx + 0x50]
cmp eax, esi
ja 0x1002ad58
jb 0x1002ad4e
cmp edi, edx
jae 0x1002ad58
mov edx, edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], edx
mov eax, dword [esp + 0x30]
mov ebp, dword [eax + 0x24]
mov esi, dword [eax + 0x20]
cmp dword [esp + 0x20], ebp
ja 0x1002b2b9
jb 0x1002ad76
cmp edx, esi
ja 0x1002b2b9
mov eax, dword [ecx + 0x38]
test eax, eax
je 0x1002ad81
movzx eax, word [eax + 4]
movzx eax, ax
cdq
add eax, dword [ecx + 0x28]
adc edx, dword [ecx + 0x2c]
add eax, edi
mov ecx, dword [ecx + 0x54]
adc edx, ecx
add eax, 0x1e
adc edx, 0
cmp edx, dword [esp + 0x18]
jb 0x1002adb0
ja 0x1002ada6
cmp eax, dword [esp + 0x14]
jbe 0x1002adb0
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
jmp 0x1002adb8
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
cmp edx, ebp
ja 0x1002b2b9
jb 0x1002adca
cmp eax, esi
ja 0x1002b2b9
mov ebp, dword [esp + 0xa0]
mov esi, dword [ebp]
cmp byte [esi + 0x28], 0
jne 0x1002b29d
cmp dword [esi + 0x20], 0
jbe 0x1002b286
push 6
mov dword [esp + 0xb0], ecx
lea edx, [esp + 0xac]
push 0
push 0x10
mov ecx, esi
mov dword [esp + 0xb4], edi
mov dword [esp + 0xbc], 0
call fcn.1002f150
add esp, 0xc
test edx, edx
jl 0x1002b298
jg 0x1002ae2a
test eax, eax
jb 0x1002b298
mov byte [esi + 0x34], 0
lea ecx, [esp + 0x38]
mov esi, dword [esp + 0x1c]
mov edx, dword [ebp]
push esi
push 1
push 0
call fcn.10031910
and eax, edx
add esp, 0xc
cmp eax, 0xffffffff
je 0x1002b18a
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0x34]
mov ebp, dword [esp + 0x70]
mov eax, dword [eax]
mov edi, dword [edi + eax]
mov ax, word [edi + 0xa]
cmp ax, word [esp + 0x42]
jb 0x1002b08d
mov eax, dword [edi + 0x10]
cmp eax, dword [esp + 0x48]
jne 0x1002b08d
mov eax, dword [edi + 0x18]
cmp eax, dword [esp + 0x50]
jne 0x1002b08d
mov eax, dword [edi + 0x1c]
cmp eax, dword [esp + 0x54]
jne 0x1002b08d
mov ecx, dword [edi + 0x38]
test ecx, ecx
je 0x1002af0e
test ebp, ebp
je 0x1002af0e
movzx eax, word [ecx + 4]
cmp ax, word [ebp + 4]
jne 0x1002b08d
mov ecx, dword [ecx]
mov esi, eax
mov edx, dword [ebp]
sub esi, 4
jb 0x1002aed1
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x1002aed6
add ecx, 4
add edx, 4
sub esi, 4
jae 0x1002aec0
cmp esi, 0xfffffffc
je 0x1002af07
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x1002af03
cmp esi, 0xfffffffd
je 0x1002af07
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x1002af03
cmp esi, 0xfffffffe
je 0x1002af07
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x1002af03
cmp esi, 0xffffffff
je 0x1002af07
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x1002af07
xor eax, eax
jmp 0x1002af15
mov eax, 1
jmp 0x1002af15
xor eax, eax
cmp ecx, ebp
sete al
test eax, eax
je 0x1002b08d
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x68]
mov esi, dword [esp + 0x64]
mov ecx, dword [esp + 0x60]
cmp dword [edi + 0x20], edx
jne 0x1002af50
cmp dword [edi + 0x28], ecx
jne 0x1002af50
cmp dword [edi + 0x2c], esi
jne 0x1002af50
cmp dword [edi + 0x30], eax
jne 0x1002af50
mov ebx, dword [esp + 0x6c]
cmp dword [edi + 0x34], ebx
mov ebx, dword [sym.imp.msvcrt.dll_free]
je 0x1002af75
test byte [esp + 0x44], 8
je 0x1002b08d
test edx, edx
jne 0x1002b08d
or ecx, esi
jne 0x1002b08d
or eax, dword [esp + 0x6c]
jne 0x1002b08d
mov edx, dword [esp + 0x74]
mov ecx, dword [edi + 0x3c]
call fcn.100349e0
mov edi, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x74], 0
mov ecx, dword [edi]
mov ecx, dword [ecx + edx]
mov dword [ecx + 0x3c], eax
mov eax, dword [edi]
mov cl, byte [esp + 0x3d]
mov eax, dword [eax + edx]
mov byte [eax + 4], 1
test cl, cl
je 0x1002afb2
mov al, byte [esp + 0x38]
test al, 2
je 0x1002afdc
test ebp, ebp
je 0x1002afd0
push dword [ebp]
call ebx
add esp, 4
push dword [ebp + 0xc]
call ebx
add esp, 4
push ebp
call ebx
mov cl, byte [esp + 0x41]
add esp, 4
mov al, byte [esp + 0x38]
mov dword [esp + 0x70], 0
test cl, cl
je 0x1002afe4
test al, 4
je 0x1002b011
mov esi, dword [esp + 0x78]
test esi, esi
je 0x1002b005
push dword [esi]
call ebx
add esp, 4
push dword [esi + 0xc]
call ebx
add esp, 4
push esi
call ebx
mov cl, byte [esp + 0x41]
add esp, 4
mov al, byte [esp + 0x38]
mov dword [esp + 0x78], 0
test cl, cl
je 0x1002b019
test al, al
jns 0x1002b056
mov esi, dword [esp + 0x94]
test esi, esi
je 0x1002b045
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002b030
sub ecx, edx
push ecx
push 0
push esi
call sub.msvcrt.dll_memset
add esp, 0xc
push esi
call ebx
add esp, 4
mov dword [esp + 0x94], 0
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
add eax, 1
mov dword [esp + 0x28], eax
adc edx, 0
mov dword [esp + 0x24], edx
cmp edx, dword [edi + 0xc]
ja 0x1002b2d5
jb 0x1002b080
cmp eax, dword [edi + 8]
jae 0x1002b2d5
mov edx, dword [esp + 0x2c]
mov esi, dword [esp + 0x20]
jmp 0x1002ad30
cmp dword [esp + 0x24], 0
jne 0x1002b0a0
mov ecx, dword [esp + 0x28]
cmp ecx, 0x7fffff
jbe 0x1002b0a5
mov ecx, 0x7fffff
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x1002b0bc
shl ecx, 8
or ecx, 6
mov dword [esi], 0x15
mov dword [esi + 4], ecx
mov al, byte [esp + 0x3d]
test al, al
je 0x1002b0cb
test byte [esp + 0x38], 2
je 0x1002b0e9
test ebp, ebp
je 0x1002b0e9
push dword [ebp]
call ebx
add esp, 4
push dword [ebp + 0xc]
call ebx
add esp, 4
push ebp
call ebx
mov al, byte [esp + 0x41]
add esp, 4
test al, al
je 0x1002b0f4
test byte [esp + 0x38], 8
je 0x1002b11a
mov edi, dword [esp + 0x74]
test edi, edi
je 0x1002b11a
nop dword [eax]
push dword [edi + 0xc]
mov esi, dword [edi]
call ebx
add esp, 4
push edi
call ebx
add esp, 4
mov edi, esi
test esi, esi
jne 0x1002b100
mov al, byte [esp + 0x3d]
test al, al
je 0x1002b125
test byte [esp + 0x38], 4
je 0x1002b146
mov esi, dword [esp + 0x78]
test esi, esi
je 0x1002b146
push dword [esi]
call ebx
add esp, 4
push dword [esi + 0xc]
call ebx
add esp, 4
push esi
call ebx
mov al, byte [esp + 0x41]
add esp, 4
test al, al
je 0x1002b155
test byte [esp + 0x38], 0x80
je 0x1002b2ce
mov esi, dword [esp + 0x94]
test esi, esi
je 0x1002b17a
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002b165
sub ecx, edx
push ecx
push 0
push esi
call sub.msvcrt.dll_memset
add esp, 0xc
push esi
call ebx
or eax, 0xffffffff
add esp, 4
or edx, eax
jmp 0x1002b31b
cmp dword [esi], 0x15
jne 0x1002b1b9
cmp dword [esp + 0x24], 0
jne 0x1002b1a2
mov ecx, dword [esp + 0x28]
cmp ecx, 0x7fffff
jbe 0x1002b1a7
mov ecx, 0x7fffff
movzx eax, byte [esi + 4]
shl ecx, 8
or eax, ecx
mov dword [esi], 0x15
mov dword [esi + 4], eax
mov al, byte [esp + 0x3d]
test al, al
je 0x1002b1c8
test byte [esp + 0x38], 2
je 0x1002b1e9
mov esi, dword [esp + 0x70]
test esi, esi
je 0x1002b1e9
push dword [esi]
call ebx
add esp, 4
push dword [esi + 0xc]
call ebx
add esp, 4
push esi
call ebx
mov al, byte [esp + 0x41]
add esp, 4
test al, al
je 0x1002b1f4
test byte [esp + 0x38], 8
je 0x1002b21a
mov edi, dword [esp + 0x74]
test edi, edi
je 0x1002b21a
nop dword [eax]
push dword [edi + 0xc]
mov esi, dword [edi]
call ebx
add esp, 4
push edi
call ebx
add esp, 4
mov edi, esi
test esi, esi
jne 0x1002b200
mov al, byte [esp + 0x3d]
test al, al
je 0x1002b225
test byte [esp + 0x38], 4
je 0x1002b246
mov esi, dword [esp + 0x78]
test esi, esi
je 0x1002b246
push dword [esi]
call ebx
add esp, 4
push dword [esi + 0xc]
call ebx
add esp, 4
push esi
call ebx
mov al, byte [esp + 0x41]
add esp, 4
test al, al
je 0x1002b251
test byte [esp + 0x38], 0x80
je 0x1002b2ce
mov esi, dword [esp + 0x94]
test esi, esi
je 0x1002b276
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002b261
sub ecx, edx
push ecx
push 0
push esi
call sub.msvcrt.dll_memset
add esp, 0xc
push esi
call ebx
or eax, 0xffffffff
add esp, 4
or edx, eax
jmp 0x1002b31b
add esi, 0xc
je 0x1002b298
mov dword [esi], 0x12
mov dword [esi + 4], 0
mov ecx, dword [ebp]
jmp 0x1002b29f
mov ecx, esi
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x1002b2ce
mov eax, dword [ecx + 0xc]
mov dword [esi], eax
mov eax, dword [ecx + 0x10]
mov dword [esi + 4], eax
or eax, 0xffffffff
or edx, eax
jmp 0x1002b31b
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x1002b2ce
mov dword [esi + 4], 0
mov dword [esi], 0x13
or eax, 0xffffffff
or edx, eax
jmp 0x1002b31b
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
sub ebx, eax
sbb ebp, dword [esp + 0x20]
cmp ebp, 0x7fffffff
jb 0x1002b317
ja 0x1002b2f6
cmp ebx, 0xffffffff
jb 0x1002b317
or ebx, 0xffffffff
mov ebp, 0x7fffffff
jmp 0x1002b317
movlpd qword [esp + 0xa0], xmm0
mov ebp, dword [esp + 0xa4]
mov ebx, dword [esp + 0xa0]
mov eax, ebx
mov edx, ebp
mov ecx, dword [esp + 0xbc]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1005c833
add esp, 0xb0
ret