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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x300
mov esi, esp
mov dword [esi + 0x2e8], ebp
mov dword [esi + 0x2ec], esp
mov dword [esi + 0x2f8], 0xffffffff
mov dword [esi + 0x2f4], 0x485ce0
mov eax, dword [ebp + 0x14]
lea ecx, [esi + 0x2f0]
mov edx, dword fs:[0]
mov dword [esi + 0x2f0], edx
mov dword fs:[0], ecx
mov ecx, dword [eax + 0x2c]
mov eax, dword [eax + 0x30]
mov edx, dword [eax + 8]
mov byte [esi + 5], 0
mov dword [esi + 0x2f8], 2
dec edx
and edx, 0xfffffff8
lea ecx, [ecx + edx + 8]
push ecx
call dword [eax + 0x1c]
add esp, 4
mov byte [esi + 0x1c], al
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
mov edi, dword [eax + 0x20]
mov ecx, dword [eax + 0x1c]
mov dword [esi + 0x2c], edx
mov eax, dword [edi + 8]
mov byte [esi + 5], 0
dec eax
and eax, 0xfffffff8
lea eax, [ecx + eax + 8]
lea ecx, [esi + 0x2a0]
push edx
mov dword [esi + 0x10], eax
push eax
push ecx
mov dword [esi + 8], edi
call dword [edi + 0x30]
add esp, 0xc
cmp dword [esi + 0x2a8], 0x80000000
jne 0x47ff27
mov dword [esi + 0x118], reloc.WS2_32.dll_accept
mov dword [esi + 0x2f8], 0xb
lea eax, [esi + 0x30]
push dword [ebp + 0xc]
push dword [esi + 0x10]
push eax
mov eax, dword [esi + 8]
call dword [eax + 0x24]
add esp, 0xc
mov edi, dword [esi + 0x38]
cmp edi, 0x80000000
jne 0x47ff74
mov dword [esi + 0x1e8], reloc.WS2_32.dll_accept
jmp 0x48013b
lea eax, [esi + 0x34]
push 0x48
lea ecx, [esi + 0x2a0]
push ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lea edi, [esi + 0x11c]
mov dword [esi + 0x118], connect
lea eax, [esi + 0x30]
push 0x4c
push eax
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lea eax, [esi + 0x248]
push 0x54
push edi
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov edi, connect
jmp 0x47ff92
mov eax, dword [esi + 0x30]
mov ebx, dword [esi + 0x34]
lea ecx, [esi + 0x248]
mov dword [esi + 8], eax
lea eax, [esi + 0x3c]
push 0x54
push eax
push ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lea eax, [esi + 0x11c]
lea ecx, [esi + 0x248]
push 0x54
push ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [esi + 8]
mov dword [esi + 0x114], ebx
mov dword [esi + 0x2f8], 0xa
mov dword [esi + 0x110], eax
mov dword [esi + 0x118], edi
call fcn.004a8400
mov dword [esi + 8], edx
mov ebx, eax
lea eax, [esi + 0x110]
lea edi, [esi + 0x30]
push 0x60
push eax
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [esi + 8]
mov dword [esi + 0x90], ebx
lea ecx, [esi + 0x40]
mov edx, edi
mov dword [esi + 0x94], eax
mov eax, dword [esi + 0x38]
cmp eax, 0x80000000
cmove edx, ecx
mov edx, dword [edx + 0x2c]
test edx, edx
je 0x480078
cmp eax, 0x80000000
lea edi, [esi + 0x30]
cmove edi, ecx
mov ecx, 0xffffffff
add edx, dword [edi]
mov edi, dword [edi + 4]
adc edi, 0
cmovb edx, ecx
cmovb edi, ecx
lea ecx, [esi + 0x40]
cmp edx, ebx
sbb edi, dword [esi + 8]
jae 0x480078
cmp eax, 0x80000000
mov dword [esi + 0x1e8], reloc.WS2_32.dll_accept
jne 0x480125
mov dword [esi + 0x2f8], 9
call fcn.00458820
mov eax, dword [esi + 0x70]
test eax, eax
je 0x48013b
push 1
push eax
push dword [esi + 0x74]
call fcn.00402cf0
add esp, 0xc
jmp 0x48013b
lea edi, [esi + 0x1e0]
push 0x68
lea eax, [esi + 0x30]
push eax
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
cmp dword [esi + 0x1e8], 0x80000001
je 0x48013b
push 0x68
push edi
lea eax, [esi + 0x30]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [esi + 0x38]
cmp eax, reloc.WS2_32.dll_accept
je 0x4801c0
mov ecx, dword [ebp + 0x18]
mov ebx, dword [ecx]
cmp byte [ebx + 0x24c], 0
je 0x4801c0
cmp eax, 0x80000000
jne 0x4808aa
mov edi, dword [esi + 0x78]
mov ecx, dword [esi + 0x74]
test edi, edi
je 0x4808be
mov dword [esi + 8], ecx
js 0x48090d
movzx eax, byte [0x5781b1]
push 1
push edi
call fcn.00402ce0
add esp, 8
mov ecx, dword [esi + 8]
test eax, eax
jne 0x4808c3
mov dword [esi + 0x2f8], 7
push edi
push 1
call fcn.00500210
add esp, 8
jmp 0x48091c
lea ecx, [esi + 0x30]
mov byte [esi + 5], 0
mov dword [esi + 0x2f8], 2
call fcn.00458820
mov eax, dword [0x578064]
xor ecx, ecx
mov eax, dword [eax]
cmp eax, 4
mov eax, 0xff
setne cl
cmovbe eax, ecx
cmp al, 0xff
je 0x48015d
movzx eax, al
test eax, eax
jne 0x4801b9
lea eax, [esi + 0x2c]
mov dword [esi + 0x30], 0x525ef0
mov dword [esi + 0x34], 1
mov dword [esi + 0x40], 0
mov dword [esi + 0x2f8], 8
mov dword [esi + 0x110], eax
lea eax, [esi + 0x110]
mov dword [esi + 0x114], 0x458600
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], 1
sub esp, 4
lea eax, [esi + 0x30]
push 0
push 0x4e
push 0x525f6c
push 4
push eax
call fcn.004adac0
add esp, 0x18
mov dword [esi + 0x38], reloc.WS2_32.dll_accept
lea eax, [esi + 0x30]
lea ecx, [esi + 0x178]
push 0x68
push eax
push ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [ebp + 0x14]
xor ecx, ecx
cmp dword [eax + 0x48], 0
je 0x480211
mov edx, dword [eax + 0x28]
mov ecx, dword [edx + 0x10]
test ecx, ecx
je 0x48020d
mov edx, dword [edx + 0xc]
add eax, 8
shl ecx, 3
nop word cs:[eax + eax]
nop dword [eax]
cmp dword [edx], 0
jne 0x480213
add edx, 8
add ecx, 0xfffffff8
jne 0x480200
xor ecx, ecx
jmp 0x480246
jmp 0x480246
mov byte [esi + 0xd], 1
mov dword [esi + 0x2f8], 3
push dword [ebp + 0xc]
push eax
lea eax, [esi + 0x30]
push eax
call fcn.0043ff80
add esp, 0xc
movzx eax, byte [esi + 0x30]
cmp al, 0x14
jne 0x480706
mov eax, dword [esi + 0x38]
mov ecx, dword [esi + 0x34]
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x180]
mov dword [esi + 8], ecx
cmp eax, 0x80000000
mov dword [esi + 0x14], eax
je 0x4802e5
cmp eax, reloc.WS2_32.dll_accept
jne 0x4802ec
mov eax, dword [0x578064]
xor ecx, ecx
mov eax, dword [eax]
cmp eax, 4
mov eax, 0xff
setne cl
cmovbe eax, ecx
cmp al, 0xff
je 0x48028e
movzx eax, al
test eax, eax
jne 0x480447
mov dword [esi + 0x30], str.Not_resuming_any_session
mov dword [esi + 0x34], 1
mov dword [esi + 0x40], 0
mov dword [esi + 0x38], 0x525334
mov dword [esi + 0x3c], 0
mov byte [esi + 6], 0
mov byte [esi + 7], 1
mov dword [esi + 0x2f8], 4
sub esp, 4
push 0
push 0x83
push 0x525f6c
push 4
lea eax, [esi + 0x30]
push eax
call fcn.004adac0
add esp, 0x18
jmp 0x480447
mov dl, 1
jmp 0x4803c9
cmp dword [esi + 0x188], 0
je 0x48037e
mov eax, dword [ebp + 0x14]
xorps xmm0, xmm0
mov ecx, dword [eax + 0x28]
mov eax, dword [ecx + 0x30]
mov ecx, dword [ecx + 0x34]
movaps xmmword [esi + 0x40], xmm0
movaps xmmword [esi + 0x30], xmm0
mov byte [esi + 6], 0
mov byte [esi + 7], 1
mov dword [esi + 0x2f8], 4
push 0x20
lea edx, [esi + 0x30]
push edx
push eax
call dword [ecx + 0x10]
add esp, 0xc
test al, al
jne 0x480500
movsd xmm1, qword [esi + 0x40]
movsd xmm0, qword [esi + 0x48]
movsd xmm2, qword [esi + 0x30]
mov dword [esi + 0x18], 0x20
movsd qword [esi + 0x1bc], xmm1
movsd xmm1, qword [esi + 0x38]
movsd qword [esi + 0x1c4], xmm0
movsd qword [esi + 0x1ac], xmm2
movsd qword [esi + 0x1b4], xmm1
mov dword [esi + 0x1cc], 0x20
jmp 0x480387
mov ecx, dword [esi + 0x1cc]
mov dword [esi + 0x18], ecx
movsd xmm1, qword [esi + 0x1bc]
movsd xmm0, qword [esi + 0x1c4]
movsd xmm2, qword [esi + 0x1ac]
xor edx, edx
movsd qword [esi + 0x258], xmm1
movsd xmm1, qword [esi + 0x1b4]
movsd qword [esi + 0x260], xmm0
movsd qword [esi + 0x248], xmm2
movsd qword [esi + 0x250], xmm1
mov eax, dword [0x578064]
xor ecx, ecx
mov eax, dword [eax]
cmp eax, 4
mov eax, 0xff
setne cl
cmovbe eax, ecx
cmp al, 0xff
je 0x4803eb
movzx eax, al
test eax, eax
jne 0x480443
mov dword [esi + 0x30], str.Resuming_session
mov dword [esi + 0x34], 1
mov dword [esi + 0x40], 0
mov dword [esi + 0x38], 0x525334
mov dword [esi + 0x28], edx
mov dword [esi + 0x3c], 0
mov byte [esi + 6], 0
mov byte [esi + 7], 1
mov dword [esi + 0x2f8], 4
sub esp, 4
push 0
push 0x81
push 0x525f6c
push 4
lea eax, [esi + 0x30]
push eax
call fcn.004adac0
add esp, 0x18
mov edx, dword [esi + 0x28]
test dl, dl
je 0x48047d
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
cmp byte [eax + 0x24c], 0
je 0x4806c6
xorps xmm0, xmm0
mov dword [esi + 0x2f8], 4
mov dword [esi + 0x18], 0
movaps xmmword [esi + 0x120], xmm0
movaps xmmword [esi + 0x110], xmm0
jmp 0x4804c7
movsd xmm1, qword [esi + 0x258]
movsd xmm0, qword [esi + 0x260]
movsd xmm2, qword [esi + 0x248]
mov dword [esi + 0x2f8], 4
movsd qword [esi + 0x120], xmm1
movsd xmm1, qword [esi + 0x250]
movsd qword [esi + 0x128], xmm0
movsd qword [esi + 0x110], xmm2
movsd qword [esi + 0x118], xmm1
mov eax, dword [ebp + 0x14]
xorps xmm0, xmm0
lea edx, [esi + 0x1e0]
mov ecx, dword [eax + 0x28]
mov eax, dword [ecx + 0x30]
mov ecx, dword [ecx + 0x34]
movaps xmmword [esi + 0x1f0], xmm0
movaps xmmword [esi + 0x1e0], xmm0
mov byte [esi + 6], 0
mov byte [esi + 7], 1
push 0x20
push edx
push eax
call dword [ecx + 0x10]
add esp, 0xc
test al, al
je 0x480557
mov eax, dword [ebp + 8]
mov ecx, dword [esi + 0x10]
mov byte [eax], 0xe
mov eax, dword [esi + 8]
test eax, eax
je 0x4806b3
mov dword [esi + 0x2f8], 5
push eax
mov dword [esi + 0x10], ecx
call dword [ecx]
add esp, 4
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx + 4]
test eax, eax
je 0x4806b3
push dword [ecx + 8]
push eax
push dword [esi + 8]
call fcn.00402cf0
add esp, 0xc
mov eax, dword [esi + 0x14]
cmp eax, reloc.WS2_32.dll_accept
jne 0x480746
jmp 0x480798
movzx eax, byte [esi + 0x1c]
movaps xmm0, xmmword [esi + 0x1e0]
movaps xmm1, xmmword [esi + 0x1f0]
mov dword [esi + 0x1e0], 0
mov dword [esi + 0x1e4], 1
mov dword [esi + 0x1e8], 0
mov edi, dword [ebp + 0x14]
mov byte [esi + 0x1ec], al
movzx eax, word [esi + 0x25]
movaps xmmword [esi + 0x40], xmm1
movaps xmmword [esi + 0x30], xmm0
mov word [esi + 0x1ed], ax
movzx eax, byte [esi + 0x27]
mov byte [esi + 0x1ef], al
lea eax, [esi + 0x50]
push 0x68
lea ecx, [esi + 0x178]
push ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
movsd xmm1, qword [esi + 0x118]
movsd xmm2, qword [esi + 0x120]
mov eax, dword [ebp + 0xc]
movsd xmm0, qword [esi + 0x110]
mov byte [esi + 6], 1
mov byte [esi + 7], 0
movsd qword [esi + 0xc0], xmm1
movsd xmm1, qword [esi + 0x128]
movsd qword [esi + 0xc8], xmm2
movsd xmm2, qword [eax]
movsd qword [esi + 0xb8], xmm0
movsd qword [esi + 0xd0], xmm1
movsd xmm1, qword [eax + 8]
mov eax, dword [eax + 0x10]
movsd qword [esi + 0xe0], xmm2
mov dword [esi + 0xf0], eax
mov eax, dword [esi + 0x18]
movsd qword [esi + 0xe8], xmm1
mov dword [esi + 0xdc], edi
mov word [esi + 0x100], 0
mov dword [esi + 0xf4], 0
mov dword [esi + 0xf8], 2
mov dword [esi + 0xfc], 0
mov dword [esi + 0xd8], eax
sub esp, 0x1c
mov eax, dword [ebp + 0x18]
lea ecx, [esi + 0x1e0]
xor edx, edx
mov dword [esp + 0xc], 2
mov dword [esp + 0x18], eax
lea eax, [esi + 0x30]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 8], eax
mov eax, dword [esi + 0x10]
mov dword [esp + 4], eax
mov eax, dword [esi + 8]
mov dword [esp], eax
call fcn.00480c30
add esp, 0x1c
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], eax
mov dword [ecx + 8], edx
mov byte [ecx], 0x14
jmp 0x480839
mov eax, dword [esi + 0x14]
cmp eax, reloc.WS2_32.dll_accept
jne 0x480746
jmp 0x480798
mov eax, dword [ebp + 0x14]
cmp dword [eax + 0x48], 0
je 0x480459
mov eax, dword [eax + 0x28]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x480459
mov edx, dword [eax + 0xc]
shl ecx, 3
nop word [eax + eax]
cmp dword [edx], 0
jne 0x480850
add edx, 8
add ecx, 0xfffffff8
jne 0x4806f0
jmp 0x480459
movzx ecx, byte [esi + 0x33]
mov edx, dword [ebp + 8]
movsd xmm0, qword [esi + 0x34]
mov byte [esi + 0x24], cl
movzx ecx, word [esi + 0x31]
mov byte [edx], al
mov word [esi + 0x22], cx
mov ecx, dword [esi + 0x3c]
movzx eax, word [esi + 0x22]
mov word [edx + 1], ax
movzx eax, byte [esi + 0x24]
mov byte [edx + 3], al
mov eax, dword [esi + 0x180]
movsd qword [edx + 4], xmm0
mov dword [edx + 0xc], ecx
cmp eax, reloc.WS2_32.dll_accept
je 0x480798
cmp eax, 0x80000000
jne 0x48077f
lea ecx, [esi + 0x188]
mov dword [esi + 0x2f8], 6
call fcn.00458820
mov eax, dword [esi + 0x1b8]
test eax, eax
je 0x480798
push 1
push eax
push dword [esi + 0x1bc]
call fcn.00402cf0
add esp, 0xc
jmp 0x480798
lea ecx, [esi + 0x178]
mov byte [esi + 5], 0
mov dword [esi + 0x2f8], 2
call fcn.00458820
mov eax, dword [ebp + 0x14]
lock dec dword [eax]
jne 0x4807ba
lea eax, [ebp + 0x14]
mov byte [esi + 0xe], 0
mov dword [esi + 0x2f8], 1
push eax
call fcn.004573f0
add esp, 4
mov eax, dword [ebp + 0x10]
mov dword [esi + 8], 0
mov ecx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esi + 0x14], eax
mov dword [esi + 0x1c], ecx
mov eax, dword [esi + 8]
cmp dword [esi + 0x14], eax
je 0x4807f6
inc eax
lea edx, [ecx + 0x1c]
mov dword [esi + 0x2f8], 0xd
mov dword [esi + 8], eax
mov dword [esi + 0x10], edx
call fcn.0043a160
mov ecx, dword [esi + 0x10]
jmp 0x4807d0
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
test eax, eax
je 0x480815
lea ecx, [eax + eax*8]
lea ecx, [ecx + ecx*2]
add ecx, eax
push 4
push ecx
push dword [esi + 0x1c]
call fcn.00402cf0
add esp, 0xc
mov ecx, dword [ebp + 0xc]
cmp byte [ecx], 0
jne 0x480839
mov eax, dword [ecx + 4]
cmp eax, 0x80000000
je 0x480839
test eax, eax
je 0x480839
push 1
push eax
push dword [ecx + 8]
call fcn.00402cf0
add esp, 0xc
mov eax, dword [esi + 0x2f0]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, dword [eax + 0x30]
mov eax, dword [eax + 0x34]
xorps xmm0, xmm0
mov byte [esi + 6], 0
mov byte [esi + 7], 1
mov dword [esi + 0x2f8], 4
movaps xmmword [esi + 0x40], xmm0
movaps xmmword [esi + 0x30], xmm0
push 0x20
lea edx, [esi + 0x30]
push edx
push ecx
call dword [eax + 0x10]
add esp, 0xc
test al, al
jne 0x480500
movaps xmm0, xmmword [esi + 0x30]
movaps xmm1, xmmword [esi + 0x40]
mov dword [esi + 0x18], 0x20
movaps xmmword [esi + 0x120], xmm1
movaps xmmword [esi + 0x110], xmm0
jmp 0x4804c7
mov edi, connect
mov eax, dword [ebx + 0xd0]
cmp eax, 0x80000000
jne 0x4808de
jmp 0x4808f3
mov eax, 1
push edi
push ecx
mov dword [esi + 8], eax
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [ebx + 0xd0]
cmp eax, 0x80000000
je 0x4808f3
test eax, eax
je 0x4808f3
push 1
push eax
push dword [ebx + 0xd4]
call fcn.00402cf0
add esp, 0xc
mov eax, dword [esi + 8]
mov dword [ebx + 0xd0], edi
mov dword [ebx + 0xd8], edi
mov dword [ebx + 0xd4], eax
jmp 0x4801c0
mov dword [esi + 0x2f8], 7
call fcn.004e3430
ud2