Function at 0x40d590
Capabilities:
Create thread
Terminate thread

Disassembly:
push 0xffffffffffffffff
push 0x459708
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x47617c]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
push edi
mov eax, dword [0x47617c]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
mov esi, ecx
call fcn.004218cc
xor ecx, ecx
xor ebx, ebx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x40d5df
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 + 0x10], eax
mov dword [esp + 0x4c], ebx
call fcn.004218cc
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x40d60d
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 + 0x1c], eax
mov byte [esp + 0x4c], 1
call fcn.004218cc
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x40d63c
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 + 0x18], eax
cmp dword [esi + 0x244], ebx
mov byte [esp + 0x4c], 2
je 0x40d824
mov ecx, dword [esi + 0x248]
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [0x477650]
cmp ecx, ebx
je 0x40d68b
mov edi, ecx
call fcn.00407c60
push edi
call fcn.0041fdb1
add esp, 4
mov dword [0x477650], ebx
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], ebx
mov word [esp + 0x28], bx
push ebx
mov byte [esp + 0x50], 3
call fcn.0041e8b0
and eax, 0x3ff
add esp, 4
cmp ax, 0x12
jne 0x40d6c7
push 2
push 0x45ee3c
lea ecx, [esp + 0x2c]
call fcn.00403b50
jmp 0x40d745
push ebx
call fcn.0041e8b0
and eax, 0x3ff
add esp, 4
cmp ax, 0x11
jne 0x40d6ed
push 5
push str.START
lea ecx, [esp + 0x2c]
call fcn.00403b50
jmp 0x40d745
push ebx
call fcn.0041e8b0
and eax, 0x3ff
add esp, 4
cmp ax, 4
jne 0x40d708
push 0x45ee28
jmp 0x40d73c
push ebx
call fcn.0041e8b0
and eax, 0x3ff
add esp, 4
cmp ax, 8
je 0x40d737
push ebx
call fcn.0041e8b0
and eax, 0x3ff
add esp, 4
cmp ax, 0x21
jne 0x40d737
push 0x45ee1c
jmp 0x40d73c
push str.START
lea ecx, [esp + 0x28]
call fcn.00404b90
cmp dword [esp + 0x3c], 8
mov eax, dword [esp + 0x28]
jae 0x40d754
lea eax, [esp + 0x28]
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.00404bc0
lea ecx, [esi + 0x74]
call fcn.00415d00
push ebx
call fcn.0041e8b0
and eax, 0x3ff
add esp, 4
cmp ax, 0x12
jne 0x40d784
push str.IP______DNS_____.
jmp 0x40d7e7
push ebx
call fcn.0041e8b0
and eax, 0x3ff
add esp, 4
cmp ax, 0x11
je 0x40d7e2
push ebx
call fcn.0041e8b0
and eax, 0x3ff
add esp, 4
cmp ax, 4
jne 0x40d7b3
push 0x45f038
jmp 0x40d7e7
push ebx
call fcn.0041e8b0
and eax, 0x3ff
add esp, 4
cmp ax, 8
je 0x40d7e2
push ebx
call fcn.0041e8b0
and eax, 0x3ff
add esp, 4
cmp ax, 0x21
jne 0x40d7e2
push str.Menerima_informasi_yang_tersimpan_dengan_meminta_alamat_IP_atau_nama_domain_ke_DNS_yang_ditentukan.
jmp 0x40d7e7
push str.Retrieves_stored_information_by_inquiring_IP_address_or_domain_name_to_specified_DNS.
lea ecx, [esp + 0x14]
call fcn.004020f0
mov edi, dword [esp + 0x10]
push edi
push 0x405
mov ecx, esi
call fcn.00429e75
cmp dword [esp + 0x3c], 8
mov dword [esi + 0x244], ebx
jb 0x40da1b
mov edx, dword [esp + 0x28]
push edx
call fcn.0041fdb1
add esp, 4
jmp 0x40da1b
push 0x45e274
lea ecx, [esp + 0x18]
mov dword [esi + 0x250], ebx
mov dword [esi + 0x254], ebx
mov dword [esi + 0x258], ebx
mov dword [esi + 0x25c], ebx
call fcn.00404bc0
push ebx
mov byte [esp + 0x50], 4
call fcn.0041e8b0
and eax, 0x3ff
add esp, 4
cmp ax, 0x12
jne 0x40d86a
push 0x45f4ec
jmp 0x40d8cd
push ebx
call fcn.0041e8b0
and eax, 0x3ff
add esp, 4
cmp ax, 0x11
je 0x40d8c8
push ebx
call fcn.0041e8b0
and eax, 0x3ff
add esp, 4
cmp ax, 4
jne 0x40d899
push 0x45f4e4
jmp 0x40d8cd
push ebx
call fcn.0041e8b0
and eax, 0x3ff
add esp, 4
cmp ax, 8
je 0x40d8c8
push ebx
call fcn.0041e8b0
and eax, 0x3ff
add esp, 4
cmp ax, 0x21
jne 0x40d8c8
push str.BERHENTI
jmp 0x40d8cd
push str.STOP
lea ecx, [esp + 0x18]
call fcn.004020f0
mov eax, dword [esp + 0x14]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x24], esp
mov edi, esp
push eax
call fcn.00401410
add eax, 0x10
add esp, 4
lea ecx, [esi + 0x74]
mov dword [edi], eax
call fcn.00415d00
lea eax, [esp + 0x1c]
push eax
push 0x3ec
mov ecx, esi
call fcn.004296ee
lea ecx, [esp + 0x18]
push ecx
push 0x3ed
mov ecx, esi
call fcn.004296ee
push ebx
call fcn.0041e8b0
and eax, 0x3ff
add esp, 4
cmp ax, 0x12
jne 0x40d937
push str.DNS__s____s__.
jmp 0x40d99a
push ebx
call fcn.0041e8b0
and eax, 0x3ff
add esp, 4
cmp ax, 0x11
je 0x40d995
push ebx
call fcn.0041e8b0
and eax, 0x3ff
add esp, 4
cmp ax, 4
jne 0x40d966
push 0x45f454
jmp 0x40d99a
push ebx
call fcn.0041e8b0
and eax, 0x3ff
add esp, 4
cmp ax, 8
je 0x40d995
push ebx
call fcn.0041e8b0
and eax, 0x3ff
add esp, 4
cmp ax, 0x21
jne 0x40d995
push str.Meminta__s_informasi_dari_DNS_pada_host__s_yang_dipilih.
jmp 0x40d99a
push str.Inquiring_to_DNS__s_of_information_on_specified_host__s.
lea ecx, [esp + 0x14]
call fcn.004020f0
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
push edx
push eax
lea ecx, [esp + 0x1c]
push edi
push ecx
call fcn.00403a10
mov edx, dword [esp + 0x24]
add esp, 0x10
push edx
push 0x405
mov ecx, esi
call fcn.00429e75
lea eax, [esi + 0x24c]
push eax
push ebx
push esi
push 0x40d250
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x248], eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esi + 0x244], 1
mov byte [esp + 0x4c], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40da1b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x4c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40da40
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 + 0x4c], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40da64
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov dword [esp + 0x4c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40da88
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.0043e577
add esp, 0x40
ret