Function at 0x492401
Capabilities:
Resolve function by parsing pe exports
Terminate process

Disassembly:
mov eax, 0x1024
call fcn.005b3d10
mov eax, dword [0x6ccd44]
xor eax, esp
mov dword [esp + 0x1020], eax
movzx eax, word [esp + 0x1028]
push ebx
push ebp
mov ebx, ecx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1044]
mov ebp, edx
push esi
mov esi, dword [esp + 0x1044]
push edi
mov edi, dword [ebx + ebp*4 + 0x178]
mov dword [esp + 0x20], esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x28], edi
lea ecx, [edi + 0x7c]
call fcn.0044c7d2
cmp dword [esp + 0x1044], 0x32
push 2
pop edx
jne 0x4926bb
mov eax, dword [ebx + ebp*4 + 0x178]
mov ecx, dword [esp + 0x1c]
movzx ecx, cx
mov dword [esp + 0x24], ecx
mov edx, ecx
mov ecx, dword [eax + 0x80]
push 0
call fcn.00487a78
mov esi, eax
mov eax, dword [esp + 0x24]
pop ecx
push 2
pop edx
movsx ecx, byte [eax]
mov dword [esp + 0x10], esi
sub ecx, edx
je 0x49264a
sub ecx, 1
jne 0x4925db
movzx eax, word [eax + 8]
push eax
mov byte [esp + 0x1f], dl
call dword [sym.imp.WS2_32.dll_ntohs]
mov ecx, dword [esp + 0x20]
xor edx, edx
movzx eax, ax
inc edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edx
mov byte [ecx + eax + 0xc], 0
mov eax, 0x8000
test eax, esi
jne 0x4925d8
and dword [esp + 0x10], 0
and dword [esp + 0x14], 0
mov word [esp + 0x10], ax
movzx eax, byte [ecx + 1]
sub eax, edx
je 0x492529
sub eax, edx
je 0x492524
sub eax, 0x7e
je 0x492518
sub eax, edx
je 0x492511
sub eax, edx
jne 0x49253c
mov eax, 0x82
or word [esp + 0x12], ax
jmp 0x49252e
mov eax, 0x81
jmp 0x49250a
mov eax, 0x80
or word [esp + 0x12], ax
jmp 0x49253c
push 2
pop eax
jmp 0x49250a
or word [esp + 0x12], dx
push dword [ecx + 4]
call dword [sym.imp.WS2_32.dll_ntohl]
mov word [esp + 0x16], ax
mov ecx, dword [ebx + ebp*4 + 0x178]
push dword [esp + 0x10]
mov edx, dword [esp + 0x28]
mov ecx, dword [ecx + 0x80]
call fcn.00487972
mov ecx, dword [ebx + ebp*4 + 0x178]
push dword [esp + 0x18]
mov edx, dword [esp + 0x2c]
mov ecx, dword [ecx + 0x84]
call fcn.00487972
mov eax, dword [ebx + ebp*4 + 0x178]
mov esi, dword [esp + 0x24]
pop ecx
pop ecx
mov dword [eax + 0x7c], 0
mov ecx, dword [ebx + 0x1b0]
test ecx, ecx
je 0x4925ac
push dword [esp + 0x28]
mov eax, dword [esp + 0x24]
add eax, 0xc
push eax
push esi
push dword [ebx + ebp*4 + 0x178]
push ebx
call ecx
add esp, 0x14
mov dword [esp + 0x2c], eax
mov ecx, dword [ebx + ebp*4 + 0x178]
add ecx, 0x7c
call fcn.0044c7d2
cmp dword [esp + 0x2c], 0
jne 0x4925d8
push 1
lea eax, [esp + 0x1f]
mov edx, ebp
push eax
push 0x32
push esi
mov ecx, ebx
call fcn.0049226b
add esp, 0x10
push 2
pop edx
cmp dword [edi + 0x94], 0
je 0x4928dc
cmp byte [edi + 0x94], 0xff
jne 0x4928dc
movzx eax, word [edi + 0x96]
mov ecx, dword [edi + 0xf4]
mov esi, eax
add ecx, dword [edi + 0xec]
sub ecx, eax
shr esi, 1
sub esi, edx
mov eax, dword [ecx]
cmp eax, dword [edi + 0x6c]
ja 0x4928dc
mov eax, esi
mov edx, 0x1000
shl eax, 2
cmp eax, edx
ja 0x4928c7
test esi, esi
jle 0x492644
lea eax, [esi + esi]
push eax
lea eax, [ecx + 4]
push eax
lea ecx, [esp + 0x38]
call section..text
pop ecx
pop ecx
push esi
jmp 0x4928c9
test esi, 0x4000
je 0x4925db
mov ecx, dword [ebx + ebp*4 + 0x178]
xor esi, 0xc000
mov edx, dword [esp + 0x24]
or esi, 0x8000
mov word [esp + 0x10], si
push dword [esp + 0x10]
mov ecx, dword [ecx + 0x80]
call fcn.00487972
mov eax, dword [ebx + ebp*4 + 0x178]
pop ecx
mov dword [eax + 0x7c], 0
mov eax, dword [ebx + 0x1b8]
test eax, eax
je 0x4926a7
push dword [esp + 0x1c]
push dword [ebx + ebp*4 + 0x178]
push ebx
call eax
add esp, 0xc
mov ecx, dword [ebx + ebp*4 + 0x178]
add ecx, 0x7c
call fcn.0044c7d2
jmp 0x4925d8
mov al, byte [esp + 0x1040]
and al, 3
cmp al, 3
jne 0x492733
cmp dword [ebx + 0x140], 0
je 0x4925db
mov eax, dword [ebx + ebp*4 + 0x178]
cmp dword [eax + 0x78], edx
jne 0x4925db
mov edx, dword [esp + 0x14]
mov dword [eax + 0x7c], 0
mov ecx, dword [ebx + ebp*4 + 0x178]
lea eax, [ecx + 0x3c]
push eax
push edx
push esi
push dword [esp + 0x1050]
push dword [esp + 0x2c]
push ecx
push ebx
call dword [ebx + 0x140]
mov ecx, dword [ebx + ebp*4 + 0x178]
add esp, 0x1c
test ecx, ecx
je 0x4928ea
push 2
pop eax
cmp dword [ecx + 0x78], eax
jne 0x4928ea
jmp 0x4926ae
mov eax, dword [ebx + ebp*4 + 0x178]
mov ecx, dword [esp + 0x1c]
movzx ecx, cx
mov dword [esp + 0x24], ecx
mov edx, ecx
mov ecx, dword [eax + 0x8c]
push 0
call fcn.00487a78
mov esi, eax
xor eax, eax
inc eax
pop ecx
test esi, esi
jne 0x492799
test byte [esp + 0x1040], 2
je 0x4925d8
push 0x1e6
push 0x723ecc
push eax
push 0xc
call fcn.005e7f10
mov esi, eax
add esp, 0x10
test esi, esi
je 0x492903
xor eax, eax
mov edi, esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov edi, dword [esp + 0x28]
inc eax
test byte [esp + 0x1040], 2
je 0x4927a7
and dword [esi + 4], 0
mov ecx, dword [esi + 4]
test ecx, ecx
js 0x4925d8
mov edx, dword [esp + 0x14]
add edx, ecx
cmp edx, dword [esi + 8]
jle 0x492814
push 0xddc
push 0x7246a8
push eax
push edx
push dword [esi]
call fcn.005e80c0
add esp, 0x14
mov dword [esi], eax
test eax, eax
jne 0x492808
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov esi, 0xfe
mov edi, 0xddc
push esi
push edi
mov edx, 0x7246c4
xor ecx, ecx
call fcn.00488a50
push edi
push 0x7246e0
push 0x7246fc
jmp 0x49292d
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 4]
add eax, ecx
mov dword [esi + 8], eax
mov edx, dword [esi + 8]
push dword [esp + 0x14]
mov eax, dword [esp + 0x24]
sub edx, ecx
mov ecx, dword [esi]
add ecx, dword [esi + 4]
push eax
call section..text
mov eax, dword [esp + 0x1c]
add dword [esi + 4], eax
mov ecx, dword [ebx + ebp*4 + 0x178]
mov edx, dword [esp + 0x2c]
push esi
mov ecx, dword [ecx + 0x8c]
call fcn.00487972
add esp, 0xc
test byte [esp + 0x1040], 1
je 0x4925d8
cmp dword [ebx + 0x140], 0
push 2
pop edx
je 0x4928be
mov eax, dword [ebx + ebp*4 + 0x178]
cmp dword [eax + 0x78], edx
jne 0x4928be
mov dword [eax + 0x7c], 0
mov ecx, dword [ebx + ebp*4 + 0x178]
lea eax, [ecx + 0x3c]
push eax
push dword [esi + 4]
push dword [esi]
push dword [esp + 0x1050]
push dword [esp + 0x2c]
push ecx
push ebx
call dword [ebx + 0x140]
mov ecx, dword [ebx + ebp*4 + 0x178]
add esp, 0x1c
test ecx, ecx
je 0x4928ea
push 2
pop eax
cmp dword [ecx + 0x78], eax
jne 0x4928ea
add ecx, 0x7c
call fcn.0044c7d2
push 2
pop edx
or dword [esi + 4], 0xffffffff
jmp 0x4925db
push 0
and dword [edi + 0x94], 0
lea edx, [esp + 0x34]
mov ecx, edi
call fcn.0049524c
pop ecx
mov eax, dword [ebx + ebp*4 + 0x178]
mov dword [eax + 0x7c], 0
mov ecx, dword [esp + 0x1030]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005b35b0
add esp, 0x1024
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov esi, 0xfe
mov edi, 0x1e7
push esi
push edi
mov edx, 0x723ee8
xor ecx, ecx
call fcn.00488a50
push edi
push 0x723f04
push 0x723f20
call fcn.00401109
add esp, 0x18
push esi
call fcn.005c3000
int3