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

Disassembly:
push 0xffffffffffffffff
push 0x101c4978
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1023d1a4]
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 0x1000a672
cmp word [ebp], bx
je 0x1000a672
mov esi, dword [esp + 0x74]
cmp esi, ebx
je 0x1000a672
push ebx
lea eax, [esp + 0x74]
push eax
push ebx
push ebp
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
call fcn.100079e0
mov dword [esp + 0x1c], eax
cmp edx, ebx
je 0x1000a3bf
cmp edx, 0x220f1f0b
je 0x1000a3fe
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
jmp 0x1000a681
mov ebx, dword [esp + 0x70]
mov edx, dword [ebx + 4]
push ebx
mov ecx, edi
call fcn.100078a0
sub eax, edx
push eax
xor ebp, ebp
push ebp
push edx
push ebp
push ebx
mov ecx, edi
call fcn.10007770
cmp dword [ebx + 0x10], ebp
je 0x1000a3f3
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 0x1000a4ac
push 1
lea ecx, [esp + 0x28]
call fcn.1000fe60
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.10010290
lea ecx, [esp + 0x24]
test eax, eax
jne 0x1000a450
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.1000ffe0
mov eax, esi
mov edx, edi
jmp 0x1000a681
push ecx
mov ecx, edi
call fcn.10009d80
mov ebx, eax
test ebx, ebx
jne 0x1000a493
push 0xe
push 0x220f1e01
call fcn.1000e150
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.1000ffe0
mov eax, esi
mov edx, edi
jmp 0x1000a681
lea ecx, [esp + 0x24]
mov dword [esp + 0x68], 0xffffffff
mov dword [esp + 0x24], vtable.CAhnI2s_Memory.0
call fcn.1000ffe0
push 1
lea ecx, [esp + 0x50]
call fcn.1000fe60
push 1
lea ecx, [esp + 0x3c]
mov dword [esp + 0x6c], 1
call fcn.1000fe60
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov byte [esp + 0x68], 2
test eax, eax
jne 0x1000a669
test edx, edx
jne 0x1000a669
cmp word [esi], 0
je 0x1000a5f5
push 0x3d
push esi
call dword [sym.imp.MSVCR90.dll_wcschr]
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x1000a509
sub eax, esi
sar eax, 1
jmp 0x1000a50c
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.10010290
test eax, eax
je 0x1000a5b8
lea eax, [ebp + 2]
test ebp, ebp
jne 0x1000a534
mov eax, 0x101c5608
mov edx, dword [edi + 0xc]
lea ecx, [esp + 0x14]
push ecx
push 0xffffffffffffffff
push eax
push edx
lea ecx, [esp + 0x48]
call fcn.10010290
test eax, eax
je 0x1000a5b8
push closesocket
push esi
call fcn.1000f470
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.10009c30
test eax, eax
jne 0x1000a59a
push 0xe
push 0x220f1e01
call fcn.1000e150
add esp, 8
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
jmp 0x1000a5a2
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x1000a669
test edx, edx
je 0x1000a4e7
mov esi, eax
mov edi, edx
jmp 0x1000a5c0
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.1000ffe0
lea ecx, [esp + 0x4c]
mov dword [esp + 0x68], 0xffffffff
mov dword [esp + 0x4c], ebx
call fcn.1000ffe0
mov eax, esi
mov edx, edi
jmp 0x1000a681
test eax, eax
jne 0x1000a669
test edx, edx
jne 0x1000a669
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 0x1000a64d
push edx
push edx
push edx
push edx
push ebx
mov ecx, edi
call fcn.10009c30
test eax, eax
jne 0x1000a63d
push 0xe
push 0x220f1e01
call fcn.1000e150
add esp, 8
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
jmp 0x1000a645
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x1000a669
test edx, edx
jne 0x1000a669
or dword [edi + 8], 1
test dword [edi + 4], 0x400
jne 0x1000a669
mov ecx, edi
call fcn.100090f0
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
mov esi, eax
mov edi, edx
jmp 0x1000a5c0
push 0x57
push 0x220f1f01
call fcn.1000e150
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