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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x452b64
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x46e02c]
xor eax, esp
mov dword [esp + 0x218], eax
push ebx
push esi
push edi
mov eax, dword [0x46e02c]
xor eax, esp
push eax
lea eax, [esp + 0x230]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x24], eax
call fcn.00415260
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x170]
push eax
mov dword [esp + 0x240], 0
call fcn.0042f910
push str.127.0.0.1
lea ecx, [esp + 0x7c]
mov byte [esp + 0x23c], 1
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
push str.3705
lea ecx, [esp + 0x60]
mov byte [esp + 0x23c], 2
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x38]
push edx
mov byte [esp + 0x240], 3
call fcn.0042f9d0
lea ebx, [esp + 0x5c]
lea ecx, [esp + 0x78]
lea esi, [esp + 0x114]
mov byte [esp + 0x238], 4
call fcn.0042f7d0
mov eax, esi
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x23c], 5
call fcn.0042f590
cmp byte [esp + 0x18], 0
mov eax, dword [eax + 0xc]
mov ecx, 0x20
mov esi, eax
lea edi, [esp + 0x94]
rep movsd dword es:[edi], dword [esi]
je 0x42ee22
mov byte [esp + 0x18], 0
mov esi, dword [esp + 0x14]
test esi, esi
je 0x42ee54
lea ecx, [esi + 4]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x42ee54
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
lea eax, [esi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x42ee54
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
xor ecx, ecx
mov ebx, 2
cmp word [esp + 0x94], bx
lea edx, [esp + 0x10]
setne cl
push edx
lea esi, [esp + 0x170]
dec ecx
and ecx, 0xffffffeb
add ecx, 0x17
mov dword [esp + 0x14], ecx
call fcn.0042f420
lea eax, [esp + 0x94]
push eax
mov ecx, esi
call fcn.00430880
test al, al
jne 0x42eece
mov edi, dword [sym.imp.WS2_32.dll_htons]
mov esi, 0xe54c
mov ecx, 0xffff
cmp si, cx
jae 0x42eee9
push esi
call edi
lea edx, [esp + 0x94]
push edx
lea ecx, [esp + 0x170]
mov word [esp + 0x9a], ax
inc esi
call fcn.00430880
test al, al
je 0x42eea0
cmp word [esp + 0x94], bx
jne 0x42efbd
mov edx, dword [esp + 0x96]
push edx
jmp 0x42efc5
test al, al
jne 0x42eece
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 0x290]
add ecx, 0x290
neg eax
sbb eax, eax
test eax, fcn.00419db0
je 0x42ef17
push str.Cannot_open_port
push str.ACCCEPTOR
call fcn.004044f0
lea ecx, [esp + 0x114]
push ecx
mov byte [esp + 0x23c], 4
call fcn.0042f380
mov byte [esp + 0x238], 3
mov esi, dword [esp + 0x3c]
test esi, esi
je 0x42ef66
lea edx, [esi + 4]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x42ef66
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x42ef66
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
lea ecx, [esp + 0x5c]
mov byte [esp + 0x238], bl
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x78]
mov byte [esp + 0x238], 1
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea eax, [esp + 0x16c]
push eax
mov byte [esp + 0x23c], 0
call fcn.0042f500
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x23c], 0xffffffff
call fcn.00415300
mov eax, 1
jmp 0x42f2a0
mov eax, dword [esp + 0x96]
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
movzx ecx, ax
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x10]
lea esi, [esp + 0x40]
call fcn.00430a10
push eax
lea ecx, [esp + 0x60]
mov byte [esp + 0x23c], 6
call dword [0x4561d4]
mov ecx, esi
mov byte [esp + 0x238], 5
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov esi, dword [esp + 0x20]
lea edi, [esi + 0x10]
lea ebx, [esp + 0x5c]
call fcn.0042bd50
test al, al
jne 0x42f0eb
mov edx, dword [esi + 0x290]
lea ecx, [esi + 0x290]
neg edx
sbb edx, edx
test edx, fcn.00419db0
je 0x42f044
push str.terminating__init_returned_false_.
push str.ACCCEPTOR
call fcn.004044f0
lea eax, [esp + 0x114]
push eax
mov byte [esp + 0x23c], 4
call fcn.0042f380
mov byte [esp + 0x238], 3
mov esi, dword [esp + 0x3c]
test esi, esi
je 0x42f093
lea ecx, [esi + 4]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x42f093
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
lea eax, [esi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x42f093
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0x238], 2
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x78]
mov byte [esp + 0x238], 1
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x16c]
push ecx
mov byte [esp + 0x23c], 0
call fcn.0042f500
lea edx, [esp + 0x24]
push edx
mov dword [esp + 0x23c], 0xffffffff
call fcn.00415300
mov eax, 1
jmp 0x42f2a0
lea eax, [esp + 0x16c]
push eax
call fcn.0042f490
cmp dword [esp + 0x74], 0x10
mov eax, dword [esp + 0x60]
jae 0x42f107
lea eax, [esp + 0x60]
mov edx, dword [esi + 0x270]
lea ecx, [esi + 0x270]
neg edx
sbb edx, edx
test edx, fcn.00419db0
je 0x42f12a
push eax
push str.ACCEPTOR_started__port
call fcn.004044f0
mov dword [esp + 0x10], esi
lea esi, [esp + 0x10]
mov byte [esp + 0x14], 0
call fcn.00417f60
cmp byte [esp + 0x14], 0
mov edi, dword [esp + 0x20]
lea eax, [esp + 0x16c]
mov dword [edi + 0xc], eax
mov dword [edi + 8], 0
je 0x42f190
mov eax, dword [esp + 0x10]
mov ecx, bind
mov edx, eax
lock xadd dword [edx], ecx
test ecx, 0x40000000
jne 0x42f190
cmp ecx, 0x80000000
jle 0x42f190
mov ecx, eax
lock bts dword [ecx], 0x1e
jb 0x42f190
call fcn.0040b4c0
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
lea esp, [esp]
lea edx, [esp + 0x16c]
push edx
push edi
call fcn.004308f0
mov ebx, eax
test ebx, ebx
je 0x42f190
lea esi, [esp + 0x10]
mov dword [esp + 0x10], edi
mov byte [esp + 0x14], 0
call fcn.00417f60
mov dword [edi + 0xc], 0
mov edi, dword [edi + 8]
test edi, edi
je 0x42f1c6
mov ebx, edi
cmp byte [esp + 0x14], 0
je 0x42f201
mov eax, dword [esp + 0x10]
mov ecx, bind
mov edx, eax
lock xadd dword [edx], ecx
test ecx, 0x40000000
jne 0x42f201
cmp ecx, 0x80000000
jle 0x42f201
mov ecx, eax
lock bts dword [ecx], 0x1e
jb 0x42f201
call fcn.0040b4c0
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
lea edx, [esp + 0x114]
push edx
mov byte [esp + 0x23c], 4
call fcn.0042f380
mov byte [esp + 0x238], 3
mov esi, dword [esp + 0x3c]
test esi, esi
je 0x42f250
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x42f250
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x42f250
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
lea ecx, [esp + 0x5c]
mov byte [esp + 0x238], 2
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x78]
mov byte [esp + 0x238], 1
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea eax, [esp + 0x16c]
push eax
mov byte [esp + 0x23c], 0
call fcn.0042f500
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x23c], 0xffffffff
call fcn.00415300
mov eax, ebx
mov ecx, dword [esp + 0x230]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x218]
xor ecx, esp
call fcn.00449014
mov esp, ebp
pop ebp
ret 4