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

Disassembly:
push 0xffffffffffffffff
push 0x101c4208
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1023d1bc]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov edi, ecx
mov ebp, dword [esp + 0x70]
xor ebx, ebx
cmp ebp, ebx
je 0x1000a622
cmp word [ebp], bx
je 0x1000a622
mov esi, dword [esp + 0x74]
cmp esi, ebx
je 0x1000a622
push ebx
lea eax, [esp + 0x74]
push eax
push ebx
push ebp
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
call fcn.10007990
mov dword [esp + 0x1c], eax
cmp edx, ebx
je 0x1000a36f
cmp edx, 0x220f1f0b
je 0x1000a3ae
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
jmp 0x1000a631
mov ebx, dword [esp + 0x70]
mov edx, dword [ebx + 4]
push ebx
mov ecx, edi
call fcn.10007850
sub eax, edx
push eax
xor ebp, ebp
push ebp
push edx
push ebp
push ebx
mov ecx, edi
call fcn.10007720
cmp dword [ebx + 0x10], ebp
je 0x1000a3a3
mov ecx, dword [ebx + 0x10]
push ecx
call dword [sym.imp.MSVCR90.dll_free]
add esp, 4
mov dword [ebx + 0x10], ebp
mov dword [ebx + 0x14], ebp
mov dword [ebx + 0x18], ebp
jmp 0x1000a45c
push 1
lea ecx, [esp + 0x28]
call fcn.1000e100
mov eax, dword [edi + 0xc]
lea edx, [esp + 0x14]
push edx
push 0xffffffffffffffff
push ebp
push eax
lea ecx, [esp + 0x34]
mov dword [esp + 0x78], ebx
call fcn.1000e520
lea ecx, [esp + 0x24]
test eax, eax
jne 0x1000a400
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov dword [esp + 0x68], 0xffffffff
mov dword [esp + 0x24], vtable.CAhnI2s_Memory.0
call fcn.1000e270
mov eax, esi
mov edx, edi
jmp 0x1000a631
push ecx
mov ecx, edi
call fcn.10009d30
mov ebx, eax
test ebx, ebx
jne 0x1000a443
push 0xe
push 0x220f1e01
call fcn.1000e640
add esp, 8
lea ecx, [esp + 0x24]
mov esi, eax
mov edi, edx
mov dword [esp + 0x68], 0xffffffff
mov dword [esp + 0x24], vtable.CAhnI2s_Memory.0
call fcn.1000e270
mov eax, esi
mov edx, edi
jmp 0x1000a631
lea ecx, [esp + 0x24]
mov dword [esp + 0x68], 0xffffffff
mov dword [esp + 0x24], vtable.CAhnI2s_Memory.0
call fcn.1000e270
push 1
lea ecx, [esp + 0x50]
call fcn.1000e100
push 1
lea ecx, [esp + 0x3c]
mov dword [esp + 0x6c], 1
call fcn.1000e100
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov byte [esp + 0x68], 2
test eax, eax
jne 0x1000a619
test edx, edx
jne 0x1000a619
cmp word [esi], 0
je 0x1000a5a5
push 0x3d
push esi
call dword [sym.imp.MSVCR90.dll_wcschr]
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x1000a4b9
sub eax, esi
sar eax, 1
jmp 0x1000a4bc
or eax, 0xffffffff
lea edx, [esp + 0x14]
push edx
push eax
mov eax, dword [edi + 0xc]
push esi
push eax
lea ecx, [esp + 0x5c]
call fcn.1000e520
test eax, eax
je 0x1000a568
lea eax, [ebp + 2]
test ebp, ebp
jne 0x1000a4e4
mov eax, 0x101c5610
mov edx, dword [edi + 0xc]
lea ecx, [esp + 0x14]
push ecx
push 0xffffffffffffffff
push eax
push edx
lea ecx, [esp + 0x48]
call fcn.1000e520
test eax, eax
je 0x1000a568
push closesocket
push esi
call fcn.1000f930
mov ecx, dword [esp + 0x60]
lea esi, [esi + eax*2 + 2]
mov eax, dword [esp + 0x4c]
add esp, 8
dec eax
push eax
mov eax, dword [esp + 0x40]
dec ecx
push eax
push ecx
mov ecx, dword [esp + 0x5c]
push ecx
push ebx
mov ecx, edi
call fcn.10009be0
test eax, eax
jne 0x1000a54a
push 0xe
push 0x220f1e01
call fcn.1000e640
add esp, 8
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
jmp 0x1000a552
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x1000a619
test edx, edx
je 0x1000a497
mov esi, eax
mov edi, edx
jmp 0x1000a570
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov ebx, vtable.CAhnI2s_Memory.0
lea ecx, [esp + 0x38]
mov byte [esp + 0x68], 1
mov dword [esp + 0x38], ebx
call fcn.1000e270
lea ecx, [esp + 0x4c]
mov dword [esp + 0x68], 0xffffffff
mov dword [esp + 0x4c], ebx
call fcn.1000e270
mov eax, esi
mov edx, edi
jmp 0x1000a631
test eax, eax
jne 0x1000a619
test edx, edx
jne 0x1000a619
mov ecx, dword [edi + 0x3c]
mov esi, dword [edi + 0x48]
lea ebp, [ecx*8]
sub ebp, ecx
lea ecx, [esi + ebp*4 - 0x1c]
cmp ebx, ecx
jae 0x1000a5fd
push edx
push edx
push edx
push edx
push ebx
mov ecx, edi
call fcn.10009be0
test eax, eax
jne 0x1000a5ed
push 0xe
push 0x220f1e01
call fcn.1000e640
add esp, 8
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
jmp 0x1000a5f5
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x1000a619
test edx, edx
jne 0x1000a619
or dword [edi + 8], 1
test dword [edi + 4], 0x400
jne 0x1000a619
mov ecx, edi
call fcn.100090a0
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
mov esi, eax
mov edi, edx
jmp 0x1000a570
push 0x57
push 0x220f1f01
call fcn.1000e640
add esp, 8
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret 8