Function at 0x1001a3b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1017c01b
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101c6444]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
lea edx, [esp + 0x40]
mov dword [esi], eax
push edx
lea eax, [esp + 0x48]
mov dword [esi + 4], ecx
xor ebx, ebx
push eax
lea ecx, [esi + 0xc]
mov dword [esp + 0x48], 3
mov dword [esp + 0x4c], ebx
call fcn.1004f2e0
mov dword [esp + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
lea edi, [esi + 0x4c]
mov ecx, edi
mov byte [esp + 0x38], 1
call fcn.1005ea10
mov dword [edi + 4], eax
mov byte [eax + 0x29], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebx
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov ebp, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea eax, [esi + 0x68]
mov word [esi + 0x58], bx
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], edx
mov edi, 0x101975e4
push eax
mov dword [esi + 0x64], edi
call ebp
lea ecx, [esi + 0x80]
mov byte [esp + 0x38], 3
call fcn.10010ec0
lea ecx, [esi + 0xb8]
push ecx
mov dword [esi + 0xb4], edi
call ebp
mov dword [esi + 0xd4], ebx
mov dword [esi + 0xd8], ebx
mov dword [esi + 0xdc], ebx
mov dl, byte [esp + 0x50]
lea eax, [esi + 0xf4]
mov word [esi + 0xe0], bx
mov byte [esi + 0xe2], dl
mov dword [esi + 0xe8], 0x400
mov dword [esi + 0xec], ebx
push eax
mov dword [esi + 0xf0], edi
call ebp
mov dword [esi + 0x110], ebx
mov dword [esi + 0x114], ebx
mov dword [esi + 0x118], ebx
lea ecx, [esi + 0x120]
push ecx
mov dword [esi + 0x11c], edi
call ebp
movzx edx, byte [esi + 0x13c]
mov dword [esi + 0x138], ebx
and dl, 0xf1
or dl, 0x11
lea eax, [esi + 0x154]
mov byte [esi + 0x13c], dl
mov byte [esi + 0x13d], bl
mov dword [esi + 0x13e], ebx
mov word [esi + 0x142], bx
mov dword [esi + 0x144], ebx
mov word [esi + 0x148], bx
mov dword [esi + 0x14a], ebx
mov word [esi + 0x14e], bx
push eax
mov dword [esi + 0x150], edi
call ebp
mov dword [esi + 0x16c], ebx
lea edi, [esi + 0x178]
mov dword [esi + 0x170], ebx
mov ecx, edi
mov byte [esp + 0x38], 0xa
mov dword [esi + 0x174], ebx
call fcn.1001b040
mov dword [edi + 4], eax
mov byte [eax + 0x31], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebx
mov dword [esi + 0x188], ebx
mov dword [esi + 0x18c], ebx
mov dword [esi + 0x190], ebx
lea ecx, [esi + 0x19c]
mov byte [esi + 0x194], bl
push ecx
mov dword [esi + 0x198], 0x101975e4
call ebp
lea edi, [esi + 0x1b4]
mov ecx, edi
mov byte [esp + 0x38], 0xd
call fcn.1005ea10
mov dword [edi + 4], eax
mov byte [eax + 0x29], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebx
mov dword [esi + 0x1c4], ebx
mov dword [esi + 0x1c8], ebx
mov dword [esi + 0x1cc], ebx
mov dword [esi + 0x1d4], ebx
mov dword [esi + 0x1d8], ebx
mov dword [esi + 0x1dc], ebx
push 0x38
mov byte [esp + 0x3c], 0x10
call fcn.101582b6
add esp, 4
mov dword [esp + 0x40], eax
cmp eax, ebx
mov byte [esp + 0x38], 0x11
je 0x1001a621
mov ecx, eax
call fcn.1007e0d0
jmp 0x1001a623
xor eax, eax
push ebx
mov edi, 0x101995c0
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x40], 0x10
mov dword [esp + 0x28], edi
call fcn.100371c0
mov dword [esp + 0x20], 0x101995c0
mov edx, dword [esi + 0x60]
push edx
lea eax, [esp + 0x24]
push eax
push 0x12
lea ecx, [esi + 0x1e0]
mov byte [esp + 0x44], 0x12
call fcn.100d8f80
lea ecx, [esp + 0x24]
mov byte [esp + 0x38], 0x14
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], 0x10199578
call fcn.10006f60
movzx ecx, byte [esp + 0x50]
mov dword [esi + 0x1f8], 0x3e8
mov word [esi + 0x1fc], bx
mov dword [esi + 0x200], ebx
mov word [esi + 0x204], bx
mov dword [esi + 0x208], ecx
mov dword [esi + 0x210], ebx
mov dword [esi + 0x214], ebx
mov dword [esi + 0x218], ebx
lea edi, [esi + 0x22c]
mov ecx, edi
mov byte [esp + 0x38], 0x15
mov byte [esi + 0x21c], bl
mov byte [esi + 0x228], bl
call fcn.1005ea10
mov dword [edi + 4], eax
mov byte [eax + 0x29], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebx
mov edx, dword [esp + 0x54]
mov dword [esi + 0x238], ebx
mov dword [esi + 0x23c], ebx
mov dword [esi + 0x240], ebx
mov dword [esi + 0x244], ebx
mov dword [esi + 0x248], ebx
mov dword [esi + 0x24c], 0xa
mov dword [esi + 0x250], edx
mov dword [esi + 0x258], ebx
mov dword [esi + 0x25c], ebx
mov dword [esi + 0x260], ebx
mov dword [esi + 0x268], ebx
mov dword [esi + 0x26c], ebx
mov dword [esi + 0x270], ebx
mov dword [esi + 0x278], ebx
mov dword [esi + 0x27c], ebx
mov dword [esi + 0x280], ebx
lea edi, [esi + 0x284]
mov ecx, edi
mov byte [esp + 0x38], 0x19
call fcn.10005f50
mov dword [edi + 4], eax
mov byte [eax + 0x22], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebx
lea edi, [esi + 0x2a4]
mov ecx, edi
mov byte [esp + 0x38], 0x1a
mov byte [esi + 0x2a0], bl
call fcn.100ab0e0
mov dword [edi + 4], eax
mov byte [eax + 0x19], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebx
lea ecx, [esi + 0x2b4]
mov byte [esp + 0x38], 0x1b
mov byte [esi + 0x2b0], bl
call fcn.1000f380
mov byte [esp + 0x38], 0x1c
mov word [esi + 0x30c], bx
call fcn.10004190
mov ecx, dword [eax]
mov edi, dword [sym.imp.WS2_32.dll_htons]
mov dword [esi + 0x290], ecx
mov edx, dword [eax + 4]
mov dword [esi + 0x294], edx
mov ecx, dword [eax + 8]
mov dword [esi + 0x298], ecx
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x58]
push 0x1f90
mov dword [esi + 0x29c], edx
mov dword [esi + 0x2dc], eax
call edi
push 0x1f9a
mov word [esi + 0x2e0], ax
call edi
mov ecx, dword [esp + 0x50]
push ecx
lea edx, [esp + 0x23]
mov word [esi + 0x2e0], ax
push edx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], ebx
mov word [esp + 0x28], bx
mov byte [esp + 0x2a], bl
call fcn.1000cd60
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esi + 0x10c]
mov byte [esp + 0x3c], 0x1d
call fcn.1000d080
mov eax, dword [esp + 0x24]
cmp eax, ebx
mov byte [esp + 0x38], 0x1c
je 0x1001a87b
push eax
call fcn.10157f3b
add esp, 4
call fcn.100f6129
mov ecx, eax
call fcn.100f5eb6
push ebx
mov dword [esi + 8], eax
call fcn.1015812a
push eax
call fcn.10158a80
add esp, 8
call fcn.10158a8d
cdq
mov ecx, 0xffff
idiv ecx
mov ecx, esi
mov word [esi + 0x1fe], dx
mov edx, dword [0x101c5018]
mov dword [esi + 0x220], edx
mov eax, dword [0x101c501c]
mov dword [esi + 0x224], eax
call fcn.10019eb0
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 0x1c