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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x16c
mov eax, dword fs:[0x2c]
push ebx
push esi
mov esi, dword [0x11d0c5b8]
push edi
mov dword [esp + 0x14], edx
mov edi, ecx
mov eax, dword [eax + esi*4]
mov dword [esp + 0x20], eax
mov eax, dword [eax + 0x10]
test dword [eax + 0x162c], 0x8100
je 0x101f3560
test byte [edx + 0x93], 2
je 0x101f3560
cmp byte [0x11d0c748], 0
jne 0x101f3560
mov cl, 1
jmp 0x101f3562
xor cl, cl
cmp dword [eax + 0xf940], 2
jne 0x101f3591
mov eax, dword [edi]
movzx edx, byte [eax + 0xf880]
mov eax, dword [eax + 0xf888]
and eax, 0xf00
cmp eax, 0x100
jbe 0x101f358d
lea eax, [edx - 1]
test edx, eax
jne 0x101f3591
mov bl, 1
jmp 0x101f3593
xor bl, bl
test cl, cl
je 0x101f359f
test bl, bl
je 0x101f359f
mov bh, 1
jmp 0x101f35a1
xor bh, bh
test byte [0x11cd362c], 1
je 0x101f35f4
cmp dword [0x11cd3624], 0
jne 0x101f35c1
mov ecx, 0x11cd3610
call fcn.100f5b00
test al, al
je 0x101f35f4
mov edx, dword [0x11cd3618]
xor eax, eax
mov esi, dword [0x11cd3614]
test edx, edx
je 0x101f35f4
lea ecx, [esi + 4]
nop word [eax + eax]
cmp dword [ecx], 0xc69bcd
je 0x101f3679
inc eax
add ecx, 0x10
cmp eax, edx
jb 0x101f35e0
mov esi, 1
mov edx, dword [ebp + 0xc]
mov ecx, dword [edx]
lea eax, [ecx - 1]
test ecx, eax
je 0x101f3622
test bl, bl
jne 0x101f3622
mov eax, dword [esp + 0x20]
push ecx
mov eax, dword [eax + 0x10]
push dword [eax + 0xbe2c]
call fcn.101f8400
mov edx, dword [ebp + 0xc]
mov eax, dword [esp + 0x14]
test byte [eax + 0x1ae], 0x20
je 0x101f38bb
test byte [eax + 0x95], 8
je 0x101f38bb
test bh, bh
je 0x101f38bb
test esi, esi
je 0x101f38bb
mov eax, dword [edx]
bsf ebx, eax
cmp dword [edi + 0x13c4], 0
jne 0x101f3684
mov ecx, edi
call fcn.101f2e30
test eax, eax
jns 0x101f3684
mov ecx, edi
call fcn.101f31b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
add eax, eax
mov esi, dword [esi + eax*8 + 0xc]
jmp 0x101f35f9
mov ecx, dword [edi + 0x11d8]
push 1
push 1
mov ecx, dword [ecx + 0x5e0]
call fcn.101e43f0
mov edx, dword [edi + 0x13c4]
lea ecx, [ebx + ebx*8]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + ecx*8 + 0x10]
mov dword [esp + 0x24], eax
mov esi, dword [edx + ebx*4]
mov eax, dword [edx + 0x150]
mov dword [esp + 0xc], eax
mov eax, dword [edx + ebx*4 + 0x130]
lea ebx, [edx + 0x154]
mov dword [esp + 0x10], eax
add dword [edx + 0x158], 1
mov eax, dword [edx + 0x158]
adc dword [edx + 0x15c], 0
mov ecx, dword [edx + 0x15c]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
cmp dword [ebx], 0
je 0x101f37c4
push 0x58
lea eax, [esp + 0xcc]
push 0
push eax
call fcn.10425c00
lea eax, [esp + 0x18]
mov dword [esp + 0xd4], 1
mov dword [esp + 0xd8], eax
add esp, 0xc
lea eax, [esp + 0x18]
mov dword [esp + 0xd4], 1
mov dword [esp + 0xe0], eax
mov ecx, edi
lea eax, [esp + 0xc8]
mov dword [esp + 0xd8], ebx
push eax
call fcn.101d2710
test eax, eax
js 0x101f38bb
lea eax, [esp + 0x18]
mov dword [esp + 0x34], 0
xorps xmm0, xmm0
mov dword [esp + 0x38], eax
lea eax, [esp + 0xc]
movlpd qword [esp + 0x3c], xmm0
mov dword [esp + 0x30], eax
mov ecx, edi
lea eax, [esp + 0x28]
movlpd qword [esp + 0x44], xmm0
push eax
movlpd qword [esp + 0x50], xmm0
movlpd qword [esp + 0x58], xmm0
movlpd qword [esp + 0x60], xmm0
movlpd qword [esp + 0x68], xmm0
movlpd qword [esp + 0x70], xmm0
mov dword [esp + 0x78], 0
mov dword [esp + 0x30], 1
mov dword [esp + 0x2c], esi
call fcn.101d2670
test eax, eax
js 0x101f38bb
push 0x58
lea eax, [esp + 0x124]
push 0
push eax
call fcn.10425c00
lea eax, [esp + 0x1c]
mov dword [esp + 0x12c], 1
mov dword [esp + 0x130], eax
add esp, 0xc
lea eax, [esp + 0x18]
mov dword [esp + 0x12c], 1
mov dword [esp + 0x138], eax
mov ecx, edi
lea eax, [esp + 0x24]
mov dword [esp + 0x130], eax
lea eax, [esp + 0x120]
push eax
call fcn.101d2710
test eax, eax
js 0x101f38bb
lea eax, [esp + 0x18]
mov dword [esp + 0x84], 0
xorps xmm0, xmm0
mov dword [esp + 0x88], eax
lea eax, [esp + 0x10]
movlpd qword [esp + 0x8c], xmm0
mov dword [esp + 0x80], eax
mov ecx, edi
lea eax, [esp + 0x78]
movlpd qword [esp + 0x94], xmm0
push eax
movlpd qword [esp + 0xa0], xmm0
movlpd qword [esp + 0xa8], xmm0
movlpd qword [esp + 0xb0], xmm0
movlpd qword [esp + 0xb8], xmm0
movlpd qword [esp + 0xc0], xmm0
mov dword [esp + 0xc8], 0
mov dword [esp + 0x80], 1
mov dword [esp + 0x7c], esi
call fcn.101d2670
test eax, eax
js 0x101f38bb
mov eax, dword [ebp + 8]
mov dword [eax + 8], esi
mov dword [ebx], esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8