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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4e6a81
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x670f1c]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
push edi
mov eax, dword [0x670f1c]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
cmp byte [edi + 0x1d], 0
mov esi, ecx
je 0x42b8a3
mov dword [esp + 0x48], vtable.st_CmdPkt.0
cmp dword [edi + 0x20], 0
mov dword [esp + 0x80], 0
jne 0x42b36e
push 0x136
call fcn.004aef0e
add esp, 4
test eax, eax
je 0x42b369
mov ecx, eax
call fcn.0042e310
jmp 0x42b36b
xor eax, eax
mov dword [edi + 0x20], eax
mov al, byte [edi + 0x1d]
cmp al, 0x64
mov ebx, dword [edi + 0x20]
jne 0x42b6c4
mov ecx, dword [edi + 0x14]
mov edx, dword [ecx + 0x10]
push 0
push 0
lea eax, [esp + 0x50]
push eax
push edx
mov ecx, esi
call fcn.0044cd50
movzx eax, al
test eax, eax
jne 0x42b3ad
mov dword [esp + 0x18], eax
push 0x522f88
lea eax, [esp + 0x1c]
push eax
call fcn.004c0c8a
movzx ecx, word [esp + 0x50]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x28]
mov dword [esp + 0x1c], ecx
lea ebx, [esi + 0x1939e]
push eax
mov ecx, ebx
call fcn.0042d3a0
mov eax, dword [esp + 0x24]
test eax, eax
mov ecx, dword [ebx + 4]
mov dword [esp + 0x14], ecx
je 0x42b3e0
cmp eax, ebx
je 0x42b3e5
call fcn.004c000c
mov edx, dword [esp + 0x14]
cmp dword [esp + 0x28], edx
jne 0x42b42e
movzx eax, word [esp + 0x50]
push eax
lea ecx, [esi + 0x1916a]
push 0x4f8e08
push ecx
call fcn.00418e60
add esp, 0xc
push 0xfffffffffffffff7
push 0x4f8e58
mov ecx, esi
call fcn.00429900
push 0x522f88
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x20], 0
call fcn.004c0c8a
lea ecx, [esp + 0x24]
lea ebx, [esi + 0x19392]
call fcn.004108b0
add eax, 2
push eax
lea eax, [esp + 0x14]
push eax
mov ecx, ebx
call fcn.0042d330
mov ecx, dword [ebx + 4]
lea edx, [esp + 0x18]
mov dword [esp + 0x1c], ecx
push edx
lea ecx, [esp + 0x14]
mov dword [esp + 0x1c], ebx
call fcn.0043fcb0
test al, al
je 0x42b4a9
movzx eax, word [esp + 0x50]
push eax
lea ecx, [esi + 0x1916a]
push 0x4f8e78
push ecx
call fcn.00418e60
add esp, 0xc
push 0xfffffffffffffff7
push 0x4f8ed8
mov ecx, esi
call fcn.00429900
push 0x522f88
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x20], 0
call fcn.004c0c8a
lea ecx, [esp + 0x24]
mov byte [edi + 0x1c], 1
call fcn.004108b0
mov al, byte [eax + 2]
push edi
mov ecx, esi
mov byte [edi + 0x1d], al
call fcn.0042a290
mov ecx, dword [edi + 0x14]
mov edx, dword [ecx + 4]
push edx
mov ebx, eax
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
lea ecx, [esp + 0x58]
call fcn.00401380
mov eax, dword [edi + 0x14]
movzx ecx, word [eax + 2]
push ecx
mov byte [esp + 0x84], 1
call dword [sym.imp.WS2_32.dll_ntohs]
lea edx, [esp + 0x54]
mov ecx, ebx
push eax
push edx
mov eax, edx
push eax
call fcn.0042d6f0
add dword [esi + 0x193ae], 1
mov eax, dword [esi + 0x193ae]
mov dword [ebx + 0x106], eax
mov edx, dword [esi]
mov edx, dword [edx + 0x14]
lea eax, [ebx + 4]
push eax
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
lea ecx, [ebx + 0xc]
push ecx
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
lea ecx, [ebx + 0x14]
push ecx
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
lea ecx, [edi + 8]
push ecx
mov ecx, esi
call edx
lea eax, [esp + 0x2c]
push eax
mov ecx, ebx
call fcn.0042d4e0
cmp dword [eax + 0x18], 8
movzx ecx, word [ebx + 0xf2]
mov byte [esp + 0x80], 2
mov dword [esp + 0x24], ecx
jb 0x42b578
mov edx, dword [eax + 4]
mov dword [esp + 0x18], edx
jmp 0x42b57f
add eax, 4
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x10]
call fcn.004108b0
add eax, 2
cmp dword [eax + 0x18], 8
jb 0x42b596
mov eax, dword [eax + 4]
jmp 0x42b599
add eax, 4
movzx ecx, word [esp + 0x24]
mov edx, dword [esp + 0x18]
push ecx
push edx
push eax
lea eax, [esi + 0x1916a]
push 0x4f8ef8
push eax
call fcn.00418e60
add esp, 0x14
lea ecx, [esp + 0x2c]
mov byte [esp + 0x80], 1
call fcn.00401470
lea ecx, [esp + 0x10]
call fcn.004108b0
mov edx, dword [eax + 0xa4]
mov ecx, dword [eax + 0xa0]
add eax, 0xa0
test ecx, ecx
mov dword [esp + 0x30], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], eax
je 0x42b630
lea ecx, [esp + 0x10]
call fcn.004108b0
mov ecx, dword [eax + 0xa4]
mov edx, dword [eax + 0xa0]
add eax, 0xa0
mov dword [esp + 0x30], ecx
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x30]
push ebx
push edi
add ecx, esi
mov dword [esp + 0x40], eax
call edx
lea ecx, [esp + 0x10]
call fcn.004108b0
cmp word [eax + 0x20], 0
je 0x42b660
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x20]
call fcn.004108b0
movsx edx, word [eax + 0x20]
push edx
push 0
push edi
mov ecx, esi
call fcn.0042b240
lea ecx, [esp + 0x10]
call fcn.004108b0
mov edx, dword [eax + 0x44]
mov ecx, dword [eax + 0x40]
add eax, 0x40
test ecx, ecx
mov dword [esp + 0x30], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], eax
je 0x42b6b6
lea ecx, [esp + 0x10]
call fcn.004108b0
mov ecx, dword [eax + 0x44]
mov edx, dword [eax + 0x40]
add eax, 0x40
mov dword [esp + 0x30], ecx
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x30]
push ebx
push edi
add ecx, esi
mov dword [esp + 0x40], eax
call edx
lea ecx, [esp + 0x54]
call fcn.004013f0
jmp 0x42b8a3
lea edx, [esp + 0x23]
mov byte [esp + 0x23], al
push edx
lea eax, [esp + 0x14]
lea ecx, [esi + 0x19392]
push eax
call fcn.0042d330
mov ecx, dword [esi + 0x19396]
lea eax, [esi + 0x19392]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x42b6f9
cmp ecx, eax
je 0x42b6fe
call fcn.004c000c
mov edx, dword [esp + 0x28]
cmp dword [esp + 0x14], edx
jne 0x42b72d
push 0xfffffffffffffff7
push 0x4f8f24
mov ecx, esi
call fcn.00429900
push 0x522f88
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x2c], 0
call fcn.004c0c8a
cmp byte [edi + 0x1e], 1
jne 0x42b792
lea ecx, [esp + 0x10]
call fcn.004108b0
mov edx, dword [eax + 0x74]
mov ecx, dword [eax + 0x70]
add eax, 0x70
test ecx, ecx
mov dword [esp + 0x30], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], eax
je 0x42b8a3
lea ecx, [esp + 0x10]
call fcn.004108b0
mov ecx, dword [eax + 0x74]
mov edx, dword [eax + 0x70]
add eax, 0x70
mov dword [esp + 0x30], ecx
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x30]
push ebx
push edi
add ecx, esi
mov dword [esp + 0x40], eax
call edx
jmp 0x42b896
mov edx, dword [edi + 0x14]
mov eax, dword [edx + 0x10]
push 0
push 0
lea ecx, [esp + 0x50]
push ecx
push eax
mov ecx, esi
call fcn.0044cd50
test al, al
jne 0x42b7c4
push 0x522f88
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x2c], 0
call fcn.004c0c8a
lea ecx, [ebx + 0x80]
call fcn.0042d6d0
test eax, eax
je 0x42b83a
movzx edx, word [esp + 0x50]
lea ecx, [eax + 4]
mov eax, dword [ecx + 4]
mov dword [esp + 0x24], edx
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x20], eax
lea eax, [esp + 0x28]
push eax
lea edx, [esp + 0x34]
push edx
mov dword [esp + 0x24], ecx
call fcn.00441540
mov ecx, eax
call fcn.0043fc80
test al, al
je 0x42b83a
lea ecx, [ebx + 0x80]
call fcn.0042e230
lea ecx, [esp + 0x10]
call fcn.004108b0
movsx eax, word [eax + 0x22]
movzx ecx, word [esp + 0x50]
cmp eax, ecx
jne 0x42b83a
mov edx, dword [esi]
mov edx, dword [edx + 0x18]
lea eax, [ebx + 0x24]
push eax
mov ecx, esi
call edx
fstp qword [ebx + 0x74]
lea ecx, [esp + 0x10]
call fcn.004108b0
mov edx, dword [eax + 0x64]
mov ecx, dword [eax + 0x60]
add eax, 0x60
test ecx, ecx
mov dword [esp + 0x30], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], eax
je 0x42b8a3
lea ecx, [esp + 0x10]
call fcn.004108b0
mov ecx, dword [eax + 0x64]
mov edx, dword [eax + 0x60]
add eax, 0x60
mov dword [esp + 0x30], ecx
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x34], ecx
push ebx
lea ecx, [esp + 0x4c]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x34]
push ecx
push edi
lea ecx, [esi + eax]
call edx
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
add ebx, 0x14
push ebx
mov ecx, esi
call eax
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.004bfdfd
mov esp, ebp
pop ebp
ret 4