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

Disassembly:
push 0xffffffffffffffff
push 0x10096092
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100b0380]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
xor ebp, ebp
xor ebx, ebx
mov dword [esp + 0x24], ebx
mov eax, dword [0x100d9aac]
mov edx, dword [eax + 0xc]
mov ecx, 0x100d9aac
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
mov dword [esp + 0x88], 1
cmp ebx, ebp
jne 0x1001e3ef
lea eax, [esp + 0x34]
push eax
mov edi, 0x1009f738
mov ecx, 0x1009f740
call fcn.1004a5a0
add esp, 4
mov byte [esp + 0x88], 2
mov ecx, dword [eax]
mov esi, dword [esp + 0x14]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x1001e3be
cmp dword [esi + 0xc], ebp
lea edi, [esi + 0xc]
jl 0x1001e3b0
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x1001e3b0
call fcn.1006d080
mov ebp, eax
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x1001e3a5
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebp, 0x10
mov dword [esp + 0x14], ebp
xor ebp, ebp
jmp 0x1001e3be
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea eax, [esp + 0x1c]
call fcn.1006d1c0
mov byte [esp + 0x88], 1
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1001e4e4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x1001e4e4
cmp ebx, 1
jne 0x1001e42c
lea ecx, [esp + 0x38]
push ecx
mov edi, str.safe
mov ecx, 0x1009f740
call fcn.1004a5a0
add esp, 4
mov byte [esp + 0x88], 4
lea edi, [esp + 0x14]
call fcn.1006cca0
mov byte [esp + 0x88], bl
lea ecx, [esp + 0x38]
jmp 0x1001e4df
cmp ebx, 2
jne 0x1001e467
lea edx, [esp + 0x3c]
push edx
mov edi, str.save
mov ecx, 0x1009f740
call fcn.1004a5a0
add esp, 4
mov byte [esp + 0x88], 5
lea edi, [esp + 0x14]
call fcn.1006cca0
mov byte [esp + 0x88], 1
lea ecx, [esp + 0x3c]
jmp 0x1001e4df
cmp ebx, 3
jne 0x1001e4a2
lea eax, [esp + 0x40]
push eax
mov edi, 0x1009f768
mov ecx, 0x1009f740
call fcn.1004a5a0
add esp, 4
mov byte [esp + 0x88], 6
lea edi, [esp + 0x14]
call fcn.1006cca0
mov byte [esp + 0x88], 1
lea ecx, [esp + 0x40]
jmp 0x1001e4df
cmp ebx, 4
jne 0x1001e9d4
lea ecx, [esp + 0x44]
push ecx
mov edi, 0x1009f770
mov ecx, 0x1009f740
call fcn.1004a5a0
add esp, 4
mov byte [esp + 0x88], 7
lea edi, [esp + 0x14]
call fcn.1006cca0
mov byte [esp + 0x88], 1
lea ecx, [esp + 0x44]
call fcn.10013100
mov edx, dword [0x100d9aac]
mov eax, dword [edx + 0xc]
mov ecx, 0x100d9aac
call eax
add eax, 0x10
mov dword [esp + 0x68], eax
mov byte [esp + 0x88], 9
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x70], ebp
mov dword [esp + 0x74], ebp
mov dword [esp + 0x78], ebp
mov byte [esp + 0x88], 0xa
and dword [esp + 0x7c], 0xfffffffc
mov byte [esp + 0x88], 0x11
lea ecx, [esp + 0x30]
push ecx
mov ecx, 0x1009f430
call fcn.10013050
mov byte [esp + 0x88], 0x12
lea edx, [esp + 0x2c]
push edx
mov ecx, 0x1009f434
call fcn.10013050
mov byte [esp + 0x88], 0x13
lea eax, [esp + 0x28]
push eax
mov ecx, 0x1009ed34
call fcn.10013050
mov byte [esp + 0x88], 0x14
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x30]
push eax
push ecx
lea edx, [esp + 0x78]
push edx
call fcn.1001d320
mov byte [esp + 0x88], 0x13
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1001e5b3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x88], 0x12
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1001e5db
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x88], 0x11
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1001e603
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x70]
mov dword [esp + 0x18], ebp
cmp edi, ebp
jbe 0x1001e938
mov edx, dword [0x100d9aac]
mov eax, dword [edx + 0xc]
mov ecx, 0x100d9aac
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x20], esi
mov byte [esp + 0x88], 0x19
mov edx, dword [0x100d9aac]
mov eax, dword [edx + 0xc]
mov ecx, 0x100d9aac
call eax
lea ebx, [eax + 0x10]
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x88], 0x1b
cmp ebp, edi
jae 0x1001e70e
mov ecx, dword [esp + 0x6c]
mov ecx, dword [ecx + ebp*8]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x1001e6b1
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x1001e6a3
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x1001e6a3
call fcn.1006d080
mov ebp, eax
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x1001e696
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebp, 0x10
mov dword [esp + 0x20], ebp
mov ebp, dword [esp + 0x18]
jmp 0x1001e6b1
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea eax, [esp + 0x28]
call fcn.1006d1c0
mov ecx, dword [esp + 0x6c]
mov ecx, dword [ecx + ebp*8 + 4]
lea eax, [ecx - 0x10]
lea esi, [ebx - 0x10]
cmp eax, esi
je 0x1001e70e
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x1001e6fc
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x1001e6fc
call fcn.1006d080
mov ebp, eax
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x1001e6ef
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
lea ebx, [ebp + 0x10]
mov dword [esp + 0x1c], ebx
mov ebp, dword [esp + 0x18]
jmp 0x1001e70e
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea eax, [esp + 0x24]
call fcn.1006d1c0
mov ebx, dword [esp + 0x1c]
push 0xa
push 0
push ebx
call fcn.1007a629
mov ecx, dword [esp + 0x30]
add esp, 0xc
mov dword [esp + 0x18], eax
test ecx, ecx
jne 0x1001e78c
mov esi, dword [0x100e17c4]
test esi, esi
jne 0x1001e735
xor edx, edx
jmp 0x1001e740
mov edx, dword [0x100e17cc]
sub edx, esi
sar edx, 2
mov ecx, dword [0x100e17c8]
mov edi, ecx
sub edi, esi
sar edi, 2
cmp edi, edx
jae 0x1001e761
mov dword [ecx], eax
add ecx, 4
mov dword [0x100e17c8], ecx
jmp 0x1001e8d5
mov edi, ecx
cmp esi, ecx
jbe 0x1001e76c
call fcn.1007a36d
mov eax, dword [0x100e17b8]
push edi
push eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x54]
push edx
mov eax, 0x100e17b8
call fcn.1001ac40
jmp 0x1001e8d5
cmp ecx, 1
jne 0x1001e7f6
mov esi, dword [0x100e17dc]
test esi, esi
jne 0x1001e79f
xor edx, edx
jmp 0x1001e7aa
mov edx, dword [0x100e17e4]
sub edx, esi
sar edx, 2
mov ecx, dword [0x100e17e0]
mov edi, ecx
sub edi, esi
sar edi, 2
cmp edi, edx
jae 0x1001e7cb
mov dword [ecx], eax
add ecx, 4
mov dword [0x100e17e0], ecx
jmp 0x1001e8d5
mov edi, ecx
cmp esi, ecx
jbe 0x1001e7d6
call fcn.1007a36d
mov eax, dword [0x100e17d0]
push edi
push eax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x5c]
push ecx
mov eax, 0x100e17d0
call fcn.1001ac40
jmp 0x1001e8d5
cmp ecx, 2
jne 0x1001e85d
mov esi, dword [0x100e17f4]
test esi, esi
jne 0x1001e809
xor edx, edx
jmp 0x1001e814
mov edx, dword [0x100e17fc]
sub edx, esi
sar edx, 2
mov ecx, dword [0x100e17f8]
mov edi, ecx
sub edi, esi
sar edi, 2
cmp edi, edx
jae 0x1001e835
mov dword [ecx], eax
add ecx, 4
mov dword [0x100e17f8], ecx
jmp 0x1001e8d5
mov edi, ecx
cmp esi, ecx
jbe 0x1001e840
call fcn.1007a36d
mov eax, dword [0x100e17e8]
push edi
push eax
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x64]
push eax
mov eax, 0x100e17e8
call fcn.1001ac40
jmp 0x1001e8d5
cmp ecx, 3
jne 0x1001e8c1
mov esi, dword [0x100e180c]
test esi, esi
jne 0x1001e870
xor edx, edx
jmp 0x1001e87b
mov edx, dword [0x100e1814]
sub edx, esi
sar edx, 2
mov ecx, dword [0x100e1810]
mov edi, ecx
sub edi, esi
sar edi, 2
cmp edi, edx
jae 0x1001e899
mov dword [ecx], eax
add ecx, 4
mov dword [0x100e1810], ecx
jmp 0x1001e8d5
mov edi, ecx
cmp esi, ecx
jbe 0x1001e8a4
call fcn.1007a36d
mov eax, dword [0x100e1800]
push edi
push eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x6c]
push edx
mov eax, 0x100e1800
call fcn.1001ac40
jmp 0x1001e8d5
cmp ecx, 4
jne 0x1001e8d5
lea eax, [esp + 0x18]
push eax
mov edi, 0x100e1818
call fcn.1001a510
mov byte [esp + 0x88], 0x19
lea eax, [ebx - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1001e8f9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x88], 0x11
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1001e921
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x70]
inc ebp
mov dword [esp + 0x18], ebp
cmp ebp, edi
jb 0x1001e613
mov ebx, dword [esp + 0x24]
xor ebp, ebp
mov byte [esp + 0x88], 0x1e
mov esi, dword [esp + 0x6c]
cmp esi, ebp
je 0x1001e95c
push edi
mov ecx, esi
call fcn.1001b990
add esp, 4
push esi
call fcn.10079c70
add esp, 4
mov byte [esp + 0x88], 1
mov eax, dword [esp + 0x68]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1001e984
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x88], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1001e9af
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
inc ebx
mov dword [esp + 0x24], ebx
cmp ebx, 5
jb 0x1001e322
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x78
ret
mov dword [esp + 0x88], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.10013100
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x78
ret