Function at 0x1001f2d0
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 0x1001f345
mov edi, dword [ebp + 8]
cmp dword [edi], 1
jne 0x1001fa3c
cmp dword [edi + 4], 0
jne 0x1001fa3c
mov eax, edx
mov edx, ecx
lea ecx, [esp + 8]
push 0x6476bd4
push eax
call fcn.1000dc00
add esp, 8
movzx eax, byte [esp + 0x10]
cmp al, 3
je 0x1001f345
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 0x1001f34d
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 0x1001f345
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x1001f345
mov dword [esp + 4], esi
mov esi, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x4c]
cmp esi, 6
je 0x1001f47a
cmp esi, 4
mov esi, dword [esp + 4]
jne 0x1001f345
cmp dword [ecx], 0x7473746d
je 0x1001f785
cmp dword [ecx], 0x7373746d
je 0x1001f7b8
cmp dword [ecx], 0x626d6d66
je 0x1001f816
cmp dword [ecx], 0x6170706d
je 0x1001f874
cmp dword [ecx], 0x6174746d
je 0x1001f8da
cmp dword [ecx], 0x62727570
je 0x1001f935
cmp dword [ecx], 0x62726b70
je 0x1001f9aa
cmp dword [ecx], 0x66726e69
je 0x1001f9e1
cmp dword [ecx], 0x6473756b
jne 0x1001f345
test edx, edx
je 0x1001fa05
test eax, eax
je 0x1001fa05
mov dword [esp + 0x38], 0
lea ecx, [esp + 8]
push 0x10
push eax
call fcn.1001eb40
add esp, 8
cmp byte [esp + 0x14], 3
jne 0x1001f345
mov ebx, dword [esp + 8]
mov esi, dword [esp + 0xc]
mov eax, 1
jmp 0x1001fa13
mov esi, dword [ecx]
movzx ecx, word [ecx + 4]
mov edi, 0x3678746d
xor esi, edi
xor ecx, 0x6334
or ecx, esi
jne 0x1001f345
test edx, edx
je 0x1001f345
lea ecx, [esp + 8]
push 0x6476bd4
push eax
call fcn.1000dc00
add esp, 8
movzx eax, byte [esp + 0x10]
cmp al, 3
je 0x1001f345
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 0x1001f345
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 0x1001f8af
mov ecx, dword [esp + 0xac]
test ecx, ecx
je 0x1001f345
cmp dword [esp + 0xb0], 3
jne 0x1001f345
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 0x1001f6ec
movzx esi, word [ecx]
movzx ebx, byte [ecx + 2]
xor esi, 0x6969
xor ebx, 0x70
or bx, si
je 0x1001f733
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 0x1001f345
test edx, edx
je 0x1001f345
mov ecx, edx
mov edx, eax
call fcn.1000d890
test eax, eax
je 0x1001f345
test edx, edx
je 0x1001f345
cmp byte [eax], 0x28
jne 0x1001f345
cmp edx, 1
je 0x1001f345
inc eax
cmp byte [eax + edx - 2], 0x29
jne 0x1001f345
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 0x1001f540
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 0x1001f345
test eax, eax
je 0x1001f345
lea ecx, [esp + 8]
push ebx
call fcn.1001dfa0
add esp, 4
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, eax
xor edx, 2
or edx, ecx
je 0x1001f345
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 0x1001f650
lea ecx, [esp + 8]
push eax
call fcn.1001dfa0
add esp, 4
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, eax
xor edx, 2
or edx, ecx
je 0x1001f345
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 0x1001f778
lea ecx, [esp + 8]
push eax
call fcn.1001dfa0
add esp, 4
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, eax
xor edx, 2
or edx, ecx
je 0x1001f345
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 0x1001f540
xor esi, esi
test edx, edx
je 0x1001f7f3
test eax, eax
je 0x1001f7f3
lea ecx, [esp + 8]
push 0x10
push eax
call fcn.1001eb40
add esp, 8
cmp byte [esp + 0x14], 3
jne 0x1001f345
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov eax, 1
jmp 0x1001f7fd
xor esi, esi
test edx, edx
je 0x1001f851
test eax, eax
je 0x1001f851
lea ecx, [esp + 8]
push 0x10
push eax
call fcn.1001eb40
add esp, 8
cmp byte [esp + 0x14], 3
jne 0x1001f345
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov eax, 1
jmp 0x1001f85b
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 0x1001f999
xor esi, esi
test edx, edx
je 0x1001f8b7
test eax, eax
je 0x1001f8b7
lea ecx, [esp + 8]
push 0x10
push eax
call fcn.1001eb40
add esp, 8
cmp byte [esp + 0x14], 3
jne 0x1001f345
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov eax, 1
jmp 0x1001f8c1
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 0x1001f999
xor esi, esi
test edx, edx
je 0x1001f915
test eax, eax
je 0x1001f915
lea ecx, [esp + 8]
push 0x10
push eax
call fcn.1001eb40
add esp, 8
cmp byte [esp + 0x14], 3
jne 0x1001f345
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov eax, 1
jmp 0x1001f91f
mov edi, dword [ebp + 8]
jmp 0x1001f9f8
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 0x1001f999
xor esi, esi
test edx, edx
je 0x1001f96f
test eax, eax
je 0x1001f96f
lea ecx, [esp + 8]
push 0x10
push eax
call fcn.1001eb40
add esp, 8
cmp byte [esp + 0x14], 3
jne 0x1001f345
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov eax, 1
jmp 0x1001f979
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 0x1001f999
test edx, edx
je 0x1001f345
test eax, eax
je 0x1001f345
lea ecx, [esp + 8]
push 0x10
push eax
call fcn.1001eb40
add esp, 8
cmp byte [esp + 0x14], 3
jne 0x1001f345
movsd xmm0, qword [esp + 8]
movsd qword [edi + 0x18], xmm0
jmp 0x1001f9f8
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 0x1001f390
test edx, edx
je 0x1001f345
test eax, eax
je 0x1001f345
lea ecx, [esp + 8]
push 0x10
push eax
call fcn.1001eb40
add esp, 8
cmp byte [esp + 0x14], 3
jne 0x1001f345
movsd xmm0, qword [esp + 8]
movsd qword [edi + 0x20], xmm0
jmp 0x1001f9f8
mov ecx, edx
mov edx, eax
call fcn.1000db40
test al, 1
jne 0x1001f345
and dl, 1
mov byte [edi + 0x28], dl
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x20]
jmp 0x1001f390
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 0x1001f390
mov ecx, 0x647dbcc
mov edx, 0x2b
push 0x6476c1c
call fcn.10007ff0
add esp, 4
ud2