Function at 0x40198f
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0
push 0x400
call fcn.004020ad
mov dword [0x49d813], eax
push dword [0x49d813]
call fcn.004020ce
call fcn.00445070
nop
nop
nop
nop
nop
mov ebx, dword [0x49d817]
mov dword [ebp - 0x3c], ebx
mov ebx, dword [ebp - 0x3c]
mov dword [ebx], 0x402697
mov ebx, dword [0x49d817]
add ebx, 4
mov dword [ebp - 0x3c], ebx
mov ebx, dword [ebp - 0x3c]
mov dword [ebx], 0x4026c9
mov ebx, dword [0x49d817]
add ebx, 8
mov dword [ebp - 0x3c], ebx
mov ebx, dword [ebp - 0x3c]
mov dword [ebx], 0x4026fb
mov ebx, dword [0x49d817]
add ebx, 0xc
mov dword [ebp - 0x3c], ebx
mov ebx, dword [ebp - 0x3c]
mov dword [ebx], 0x40272d
mov ebx, dword [0x49d817]
add ebx, 0x10
mov dword [ebp - 0x3c], ebx
mov ebx, dword [ebp - 0x3c]
mov dword [ebx], 0x40275f
mov ebx, dword [0x49d817]
add ebx, 0x14
mov dword [ebp - 0x3c], ebx
mov ebx, dword [ebp - 0x3c]
mov dword [ebx], 0x402791
mov ebx, dword [0x49d817]
add ebx, 0x18
mov dword [ebp - 0x3c], ebx
mov ebx, dword [ebp - 0x3c]
mov dword [ebx], 0x40291e
mov ebx, dword [0x49d817]
add ebx, 0x1c
mov dword [ebp - 0x3c], ebx
mov ebx, dword [ebp - 0x3c]
mov dword [ebx], 0x402950
mov ebx, dword [0x49d817]
add ebx, 0x20
mov dword [ebp - 0x3c], ebx
mov ebx, dword [ebp - 0x3c]
mov dword [ebx], 0x402982
mov ebx, dword [0x49d817]
add ebx, 0x24
mov dword [ebp - 0x3c], ebx
mov ebx, dword [ebp - 0x3c]
mov dword [ebx], 0x4029b4
mov ebx, dword [0x49d817]
add ebx, 0x28
mov dword [ebp - 0x3c], ebx
mov ebx, dword [ebp - 0x3c]
mov dword [ebx], 0x4029e6
call dword [sym.imp.KERNEL32.dll_GetLastError]
nop
nop
nop
nop
mov dword [ebp - 4], eax
push 0
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
nop
nop
nop
nop
mov dword [ebp - 8], eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
nop
nop
nop
nop
mov dword [ebp - 0xc], eax
mov eax, str.SOFTWARETqdigitalSoulPath
push eax
mov ebx, dword [0x49d807]
test ebx, ebx
je 0x401b47
push ebx
call fcn.004435a3
add esp, 4
pop eax
mov dword [0x49d807], eax
push 0x7f89
call fcn.004020f7
mov dword [0x49d81b], eax
mov ebx, dword [0x49d7ff]
mov dword [ebp - 0x3c], ebx
push 0
mov ebx, 0x104
call fcn.00446250
add esp, 4
mov dword [ebp - 0x40], eax
push 0x4722d6
push dword [ebp - 0x40]
mov ecx, 2
call fcn.0040106b
add esp, 8
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x401ba2
push ebx
call fcn.004435a3
add esp, 4
mov eax, dword [ebp - 0x44]
push eax
mov ebx, dword [ebp - 0x3c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x401bb8
push ebx
call fcn.004435a3
add esp, 4
pop eax
mov ebx, dword [ebp - 0x3c]
mov dword [ebx], eax
mov ebx, dword [0x49d7ff]
add ebx, 4
mov dword [ebp - 0x3c], ebx
mov ebx, dword [0x49d7ff]
mov dword [ebp - 0x40], ebx
push str.Data_
mov ebx, dword [ebp - 0x40]
push dword [ebx]
mov ecx, 2
call fcn.0040106b
add esp, 8
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
push eax
mov ebx, dword [ebp - 0x3c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x401c03
push ebx
call fcn.004435a3
add esp, 4
pop eax
mov ebx, dword [ebp - 0x3c]
mov dword [ebx], eax
push 1
push 0xf
call fcn.0040211d
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x401c2c
push ebx
call fcn.004435a3
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov ebx, dword [0x49d7ff]
add ebx, 0x10
mov dword [ebp - 0x3c], ebx
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x401c58
push eax
mov ebx, eax
call fcn.00401000
inc eax
push eax
call fcn.0044359d
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x3c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x401c6b
push ebx
call fcn.004435a3
add esp, 4
pop eax
mov ebx, dword [ebp - 0x3c]
mov dword [ebx], eax
mov ebx, dword [0x49d7ff]
add ebx, 8
mov dword [ebp - 0x3c], ebx
mov ebx, dword [0x49d7ff]
add ebx, 4
mov dword [ebp - 0x40], ebx
push str..txt
push dword [ebp - 0x10]
mov ebx, dword [ebp - 0x40]
push dword [ebx]
mov ecx, 3
call fcn.0040106b
add esp, 0xc
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
push eax
mov ebx, dword [ebp - 0x3c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x401cbc
push ebx
call fcn.004435a3
add esp, 4
pop eax
mov ebx, dword [ebp - 0x3c]
mov dword [ebx], eax
mov ebx, dword [0x49d7ff]
add ebx, 0xc
mov dword [ebp - 0x3c], ebx
mov ebx, dword [0x49d7ff]
mov dword [ebp - 0x40], ebx
push str..DAT
push dword [ebp - 0x10]
mov ebx, dword [ebp - 0x40]
push dword [ebx]
mov ecx, 3
call fcn.0040106b
add esp, 0xc
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
push eax
mov ebx, dword [ebp - 0x3c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x401d0a
push ebx
call fcn.004435a3
add esp, 4
pop eax
mov ebx, dword [ebp - 0x3c]
mov dword [ebx], eax
push 0x49d81f
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov eax, str.57B16C3F_8EB1_4487_B147_CC746A0B8877
push eax
mov ebx, dword [0x49d823]
test ebx, ebx
je 0x401d38
push ebx
call fcn.004435a3
add esp, 4
pop eax
mov dword [0x49d823], eax
mov eax, 0x472366
push eax
mov ebx, dword [0x49d827]
test ebx, ebx
je 0x401d57
push ebx
call fcn.004435a3
add esp, 4
pop eax
mov dword [0x49d827], eax
mov eax, str.3212oubr5koH_Yw25yDOYVt6TGbbYokGuId6fYZfxxlsf9GTO289rkIOpE8piMlGWCevHhY7GiW9vOe3V1TCw
push eax
mov ebx, dword [0x49d82b]
test ebx, ebx
je 0x401d76
push ebx
call fcn.004435a3
add esp, 4
pop eax
mov dword [0x49d82b], eax
call fcn.00444fb0
nop
nop
nop
nop
nop
and eax, 1
xor eax, 1
test eax, eax
je 0x401e8d
push 0x400
call fcn.00443710
nop
nop
nop
nop
nop
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x401db5
jmp 0x402069
push dword [ebp - 0x14]
push str.Protect.sys
call fcn.004439d0
nop
nop
nop
nop
nop
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], 0
cmp dword [ebp - 0x18], 0
jle 0x401e80
mov eax, dword [ebp - 0x18]
xor ecx, ecx
inc ecx
push ecx
push eax
cmp ecx, eax
jg 0x401e7d
push dword [ebp - 0x1c]
push dword [ebp - 0x14]
call fcn.004021be
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jle 0x401e72
push dword [ebp - 0x20]
push 0
push 0x1f03ff
call dword [sym.imp.KERNEL32.dll_OpenThread]
nop
nop
nop
nop
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jle 0x401e72
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_SuspendThread]
nop
nop
nop
nop
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 1
jl 0x401e65
mov eax, dword [ebp - 0x28]
xor ecx, ecx
inc ecx
push ecx
push eax
cmp ecx, eax
jg 0x401e62
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
nop
nop
nop
nop
pop eax
pop ecx
jmp 0x401e46
add esp, 8
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
nop
nop
add dword [ebp - 0x1c], 4
pop eax
pop ecx
jmp 0x401de0
add esp, 8
push dword [ebp - 0x14]
call fcn.00443750
nop
nop
nop
nop
nop
mov dword [ebp - 0x1c], 0
mov eax, 0x47275c
test eax, eax
je 0x401eb0
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.0044359d
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x401ec1
push ebx
call fcn.004435a3
add esp, 4
pop eax
mov dword [ebp - 0x2c], eax
push 0xa
call fcn.004021e9
mov dword [ebp - 0x3c], eax
push str.driversetcHOSTS
push dword [ebp - 0x3c]
mov ecx, 2
call fcn.0040106b
add esp, 8
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x401efa
push ebx
call fcn.004435a3
add esp, 4
mov eax, dword [ebp - 0x40]
push eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x401f0e
push ebx
call fcn.004435a3
add esp, 4
pop eax
mov dword [ebp - 0x30], eax
push 0xa
call fcn.004021e9
mov dword [ebp - 0x3c], eax
push str.driversetc_
push dword [ebp - 0x3c]
mov ecx, 2
call fcn.0040106b
add esp, 8
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x401f47
push ebx
call fcn.004435a3
add esp, 4
mov eax, dword [ebp - 0x40]
push eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x401f5b
push ebx
call fcn.004435a3
add esp, 4
pop eax
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
call fcn.004024cf
and eax, 1
xor eax, 1
test eax, eax
je 0x401f7f
lea eax, [ebp - 0x34]
push eax
call fcn.00402501
push 0x80000301
push 0
push 0x20
push OleUIBusyA
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x401f9e
mov eax, 0x4722d5
push eax
push 2
mov ebx, 0x260
call fcn.004462f0
add esp, 0x1c
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 0xa
jle 0x401fc3
jmp 0x402069
push 0x80000301
push 0
push 3
push 0x80000301
push 0
push 4
push OleUIBusyA
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x401fee
mov eax, 0x4722d5
push eax
push 3
mov ebx, 0x270
call fcn.00446310
add esp, 0x28
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x40205f
push 0x80000301
push 0
push dword [ebp - 0x38]
push 1
mov ebx, 0x28c
call fcn.004463f0
add esp, 0x10
push htons
push 0
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x40203d
mov eax, 0x472784
push eax
push 0x80000301
push 0
push dword [ebp - 0x38]
push 2
mov ebx, 0x298
call fcn.00446450
add esp, 0x1c
jmp 0x402069
cmp dword [ebp - 0x38], 0
je 0x401fb1
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x402079
push ebx
call fcn.004435a3
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x402089
push ebx
call fcn.004435a3
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x402099
push ebx
call fcn.004435a3
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4020a9
push ebx
call fcn.004435a3
add esp, 4
mov esp, ebp
pop ebp
ret