Function at 0x483650
Capabilities:
Create thread
Resolve function by parsing pe exports
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5a3b60
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x61e69c]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
push esi
push edi
mov eax, dword [0x61e69c]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, edx
xor ebx, ebx
lea edx, [esp + 0x18]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], 0x41a020
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], 0x113
mov dword [esp + 0x24], edx
mov dword [esp + 0x90], ebx
mov eax, dword [0x66089c]
cmp eax, ebx
jne 0x4836ea
call fcn.00410d40
cmp eax, ebx
je 0x4836e1
push str.GetWorkFlowHWND
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x66089c], eax
jmp 0x4836e6
mov eax, dword [0x66089c]
cmp eax, ebx
je 0x4836ee
call eax
jmp 0x4836f0
xor eax, eax
push ebx
push 0x7d0
lea ecx, [esp + 0x20]
push ecx
push eax
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [esp + 0x10], 5
dec dword [esp + 0x10]
push str.127.0.0.1
call dword [sym.imp.WS2_32.dll_inet_addr]
push eax
mov esi, edi
call fcn.004a9df7
neg eax
sbb eax, eax
inc eax
cmp eax, ebx
jne 0x483793
test byte [0x660fc0], 1
jne 0x483762
mov eax, dword [0x627340]
or dword [0x660fc0], 1
mov edx, eax
dec eax
mov dword [0x627340], eax
test edx, edx
jle 0x483762
push ebx
push ebx
push ebx
push 0x47ff50
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x627340]
mov ecx, eax
dec eax
mov dword [0x627340], eax
test ecx, ecx
jle 0x483954
push ebx
push ebx
push ebx
push 0x47ff50
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x483954
mov ecx, dword [esp + 0x3c]
mov edx, edi
call fcn.0047fd20
test eax, eax
je 0x483954
push 5
push str.sync:
lea ecx, [esp + 0x4c]
mov dword [esp + 0x64], 0xf
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
call fcn.00409ea0
mov byte [esp + 0x90], 1
cmp dword [section.DLLShare], 4
jne 0x4838c1
mov edx, dword [section.DLLShare_2]
cmp edx, dword [section.DLLShare_1]
je 0x4838c1
lea ecx, [ecx]
lea eax, [esp + 0x2c]
mov dword [esp + 0x2c], 0x41a020
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], 0x113
mov dword [esp + 0x38], eax
mov byte [esp + 0x90], 2
mov eax, dword [0x66089c]
cmp eax, ebx
jne 0x483842
call fcn.00410d40
cmp eax, ebx
je 0x483839
push str.GetWorkFlowHWND
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x66089c], eax
jmp 0x48383e
mov eax, dword [0x66089c]
cmp eax, ebx
je 0x483846
call eax
jmp 0x483848
xor eax, eax
push ebx
push 0x64
lea ecx, [esp + 0x34]
push ecx
push eax
call dword [sym.imp.USER32.dll_SetTimer]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov edx, dword [edx + 0x10]
lea eax, [esp + 0x2c]
push eax
call edx
mov byte [esp + 0x90], 1
mov eax, dword [0x66089c]
cmp eax, ebx
jne 0x48389d
call fcn.00410d40
cmp eax, ebx
je 0x483894
push str.GetWorkFlowHWND
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x66089c], eax
jmp 0x483899
mov eax, dword [0x66089c]
cmp eax, ebx
je 0x4838a1
call eax
jmp 0x4838a3
xor eax, eax
lea ecx, [esp + 0x2c]
push ecx
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov edx, dword [section.DLLShare_2]
cmp edx, dword [section.DLLShare_1]
jne 0x4837f0
push 2
lea esi, [esp + 0x48]
call fcn.00480c70
cmp dword [esp + 0x5c], 0x10
mov ebx, eax
mov eax, dword [esp + 0x48]
jae 0x4838dd
lea eax, [esp + 0x48]
push 0x2710
push eax
call fcn.004a9eac
cmp dword [section.DLLShare], 4
mov esi, eax
jne 0x4838fe
push section.DLLShare_2
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp esi, ebx
jne 0x48392f
mov ecx, edi
lea esi, [esp + 0x60]
call fcn.0047fc30
xor ebx, ebx
cmp dword [esp + 0x60], ebx
jne 0x483a0f
cmp dword [esp + 0x7c], 0x10
jb 0x483937
mov eax, dword [esp + 0x68]
push eax
call fcn.004f6734
add esp, 4
jmp 0x483937
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ebx, ebx
mov byte [esp + 0x90], bl
cmp dword [esp + 0x5c], 0x10
jb 0x483952
mov ecx, dword [esp + 0x48]
push ecx
call fcn.004f6734
add esp, 4
xor ebx, ebx
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov edx, dword [edx + 0x10]
lea eax, [esp + 0x18]
push eax
call edx
mov eax, dword [edi + 4]
cmp eax, ebx
je 0x483981
push 2
push eax
call dword [sym.imp.WS2_32.dll_shutdown]
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [edi + 4], ebx
mov dword [edi], ebx
cmp dword [edi + 4], ebx
jne 0x483996
push ebx
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [edi + 4], eax
mov edx, dword [edi + 4]
lea ecx, [esp + 0x40]
push ecx
push 0x8004667e
mov esi, 1
push edx
mov dword [esp + 0x4c], esi
call dword [sym.imp.WS2_32.dll_ioctlsocket]
mov ecx, dword [edi + 4]
push 4
lea eax, [esp + 0x2c]
push eax
push esi
push 6
push ecx
mov dword [esp + 0x3c], esi
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp dword [esp + 0x10], ebx
jg 0x48370a
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x94], 0xffffffff
call fcn.0041a430
xor eax, eax
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.004f673f
mov esp, ebp
pop ebp
ret 4
mov edi, 0x10
cmp dword [esp + 0x7c], edi
jb 0x483a27
mov edx, dword [esp + 0x68]
push edx
call fcn.004f6734
add esp, 4
mov esi, 0xf
mov dword [esp + 0x7c], esi
mov dword [esp + 0x78], ebx
mov byte [esp + 0x68], bl
cmp dword [esp + 0x5c], edi
jb 0x483a4b
mov eax, dword [esp + 0x48]
push eax
call fcn.004f6734
add esp, 4
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x60], esi
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], bl
mov dword [esp + 0x94], 0xffffffff
call fcn.0041a430
mov eax, 1
jmp 0x4839ec