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

Disassembly:
push 0xffffffffffffffff
push 0x101234f7
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x1015d2f0]
xor eax, esp
mov dword [esp + 0x118], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1015d2f0]
xor eax, esp
push eax
lea eax, [esp + 0x134]
mov dword fs:[0], eax
mov eax, dword [esp + 0x144]
xor ebx, ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
push 0xffffffffffffffff
push ebx
add eax, 0x20
push eax
lea ecx, [esp + 0x44]
mov dword [esp + 0x148], ebx
call fcn.100057a0
push 1
push 0x1013af20
lea ecx, [esp + 0x40]
call fcn.10006400
mov ebp, 0x10
push ebp
push 0x1013e004
lea ecx, [esp + 0x40]
call fcn.10006400
cmp dword [esp + 0x4c], ebx
jbe 0x10013fba
mov eax, dword [esp + 0x3c]
cmp dword [esp + 0x50], ebp
jae 0x10013b7b
lea eax, [esp + 0x3c]
push ebx
push 0x80
push 3
push ebx
push 1
push accept
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
je 0x10013fab
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x54]
push ecx
call fcn.10001d40
mov byte [esp + 0x13c], 1
mov eax, dword [esp + 0x3c]
cmp dword [esp + 0x50], ebp
jae 0x10013bc2
lea eax, [esp + 0x3c]
test byte [esp + 0xac], 0x30
jne 0x1001411d
lea edx, [esp + 0x54]
push edx
push eax
lea ecx, [esp + 0xb4]
lea edi, [esp + 0x78]
call fcn.1002e030
add esp, 8
test al, al
je 0x1001411d
lea edi, [esp + 0x54]
call fcn.1002f460
cmp al, bl
je 0x1001411d
push ecx
mov eax, esp
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], ebx
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xac], ebx
mov dword [esp + 0xa4], ebx
mov esi, edi
mov dword [esp + 0x18], esp
mov dword [eax], str.datacheckcout
call fcn.1002e420
cmp al, bl
je 0x1001411d
mov eax, edi
call fcn.1002f3c0
push ecx
mov eax, esp
lea esi, [esp + 0x58]
mov dword [esp + 0x18], esp
mov dword [eax], str.item
call fcn.1002e420
cmp al, bl
je 0x10014114
mov edi, 0xf
mov dword [esp + 0x128], edi
mov dword [esp + 0x124], ebx
mov byte [esp + 0x114], bl
mov dword [esp + 0x10c], edi
mov dword [esp + 0x108], ebx
mov byte [esp + 0xf8], bl
mov dword [esp + 0xd4], edi
mov dword [esp + 0xd0], ebx
mov byte [esp + 0xc0], bl
mov dword [esp + 0xf0], edi
mov dword [esp + 0xec], ebx
mov byte [esp + 0xdc], bl
mov byte [esp + 0x13c], 5
mov eax, dword [esp + 0x90]
cmp eax, ebx
je 0x10013cf1
cmp dword [esp + 0xa0], 1
jne 0x10013cf1
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0x90], eax
xor ecx, ecx
cmp eax, ebx
setne cl
mov dword [esp + 0x94], ebx
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], ebx
lea esi, [esp + 0x54]
push ecx
mov eax, esp
mov dword [esp + 0xa4], ecx
mov dword [esp + 0x18], esp
mov dword [eax], str.start
call fcn.1002e420
cmp al, bl
je 0x10013d6e
lea esi, [esp + 0x1c]
lea edx, [esp + 0x54]
call fcn.10001e10
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x11c]
mov byte [esp + 0x148], 6
call fcn.100057a0
mov byte [esp + 0x13c], 5
cmp dword [esp + 0x34], ebp
jb 0x10013d6e
mov edx, dword [esp + 0x20]
push edx
call fcn.100f4085
add esp, 4
xor eax, eax
cmp dword [esp + 0x90], ebx
push ecx
setne al
mov dword [esp + 0x98], ebx
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xac], ebx
lea esi, [esp + 0x58]
mov dword [esp + 0x18], esp
mov dword [esp + 0xa4], eax
mov eax, esp
mov dword [eax], 0x1013e038
call fcn.1002e420
cmp al, bl
je 0x10013df0
lea esi, [esp + 0x1c]
lea edx, [esp + 0x54]
call fcn.10001e10
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x100]
mov byte [esp + 0x148], 7
call fcn.100057a0
mov byte [esp + 0x13c], 5
cmp dword [esp + 0x34], ebp
jb 0x10013df0
mov ecx, dword [esp + 0x20]
push ecx
call fcn.100f4085
add esp, 4
xor edx, edx
cmp dword [esp + 0x90], ebx
push ecx
setne dl
mov eax, esp
mov dword [esp + 0x98], ebx
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xac], ebx
lea esi, [esp + 0x58]
mov dword [esp + 0x18], esp
mov dword [esp + 0xa4], edx
mov dword [eax], str.first
call fcn.1002e420
cmp al, bl
je 0x10013e72
lea esi, [esp + 0x1c]
lea edx, [esp + 0x54]
call fcn.10001e10
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0xc8]
mov byte [esp + 0x148], 8
call fcn.100057a0
mov byte [esp + 0x13c], 5
cmp dword [esp + 0x34], ebp
jb 0x10013e72
mov eax, dword [esp + 0x20]
push eax
call fcn.100f4085
add esp, 4
xor ecx, ecx
cmp dword [esp + 0x90], ebx
mov dword [esp + 0x94], ebx
setne cl
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], ebx
lea esi, [esp + 0x54]
push ecx
mov eax, esp
mov dword [esp + 0xa4], ecx
mov dword [esp + 0x18], esp
mov dword [eax], str.count
call fcn.1002e420
cmp al, bl
je 0x10013ef4
lea esi, [esp + 0x1c]
lea edx, [esp + 0x54]
call fcn.10001e10
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0xe4]
mov byte [esp + 0x148], 9
call fcn.100057a0
mov byte [esp + 0x13c], 5
cmp dword [esp + 0x34], ebp
jb 0x10013ef4
mov edx, dword [esp + 0x20]
push edx
call fcn.100f4085
add esp, 4
mov eax, dword [esp + 0x8c]
cmp eax, ebx
je 0x10013f5b
mov edi, dword [esp + 0xb8]
mov edi, dword [edi]
mov edx, dword [esp + 0x90]
mov ecx, eax
mov esi, eax
and eax, 0xffff
sar esi, 0x10
mov esi, dword [edi + esi*4]
shl eax, 5
mov eax, dword [esi + eax + 0x10]
mov dword [esp + 0x94], edx
xor edx, edx
cmp ecx, ebx
setne dl
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], ecx
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], ebx
mov edi, 0xf
mov dword [esp + 0xa0], edx
cmp dword [esp + 0x124], ebx
jbe 0x10014068
cmp dword [esp + 0x108], ebx
jbe 0x10014068
cmp dword [esp + 0xd0], ebx
jbe 0x10014068
cmp dword [esp + 0xec], ebx
jbe 0x10014068
push ebp
call fcn.100f4579
add esp, 4
cmp eax, ebx
je 0x10013fce
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov esi, eax
jmp 0x10013fd0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
je 0x10013ba2
cmp dword [esp + 0x50], ebp
jb 0x10014141
mov eax, dword [esp + 0x3c]
push eax
jmp 0x10014139
xor esi, esi
mov eax, dword [esp + 0x114]
cmp dword [esp + 0x128], ebp
jae 0x10013fe7
lea eax, [esp + 0x114]
push eax
call fcn.100f39b6
mov dword [esi], eax
mov eax, dword [esp + 0xfc]
add esp, 4
cmp dword [esp + 0x10c], ebp
jae 0x10014009
lea eax, [esp + 0xf8]
push eax
call fcn.100f39b6
mov dword [esi + 4], eax
mov eax, dword [esp + 0xc4]
add esp, 4
cmp dword [esp + 0xd4], ebp
jae 0x1001402c
lea eax, [esp + 0xc0]
push eax
call fcn.100f39b6
mov dword [esi + 8], eax
mov eax, dword [esp + 0xe0]
add esp, 4
cmp dword [esp + 0xf0], ebp
jae 0x1001404f
lea eax, [esp + 0xdc]
push eax
call fcn.100f39b6
mov ecx, dword [esp + 0x1c]
add esp, 4
push esi
add ecx, 0x74
mov dword [esi + 0xc], eax
call fcn.1000c760
cmp dword [esp + 0xf0], ebp
jb 0x10014081
mov eax, dword [esp + 0xdc]
push eax
call fcn.100f4085
add esp, 4
mov dword [esp + 0xf0], edi
mov dword [esp + 0xec], ebx
mov byte [esp + 0xdc], bl
cmp dword [esp + 0xd4], ebp
jb 0x100140af
mov ecx, dword [esp + 0xc0]
push ecx
call fcn.100f4085
add esp, 4
mov dword [esp + 0xd4], edi
mov dword [esp + 0xd0], ebx
mov byte [esp + 0xc0], bl
cmp dword [esp + 0x10c], ebp
jb 0x100140dd
mov edx, dword [esp + 0xf8]
push edx
call fcn.100f4085
add esp, 4
mov dword [esp + 0x10c], edi
mov dword [esp + 0x108], ebx
mov byte [esp + 0xf8], bl
cmp dword [esp + 0x128], ebp
jb 0x10013c48
mov eax, dword [esp + 0x114]
push eax
call fcn.100f4085
add esp, 4
jmp 0x10013c48
lea eax, [esp + 0x54]
call fcn.1002f400
lea ecx, [esp + 0x54]
push ecx
mov byte [esp + 0x140], bl
call fcn.1002de20
cmp dword [esp + 0x50], ebp
jb 0x10014141
mov edx, dword [esp + 0x3c]
push edx
call fcn.100f4085
add esp, 4
mov ecx, dword [esp + 0x134]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x118]
xor ecx, esp
call fcn.100f30a6
add esp, 0x12c
ret 4