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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xc0
test ecx, ecx
je 0x1001f2e5
mov edi, dword [ebp + 8]
cmp dword [edi], 1
jne 0x1001f9dc
cmp dword [edi + 4], 0
jne 0x1001f9dc
mov eax, edx
mov edx, ecx
lea ecx, [esp + 8]
push 0x16a5bb4
push eax
call fcn.1000dc00
add esp, 8
movzx eax, byte [esp + 0x10]
cmp al, 3
je 0x1001f2e5
mov edx, dword [esp + 0xa]
movzx ebx, word [esp + 0xe]
movzx esi, word [esp + 0x11]
mov ah, byte [esp + 0x13]
movzx ecx, word [esp + 8]
cmp al, 2
mov dword [esp + 0x78], edx
mov word [esp + 0x7c], bx
mov word [esp + 0x2c], si
mov byte [esp + 0x2e], ah
jne 0x1001f2ed
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
movzx edx, word [esp + 0x7c]
mov word [esp + 0x26], dx
mov edx, dword [esp + 0x78]
mov dword [esp + 0x22], edx
movzx edx, word [esp + 0x2c]
mov word [esp + 0x29], dx
movzx edx, byte [esp + 0x2e]
mov byte [esp + 0x2b], dl
mov byte [esp + 0x20], cl
mov byte [esp + 0x21], ch
mov byte [esp + 0x28], al
lea eax, [edi + 0x60]
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x20]
mov dword [esp + 0x88], eax
call fcn.1000dcd0
cmp dword [esp + 0x3c], 0
je 0x1001f2e5
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x1001f2e5
mov dword [esp + 4], esi
mov esi, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x4c]
cmp esi, 6
je 0x1001f41a
cmp esi, 4
mov esi, dword [esp + 4]
jne 0x1001f2e5
cmp dword [ecx], 0x7473746d
je 0x1001f725
cmp dword [ecx], 0x7373746d
je 0x1001f758
cmp dword [ecx], 0x626d6d66
je 0x1001f7b6
cmp dword [ecx], 0x6170706d
je 0x1001f814
cmp dword [ecx], 0x6174746d
je 0x1001f87a
cmp dword [ecx], 0x62727570
je 0x1001f8d5
cmp dword [ecx], 0x62726b70
je 0x1001f94a
cmp dword [ecx], 0x66726e69
je 0x1001f981
cmp dword [ecx], 0x6473756b
jne 0x1001f2e5
test edx, edx
je 0x1001f9a5
test eax, eax
je 0x1001f9a5
mov dword [esp + 0x38], 0
lea ecx, [esp + 8]
push 0x10
push eax
call fcn.1001eae0
add esp, 8
cmp byte [esp + 0x14], 3
jne 0x1001f2e5
mov ebx, dword [esp + 8]
mov esi, dword [esp + 0xc]
mov eax, 1
jmp 0x1001f9b3
mov esi, dword [ecx]
movzx ecx, word [ecx + 4]
mov edi, 0x3678746d
xor esi, edi
xor ecx, 0x6334
or ecx, esi
jne 0x1001f2e5
test edx, edx
je 0x1001f2e5
lea ecx, [esp + 8]
push 0x16a5bb4
push eax
call fcn.1000dc00
add esp, 8
movzx eax, byte [esp + 0x10]
cmp al, 3
je 0x1001f2e5
lea edi, [esp + 0xa]
movzx ecx, byte [esp + 8]
movzx edx, byte [esp + 9]
cmp al, 2
mov esi, dword [edi]
mov ah, byte [edi + 9]
mov dword [esp + 0x80], esi
movzx esi, word [edi + 4]
mov byte [esp + 0x32], ah
mov word [esp + 0x84], si
movzx esi, word [edi + 7]
mov word [esp + 0x30], si
je 0x1001f2e5
movzx esi, word [esp + 0x84]
lea edi, [esp + 0x9e]
mov ah, byte [esp + 0x32]
mov dword [esp + 0x34], ebx
mov word [edi + 4], si
mov esi, dword [esp + 0x80]
mov dword [edi], esi
movzx esi, word [esp + 0x30]
mov byte [edi + 9], ah
mov word [edi + 7], si
mov esi, dword [esp + 4]
mov byte [esp + 0x9c], cl
mov byte [esp + 0x9d], dl
mov byte [esp + 0xa4], al
lea ecx, [esp + 0xa8]
lea edx, [esp + 0x9c]
call fcn.1000dcd0
cmp dword [esp + 0xa8], 0
je 0x1001f84f
mov ecx, dword [esp + 0xac]
test ecx, ecx
je 0x1001f2e5
cmp dword [esp + 0xb0], 3
jne 0x1001f2e5
movzx esi, word [ecx]
movzx ebx, byte [ecx + 2]
mov edx, dword [esp + 0xb4]
mov eax, dword [esp + 0xb8]
xor esi, 0x6669
xor ebx, 0x6c
or bx, si
je 0x1001f68c
movzx esi, word [ecx]
movzx ebx, byte [ecx + 2]
xor esi, 0x6969
xor ebx, 0x70
or bx, si
je 0x1001f6d3
movzx esi, word [ecx]
movzx ecx, byte [ecx + 2]
mov ebx, dword [esp + 0x34]
xor esi, 0x6769
xor ecx, 0x72
or cx, si
mov esi, dword [esp + 4]
jne 0x1001f2e5
test edx, edx
je 0x1001f2e5
mov ecx, edx
mov edx, eax
call fcn.1000d890
test eax, eax
je 0x1001f2e5
test edx, edx
je 0x1001f2e5
cmp byte [eax], 0x28
jne 0x1001f2e5
cmp edx, 1
je 0x1001f2e5
inc eax
cmp byte [eax + edx - 2], 0x29
jne 0x1001f2e5
add edx, 0xfffffffe
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], edx
mov byte [esp + 0x98], 1
nop word cs:[eax + eax]
nop dword [eax]
lea ecx, [esp + 8]
lea edx, [esp + 0x90]
call fcn.1000dcd0
cmp dword [esp + 8], 0
je 0x1001f4e0
mov ecx, dword [esp + 0x8c]
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
lea esi, [ecx + 1]
mov dword [esp + 0x8c], esi
mov esi, ecx
shl esi, 4
add esi, dword [esp + 0x88]
cmp ecx, 0x10
cmovb edi, esi
jae 0x1001f2e5
test eax, eax
je 0x1001f2e5
lea ecx, [esp + 8]
push ebx
call fcn.1001df40
add esp, 4
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, eax
xor edx, 2
or edx, ecx
je 0x1001f2e5
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov dword [edi + 4], ecx
mov dword [edi], eax
mov dword [edi + 0xc], ebx
mov dword [edi + 8], edx
mov edi, esi
mov ebx, dword [esp + 0x34]
mov esi, dword [esp + 4]
jmp 0x1001f5f0
lea ecx, [esp + 8]
push eax
call fcn.1001df40
add esp, 4
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, eax
xor edx, 2
or edx, ecx
je 0x1001f2e5
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
mov ebx, dword [ebp + 8]
mov dword [ebx + 0x164], ecx
mov dword [ebx + 0x160], eax
mov dword [ebx + 0x16c], esi
mov dword [ebx + 0x168], edx
jmp 0x1001f718
lea ecx, [esp + 8]
push eax
call fcn.1001df40
add esp, 4
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, eax
xor edx, 2
or edx, ecx
je 0x1001f2e5
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
mov ebx, dword [ebp + 8]
mov dword [ebx + 0x174], ecx
mov dword [ebx + 0x170], eax
mov dword [ebx + 0x17c], esi
mov dword [ebx + 0x178], edx
mov ebx, dword [esp + 0x34]
mov esi, dword [esp + 4]
jmp 0x1001f4e0
xor esi, esi
test edx, edx
je 0x1001f793
test eax, eax
je 0x1001f793
lea ecx, [esp + 8]
push 0x10
push eax
call fcn.1001eae0
add esp, 8
cmp byte [esp + 0x14], 3
jne 0x1001f2e5
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov eax, 1
jmp 0x1001f79d
xor esi, esi
test edx, edx
je 0x1001f7f1
test eax, eax
je 0x1001f7f1
lea ecx, [esp + 8]
push 0x10
push eax
call fcn.1001eae0
add esp, 8
cmp byte [esp + 0x14], 3
jne 0x1001f2e5
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov eax, 1
jmp 0x1001f7fb
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x70]
xor eax, eax
mov dword [edi + 0x40], eax
mov dword [edi + 0x44], esi
mov dword [esp + 0x74], ecx
mov dword [edi + 0x48], ecx
mov dword [esp + 0x70], edx
mov dword [edi + 0x4c], edx
jmp 0x1001f939
xor esi, esi
test edx, edx
je 0x1001f857
test eax, eax
je 0x1001f857
lea ecx, [esp + 8]
push 0x10
push eax
call fcn.1001eae0
add esp, 8
cmp byte [esp + 0x14], 3
jne 0x1001f2e5
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov eax, 1
jmp 0x1001f861
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x68]
xor eax, eax
mov dword [edi + 0x50], eax
mov dword [edi + 0x54], esi
mov dword [esp + 0x6c], ecx
mov dword [edi + 0x58], ecx
mov dword [esp + 0x68], edx
mov dword [edi + 0x5c], edx
jmp 0x1001f939
xor esi, esi
test edx, edx
je 0x1001f8b5
test eax, eax
je 0x1001f8b5
lea ecx, [esp + 8]
push 0x10
push eax
call fcn.1001eae0
add esp, 8
cmp byte [esp + 0x14], 3
jne 0x1001f2e5
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov eax, 1
jmp 0x1001f8bf
mov edi, dword [ebp + 8]
jmp 0x1001f998
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x60]
xor eax, eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], esi
mov dword [esp + 0x64], ecx
mov dword [edi + 0x10], ecx
mov dword [esp + 0x60], edx
mov dword [edi + 0x14], edx
jmp 0x1001f939
xor esi, esi
test edx, edx
je 0x1001f90f
test eax, eax
je 0x1001f90f
lea ecx, [esp + 8]
push 0x10
push eax
call fcn.1001eae0
add esp, 8
cmp byte [esp + 0x14], 3
jne 0x1001f2e5
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov eax, 1
jmp 0x1001f919
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
xor eax, eax
mov dword [edi + 0x30], eax
mov dword [edi + 0x34], esi
mov dword [esp + 0x5c], ecx
mov dword [edi + 0x38], ecx
mov dword [esp + 0x58], edx
mov dword [edi + 0x3c], edx
jmp 0x1001f939
test edx, edx
je 0x1001f2e5
test eax, eax
je 0x1001f2e5
lea ecx, [esp + 8]
push 0x10
push eax
call fcn.1001eae0
add esp, 8
cmp byte [esp + 0x14], 3
jne 0x1001f2e5
movsd xmm0, qword [esp + 8]
movsd qword [edi + 0x18], xmm0
jmp 0x1001f998
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
xor eax, eax
mov dword [edi + 0x180], eax
mov dword [edi + 0x184], esi
mov dword [esp + 0x54], ecx
mov dword [edi + 0x188], ecx
mov dword [esp + 0x50], edx
mov dword [edi + 0x18c], edx
mov esi, dword [esp + 4]
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x20]
jmp 0x1001f330
test edx, edx
je 0x1001f2e5
test eax, eax
je 0x1001f2e5
lea ecx, [esp + 8]
push 0x10
push eax
call fcn.1001eae0
add esp, 8
cmp byte [esp + 0x14], 3
jne 0x1001f2e5
movsd xmm0, qword [esp + 8]
movsd qword [edi + 0x20], xmm0
jmp 0x1001f998
mov ecx, edx
mov edx, eax
call fcn.1000db40
test al, 1
jne 0x1001f2e5
and dl, 1
mov byte [edi + 0x28], dl
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x20]
jmp 0x1001f330
mov esi, dword [esp + 4]
mov dword [esp + 0x38], 0
xor eax, eax
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x20]
mov dword [edi + 0x190], eax
mov eax, dword [esp + 0x38]
mov dword [edi + 0x194], eax
mov dword [edi + 0x198], ebx
mov dword [edi + 0x19c], esi
jmp 0x1001f330
mov ecx, 0x16acb2c
mov edx, 0x2b
push 0x16a5bfc
call fcn.10007ff0
add esp, 4
ud2