Function at 0x40efe0
Capabilities:
Create thread
Terminate thread

Disassembly:
push 0xffffffffffffffff
push 0x4598e8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x47617c]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
push 0x45e274
lea ecx, [esp + 0x18]
call fcn.00404bc0
xor ebp, ebp
push 0x45e274
lea ecx, [esp + 0x20]
mov dword [esp + 0x34], ebp
call fcn.00404bc0
cmp dword [esi + 0x3fc], ebp
mov byte [esp + 0x30], 1
je 0x40f217
call fcn.004218cc
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x40f056
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
lea ecx, [esp + 0x20]
push ecx
mov bl, 2
push 0x3ec
mov ecx, esi
mov byte [esp + 0x38], bl
call fcn.004296ee
mov edx, dword [esi + 0x400]
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push 0x45e274
lea ecx, [esp + 0x1c]
call fcn.00404bc0
push ebp
mov byte [esp + 0x34], 3
call fcn.0041e8b0
and eax, 0x3ff
add esp, 4
cmp ax, 0x12
jne 0x40f0b9
push 0x45ee3c
jmp 0x40f11c
push ebp
call fcn.0041e8b0
and eax, 0x3ff
add esp, 4
cmp ax, 0x11
je 0x40f117
push ebp
call fcn.0041e8b0
and eax, 0x3ff
add esp, 4
cmp ax, 4
jne 0x40f0e8
push 0x45ee28
jmp 0x40f11c
push ebp
call fcn.0041e8b0
and eax, 0x3ff
add esp, 4
cmp ax, 8
je 0x40f117
push ebp
call fcn.0041e8b0
and eax, 0x3ff
add esp, 4
cmp ax, 0x21
jne 0x40f117
push 0x45ee1c
jmp 0x40f11c
push str.START
lea ecx, [esp + 0x1c]
call fcn.004020f0
mov eax, dword [esp + 0x18]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x28], esp
mov edi, esp
push eax
call fcn.00401410
add eax, 0x10
add esp, 4
lea ecx, [esi + 0x358]
mov dword [edi], eax
call fcn.00415d00
push ebp
call fcn.0041e8b0
and eax, 0x3ff
add esp, 4
cmp ax, 0x12
jne 0x40f167
push 0x45f8c0
jmp 0x40f1ca
push ebp
call fcn.0041e8b0
and eax, 0x3ff
add esp, 4
cmp ax, 0x11
je 0x40f1c5
push ebp
call fcn.0041e8b0
and eax, 0x3ff
add esp, 4
cmp ax, 4
jne 0x40f196
push 0x45f880
jmp 0x40f1ca
push ebp
call fcn.0041e8b0
and eax, 0x3ff
add esp, 4
cmp ax, 8
je 0x40f1c5
push ebp
call fcn.0041e8b0
and eax, 0x3ff
add esp, 4
cmp ax, 0x21
jne 0x40f1c5
push str.Melakukan_verifikasi_nama_host_dari_host_IP_atau_verifikasi_host_IP_dari_nama_host.
jmp 0x40f1ca
push str.Verifies_host_name_from_host_IP_or_verifies_host_IP_from_host_name.
lea ecx, [esp + 0x18]
call fcn.004020f0
mov eax, dword [esp + 0x14]
push eax
push 0x405
mov ecx, esi
call fcn.00429e75
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov dword [esi + 0x3fc], ebp
mov byte [esp + 0x30], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f20e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
jmp 0x40f4ce
push 0x45e274
lea ecx, [esp + 0x1c]
call fcn.00404bc0
push ebp
mov byte [esp + 0x34], 4
call fcn.0041e8b0
and eax, 0x3ff
add esp, 4
cmp ax, 0x12
jne 0x40f245
push 0x45f4ec
jmp 0x40f2a8
push ebp
call fcn.0041e8b0
and eax, 0x3ff
add esp, 4
cmp ax, 0x11
je 0x40f2a3
push ebp
call fcn.0041e8b0
and eax, 0x3ff
add esp, 4
cmp ax, 4
jne 0x40f274
push 0x45f4e4
jmp 0x40f2a8
push ebp
call fcn.0041e8b0
and eax, 0x3ff
add esp, 4
cmp ax, 8
je 0x40f2a3
push ebp
call fcn.0041e8b0
and eax, 0x3ff
add esp, 4
cmp ax, 0x21
jne 0x40f2a3
push str.BERHENTI
jmp 0x40f2a8
push str.STOP
lea ecx, [esp + 0x1c]
call fcn.004020f0
mov eax, dword [esp + 0x18]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x28], esp
mov edi, esp
push eax
call fcn.00401410
add eax, 0x10
add esp, 4
lea ecx, [esi + 0x358]
mov dword [edi], eax
call fcn.00415d00
lea ecx, [esp + 0x1c]
push ecx
push 0x3ec
mov ecx, esi
call fcn.004296ee
mov edx, dword [esp + 0x1c]
mov ebx, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push ebp
push ebp
push ebp
push ebp
push 0xffffffffffffffff
push edx
push ebp
push ebp
call ebx
lea edi, [eax + 1]
push edi
call fcn.0041fdb6
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x40f47f
push edi
push 0
push ebp
call fcn.0043ecd0
mov eax, dword [esp + 0x28]
add esp, 0xc
push 0
push 0
push edi
push ebp
push 0xffffffffffffffff
push eax
push 0
push 0
call ebx
push ebp
call dword [sym.imp.WS2_32.dll_inet_addr]
cmp eax, 0xffffffff
push 0
jne 0x40f3ec
call fcn.0041e8b0
and eax, 0x3ff
add esp, 4
cmp ax, 0x12
jne 0x40f362
push 0x45fc50
jmp 0x40f46d
push 0
call fcn.0041e8b0
and eax, 0x3ff
add esp, 4
cmp ax, 0x11
jne 0x40f381
push str.Inquiring_host_IP_from_specified_host_name.
jmp 0x40f46d
push 0
call fcn.0041e8b0
and eax, 0x3ff
add esp, 4
cmp ax, 4
jne 0x40f3a0
push 0x45fbd4
jmp 0x40f46d
push 0
call fcn.0041e8b0
and eax, 0x3ff
add esp, 4
cmp ax, 8
jne 0x40f3bf
push str.Inquiring_host_IP_from_specified_host_name.
jmp 0x40f46d
push 0
call fcn.0041e8b0
and eax, 0x3ff
add esp, 4
cmp ax, 0x21
lea ecx, [esp + 0x14]
jne 0x40f3e2
push str.Meminta_host_IP_dari_nama_host_yang_dipilih.
jmp 0x40f471
push str.Inquiring_host_IP_from_specified_host_name.
jmp 0x40f471
call fcn.0041e8b0
and eax, 0x3ff
add esp, 4
cmp ax, 0x12
jne 0x40f406
push 0x45fb3c
jmp 0x40f46d
push 0
call fcn.0041e8b0
and eax, 0x3ff
add esp, 4
cmp ax, 0x11
je 0x40f468
push 0
call fcn.0041e8b0
and eax, 0x3ff
add esp, 4
cmp ax, 4
jne 0x40f437
push 0x45fb18
jmp 0x40f46d
push 0
call fcn.0041e8b0
and eax, 0x3ff
add esp, 4
cmp ax, 8
je 0x40f468
push 0
call fcn.0041e8b0
and eax, 0x3ff
add esp, 4
cmp ax, 0x21
jne 0x40f468
push str.Meminta_nama_host_dari_host_IP_yang_telah_dipilih.
jmp 0x40f46d
push str.Inquiring_host_name_from_specified_host_IP.
lea ecx, [esp + 0x18]
call fcn.004020f0
push ebp
call fcn.0041fdb1
add esp, 4
mov ecx, dword [esp + 0x14]
push ecx
push 0x405
mov ecx, esi
call fcn.00429e75
push 0x45e274
push 0x427
mov ecx, esi
call fcn.00429e75
lea edx, [esi + 0x404]
push edx
push 0
push esi
push 0x40e920
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x400], eax
mov eax, dword [esp + 0x18]
mov dword [esi + 0x3fc], 1
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x30], 1
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f4ef
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x30], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f514
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x30], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f53c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret