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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10060772
mov eax, dword fs:[0]
push eax
sub esp, 0x318
mov eax, dword [0x10073980]
xor eax, esp
mov dword [esp + 0x310], eax
push ebx
push esi
push edi
mov eax, dword [0x10073980]
xor eax, esp
push eax
lea eax, [esp + 0x328]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
xor ebx, ebx
cmp edi, ebx
je 0x1001a800
cmp esi, ebx
je 0x1001a800
mov eax, edi
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x1001a3b0
sub eax, edx
sar eax, 1
je 0x1001a800
mov eax, esi
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x1001a3d0
sub eax, edx
sar eax, 1
je 0x1001a800
push esi
call dword [0x1006211c]
cmp eax, 0xffffffff
je 0x1001a3f5
test al, 0x10
jne 0x1001a40b
push ebx
push esi
call dword [0x10062040]
test eax, eax
jne 0x1001a40b
mov eax, 0xfffffffe
jmp 0x1001a803
mov eax, edi
lea ecx, [esp + 0x40]
call fcn.1000b7f0
mov eax, esi
lea ecx, [esp + 0x24]
mov dword [esp + 0x330], ebx
call fcn.1000b7f0
lea eax, [esp + 0x14]
push eax
lea edi, [esp + 0x44]
mov byte [esp + 0x334], 1
call fcn.1001a8d0
call fcn.1001a930
cmp word [eax], 0x5c
je 0x1001a4a6
or ecx, 0xffffffff
sub ecx, dword [esp + 0x54]
cmp ecx, 1
ja 0x1001a45a
call int.1004d0e4
mov edi, dword [esp + 0x54]
inc edi
lea eax, [esp + 0x40]
call fcn.1000e0b0
mov esi, 8
test al, al
je 0x1001a4ab
mov eax, dword [esp + 0x44]
cmp dword [esp + 0x58], esi
jae 0x1001a47f
lea eax, [esp + 0x44]
mov ecx, dword [esp + 0x54]
mov edx, 0x5c
mov word [eax + ecx*2], dx
mov eax, dword [esp + 0x44]
mov dword [esp + 0x54], edi
cmp dword [esp + 0x58], esi
jae 0x1001a49e
lea eax, [esp + 0x44]
xor edx, edx
mov word [eax + edi*2], dx
jmp 0x1001a4ab
mov esi, 8
lea eax, [esp + 0x14]
push eax
lea edi, [esp + 0x28]
call fcn.1001a8d0
call fcn.1001a930
cmp word [eax], 0x5c
je 0x1001a51a
or ecx, 0xffffffff
sub ecx, dword [esp + 0x38]
cmp ecx, 1
ja 0x1001a4d5
call int.1004d0e4
mov edi, dword [esp + 0x38]
inc edi
lea eax, [esp + 0x24]
call fcn.1000e0b0
test al, al
je 0x1001a51a
mov eax, dword [esp + 0x28]
cmp dword [esp + 0x3c], esi
jae 0x1001a4f5
lea eax, [esp + 0x28]
mov ecx, dword [esp + 0x38]
mov edx, 0x5c
mov word [eax + ecx*2], dx
mov eax, dword [esp + 0x28]
mov dword [esp + 0x38], edi
cmp dword [esp + 0x3c], esi
jae 0x1001a514
lea eax, [esp + 0x28]
xor edx, edx
mov word [eax + edi*2], dx
lea eax, [esp + 0x40]
push eax
lea esi, [esp + 0xb4]
call fcn.1001a870
mov ecx, esi
push ecx
mov eax, 0x1006b944
mov byte [esp + 0x334], 2
call fcn.1001a8a0
mov eax, dword [esp + 0xb4]
mov edi, 8
cmp dword [esp + 0xc8], edi
jae 0x1001a55c
lea eax, [esp + 0xb4]
lea edx, [esp + 0xcc]
push edx
push eax
call dword [0x1006202c]
mov dword [esp + 0x14], eax
cmp eax, 0xffffffff
je 0x1001a783
xor eax, eax
xor esi, esi
push 0xffffffffffffffff
mov word [esp + 0x64], ax
push esi
lea eax, [esp + 0x48]
lea ecx, [esp + 0x64]
mov dword [esp + 0x7c], 7
mov dword [esp + 0x78], esi
call fcn.1000caf0
lea eax, [esp + 0xf8]
mov byte [esp + 0x330], 3
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x1001a5b0
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0xfc]
lea ecx, [esp + 0x60]
call fcn.1001a9e0
test byte [esp + 0xcc], 0x10
jne 0x1001a694
xor ecx, ecx
push 0xffffffffffffffff
mov word [esp + 0x80], cx
push esi
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x80]
mov dword [esp + 0x98], 7
mov dword [esp + 0x94], esi
call fcn.1000caf0
lea eax, [esp + 0xf8]
mov byte [esp + 0x330], 4
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x1001a620
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0xfc]
lea ecx, [esp + 0x7c]
call fcn.1001a9e0
mov ecx, dword [esp + 0x7c]
cmp dword [esp + 0x90], edi
jae 0x1001a651
lea ecx, [esp + 0x7c]
mov eax, dword [esp + 0x60]
cmp dword [esp + 0x74], edi
jae 0x1001a65f
lea eax, [esp + 0x60]
mov edx, dword [ebp + 0x14]
push edx
push ecx
push eax
call dword [0x10062090]
mov byte [esp + 0x330], 3
mov ebx, eax
cmp dword [esp + 0x90], edi
jb 0x1001a72b
mov eax, dword [esp + 0x7c]
push eax
call fcn.1002d0e4
add esp, 4
jmp 0x1001a72b
cmp dword [ebp + 0x10], esi
je 0x1001a72b
lea ecx, [esp + 0x1c]
push ecx
lea edi, [esp + 0x60]
call fcn.1001a8d0
call fcn.1001a930
cmp word [eax], 0x2e
je 0x1001a726
lea edx, [esp + 0x24]
push edx
lea esi, [esp + 0x98]
call fcn.1001a870
mov eax, esi
push eax
lea eax, [esp + 0xfc]
mov byte [esp + 0x334], 5
call fcn.1001a8a0
mov edx, dword [esp + 0xac]
mov eax, dword [esp + 0x98]
mov ecx, eax
cmp edx, 8
jae 0x1001a6fc
lea ecx, [esp + 0x98]
mov eax, ecx
mov edx, dword [ebp + 0x14]
push edx
mov edx, dword [ebp + 0x10]
push edx
push ecx
push eax
call fcn.1001a350
add esp, 0x10
lea esi, [esp + 0x94]
mov ebx, eax
mov byte [esp + 0x330], 3
call fcn.1000b830
xor esi, esi
mov edi, 8
mov byte [esp + 0x330], 2
cmp dword [esp + 0x74], edi
jb 0x1001a746
mov eax, dword [esp + 0x60]
push eax
call fcn.1002d0e4
add esp, 4
mov eax, dword [esp + 0x14]
lea edx, [esp + 0xcc]
push edx
xor ecx, ecx
push eax
mov dword [esp + 0x7c], 7
mov dword [esp + 0x78], esi
mov word [esp + 0x68], cx
call dword [0x10062074]
test eax, eax
jne 0x1001a578
mov ecx, dword [esp + 0x14]
push ecx
call dword [0x10062068]
cmp ebx, esi
jne 0x1001a7c3
lea esi, [esp + 0xb0]
mov byte [esp + 0x330], 1
call fcn.1000b830
lea esi, [esp + 0x24]
mov byte [esp + 0x330], 0
call fcn.1000b830
lea esi, [esp + 0x40]
mov dword [esp + 0x330], 0xffffffff
call fcn.1000b830
mov eax, 0xfffffffd
jmp 0x1001a803
lea esi, [esp + 0xb0]
mov byte [esp + 0x330], 1
call fcn.1000b830
lea esi, [esp + 0x24]
mov byte [esp + 0x330], 0
call fcn.1000b830
lea esi, [esp + 0x40]
mov dword [esp + 0x330], 0xffffffff
call fcn.1000b830
xor eax, eax
jmp 0x1001a803
or eax, 0xffffffff
mov ecx, dword [esp + 0x328]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x310]
xor ecx, esp
call fcn.1002d0ef
mov esp, ebp
pop ebp
ret