joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001dcf0
Capabilities:
Set socket configuration

Disassembly:
push 0xffffffffffffffff
push 0x1004187b
mov eax, dword fs:[0]
push eax
push ecx
push ebp
push esi
push edi
mov eax, dword [0x100532d0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov ebp, ecx
push 0xcc
call fcn.1001e2d3
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
mov dword [esp + 0x1c], 0
test esi, esi
je 0x1001dd71
mov eax, dword [esp + 0x24]
push eax
lea edi, [esi + 4]
push ebp
mov ecx, edi
mov dword [esi], vtable.talk_base::Dispatcher.0
call fcn.1001cf20
mov dword [esi], vtable.talk_base::SocketDispatcher.2.0
mov dword [edi], vtable.talk_base::SocketDispatcher.0
mov dword [esi + 8], vtable.talk_base::SocketDispatcher.1.0
mov dword [esi + 0xc0], 0
mov byte [esi + 0xc4], 0
jmp 0x1001dd73
xor esi, esi
mov edx, dword [esi + 0xb0]
lea ecx, [esp + 0x24]
push ecx
push 0x8004667e
push edx
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0x30], 1
call dword [sym.imp.WS2_32.dll_ioctlsocket]
mov ecx, dword [esi + 0xac]
push esi
call fcn.1001c6b0
lea eax, [esi + 4]
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x10
ret 4

Function at 0x1001ddc0
Capabilities:
Set socket configuration

Disassembly:
sub esp, 0x28
mov eax, dword [0x100532d0]
xor eax, esp
mov dword [esp + 0x24], eax
push ebp
mov ebp, dword [esp + 0x30]
push esi
push edi
mov esi, ecx
mov edx, dword [esi + 0xac]
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x24]
push ecx
push edx
mov dword [esp + 0x28], 0x10
call dword [sym.imp.WS2_32.dll_accept]
mov edi, eax
mov dword [esp + 0x18], edi
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [esi + 0xb4], eax
cmp edi, 0xffffffff
jne 0x1001de23
pop edi
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.10028736
add esp, 0x28
ret 4
mov ecx, dword [esi + 0xac]
mov edi, dword [sym.imp.WS2_32.dll_setsockopt]
push 4
lea eax, [esp + 0x18]
push eax
push 4
push 0xffff
push ecx
mov dword [esp + 0x28], 1
call edi
mov eax, dword [esi + 0xac]
push 4
lea edx, [esp + 0x10]
push edx
push 8
push 0xffff
push eax
mov dword [esp + 0x20], 1
call edi
mov edx, dword [esi + 0xac]
push 4
lea ecx, [esp + 0x14]
push ecx
push 1
push 0xffff
push edx
mov dword [esp + 0x24], 1
call edi
or byte [esi + 0xb0], 0x10
test ebp, ebp
je 0x1001de9d
lea eax, [esp + 0x20]
push eax
mov ecx, ebp
call fcn.100154c0
mov ecx, dword [esp + 0x18]
push ecx
mov ecx, dword [esi + 0xa8]
call fcn.1001dcf0
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.10028736
add esp, 0x28
ret 4

Function at 0x10028736
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100532d0]
jne 0x10028740
repz ret
jmp fcn.1002d42f
Function at 0x1003a430
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.100306d1
and dword [ebp - 4], 0
cmp dword [0x10057e6c], 0
mov ebx, eax
jne 0x1003a4e1
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x1003a592
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x1003a592
push eax
call fcn.1003065f
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x10057e6c], eax
call esi
push eax
call fcn.1003065f
mov dword [esp], 0x10048d04
push edi
mov dword [0x10057e70], eax
call esi
push eax
call fcn.1003065f
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x10057e74], eax
call esi
push eax
call fcn.1003065f
pop ecx
mov dword [0x10057e7c], eax
test eax, eax
je 0x1003a4e1
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1003065f
pop ecx
mov dword [0x10057e78], eax
mov eax, dword [0x10057e78]
cmp eax, ebx
je 0x1003a539
cmp dword [0x10057e7c], ebx
je 0x1003a539
push eax
call fcn.100306da
push dword [0x10057e7c]
mov esi, eax
call fcn.100306da
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x1003a539
test edi, edi
je 0x1003a539
call esi
test eax, eax
je 0x1003a530
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1003a530
test byte [ebp - 0xc], 1
jne 0x1003a539
or dword [ebp + 0x10], 0x200000
jmp 0x1003a572
mov eax, dword [0x10057e70]
cmp eax, ebx
je 0x1003a572
push eax
call fcn.100306da
pop ecx
test eax, eax
je 0x1003a572
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x1003a572
mov eax, dword [0x10057e74]
cmp eax, ebx
je 0x1003a572
push eax
call fcn.100306da
pop ecx
test eax, eax
je 0x1003a572
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x10057e6c]
call fcn.100306da
pop ecx
test eax, eax
je 0x1003a592
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1003a594
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x403b2f
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push edi
push dword [ebp + 8]
call fcn.00403d35
push 0x5b
push eax
mov dword [ebp - 8], eax
call fcn.00407830
mov edi, eax
xor ebx, ebx
add esp, 0xc
cmp edi, ebx
je 0x403bf0
push esi
inc edi
push 0x5d
push edi
call fcn.00407830
mov esi, eax
pop ecx
pop ecx
cmp esi, ebx
je 0x403bef
mov byte [esi], bl
inc esi
push 0x3d
push esi
call fcn.00407830
pop ecx
pop ecx
cmp eax, ebx
je 0x403bef
mov byte [eax], bl
lea eax, [ebp - 4]
push eax
push 0x20006
push ebx
push edi
push dword [section..data]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x403bb4
push ebx
push str.Could_not_open_key
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x403be6
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
cmp eax, ebx
je 0x403bdd
cmp eax, 2
je 0x403bdd
push ebx
push str.Could_not_delete_value
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 8]
call fcn.00403d35
pop ecx
pop esi
pop edi
pop ebx
leave
ret

Function at 0x403d35
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x403d44
pop dword [ebp - 0x14]
mov eax, 0xfd54b3eb
sub eax, 0xfd1476a7
sub dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0x30daebd7
add dword [ebp - 0x24], 0x1d775974
mov dword [ebp - 0x20], 0xd7da2b48
sub dword [ebp - 0x20], 0xa5a6df03
mov dword [ebp - 0x1c], 0x58362bef
sub dword [ebp - 0x1c], 0xbe9e7c1
mov dword [ebp - 0x18], 0xd40c79f7
add dword [ebp - 0x18], 0x2bf38609
lea eax, [ebp - 0x24]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x14]
call dword [eax]
mov dword [ebp - 0x24], 0xc739dcc6
add dword [ebp - 0x24], 0xad388c90
mov dword [ebp - 0x20], 0xdf9f2a7e
add dword [ebp - 0x20], 0x61cd36f7
mov dword [ebp - 0x1c], 0xa6521e4e
add dword [ebp - 0x1c], 0xbd1d4e1e
mov dword [ebp - 0x18], 0x743d690e
sub dword [ebp - 0x18], 0x743d690e
lea ebx, [ebp - 0x24]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x14]
call dword [eax]
push 0x40
push 0x1000
push 0x3a9b3
push 0
call eax
mov ecx, 0x3aeb
xor edi, edi
add edi, eax
mov esi, 0x434400
add esi, dword [ebp - 0x14]
mov ebx, 0xe8974642
sub ebx, 0x6bd779ec
xor dword [ebp - 0xc], ebx
mov edx, dword [esi]
xor dword [ebp - 0xc], 0x3afa3396
sub edx, ebx
sub dword [ebp - 0x10], 0xd33f083
mov dword [edi], edx
sub dword [ebp - 0xc], eax
add edi, 0xf658ee36
sub edi, 0xf658ee32
add esi, 4
loop 0x403e52
add eax, 0x43084eef
add eax, 0xbcf88f90
mov ebx, eax
add eax, 0xefd35420
add eax, 0x102cabe5
mov ecx, 0x400000
add ecx, dword [ebp - 0x14]
call ebx
leave
ret

Function at 0x407e15
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42e180]
jne 0x407e1f
repz ret
jmp fcn.0040bc0c
Function at 0x1001bd34
Capabilities:
Log keystrokes

Disassembly:
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_MapVirtualKeyW]
xor ebx, ebx
push edi
mov edi, ecx
push 5
pop eax
push ebx
mov dword [edi], eax
mov dword [edi + 4], eax
mov word [edi + 8], 1
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
mov dword [edi + 0x18], ebx
mov dword [edi + 0x1c], ebx
push 0x5b
mov dword [edi + 0xc], 4
call esi
push ebx
push 0x10
mov byte [edi + 0x29], al
call esi
push ebx
push 0xa0
mov byte [edi + 0x26], al
call esi
push ebx
push 0xa1
mov byte [edi + 0x27], al
call esi
push ebx
push 0x11
mov byte [edi + 0x28], al
call esi
push ebx
push 0x12
mov byte [edi + 0x24], al
call esi
mov byte [edi + 0x25], al
pop edi
pop esi
pop ebx
ret

Function at 0x1001c671
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x1001c680
pop dword [ebp - 8]
mov eax, 0xb034357c
sub eax, 0xa0326efc
sub dword [ebp - 8], eax
mov dword [ebp - 0x18], 0x9b771070
add dword [ebp - 0x18], 0xb2db34db
mov dword [ebp - 0x14], 0x8e118933
add dword [ebp - 0x14], 0xa421c312
mov dword [ebp - 0x10], 0x6685a265
sub dword [ebp - 0x10], 0x1a395e37
mov dword [ebp - 0xc], 0xf4a6ca73
add dword [ebp - 0xc], 0xb59358d
lea eax, [ebp - 0x18]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 8]
call dword [eax]
mov dword [ebp - 0x18], 0x4152cf2b
sub dword [ebp - 0x18], 0xcce065d5
mov dword [ebp - 0x14], 0x3c32283d
add dword [ebp - 0x14], 0x53a3938
mov dword [ebp - 0x10], 0x59427e4e
sub dword [ebp - 0x10], 0xf5d311e2
mov dword [ebp - 0xc], 0x641e862
sub dword [ebp - 0xc], 0x641e862
lea ebx, [ebp - 0x18]
push ebx
push eax
mov eax, 0xaef584ec
sub eax, 0x9ef13434
add eax, dword [ebp - 8]
call dword [eax]
push 0x40
push 0x1000
push 0x4a076
push 0
call eax
mov ecx, 0xb5274674
sub ecx, 0xb526ffd7
mov esi, eax
mov edi, 0x10075000
add edi, dword [ebp - 8]
mov edx, 0xe3c0a16e
sub edx, 0x4fe41dba
mov dword [ebp - 4], 0xcb555852
mov ebx, dword [edi]
sub dword [ebp - 4], 0xd7e7a546
xor ebx, edx
mov dword [esi], ebx
sub dword [ebp - 4], eax
add esi, 0x2f5a58f9
sub esi, 0x2f5a58f5
add edi, 0x4b549a25
sub edi, 0x4b549a21
loop 0x1001c797
add eax, 0x4a147257
add eax, 0xb5ec9af0
mov ebx, eax
add eax, 0x87eb80dd
add eax, 0x78147f28
mov ecx, 0x10000000
add ecx, dword [ebp - 8]
call ebx
leave
ret
Function at 0x401000
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1070
call fcn.00554810
mov eax, dword [0x6aab00]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0x663e7c
push eax
mov esi, ecx
mov ebx, edx
call fcn.0054cf8f
mov edi, eax
add esp, 8
test edi, edi
jne 0x401048
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0054cec4
mov esp, ebp
pop ebp
ret
push 0x663e80
push esi
call fcn.0054cf8f
add esp, 8
mov dword [ebp - 0x1068], eax
test eax, eax
je 0x401035
push 0x3e8
call fcn.0054cfee
mov esi, eax
add esp, 4
test esi, esi
je 0x401035
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401078
xor ecx, ecx
mov dword [ebp - 0x1070], ecx
mov dword [ebp - 0x106c], ecx
lea ecx, [ebp - 0x1070]
push ecx
sub eax, edx
push eax
push ebx
lea ecx, [ebp - 0x1064]
call fcn.00607450
push edi
push 0x3e8
push 1
push esi
call fcn.0054d2cc
push edi
mov ebx, eax
call fcn.0054d311
add esp, 0x14
test eax, eax
jne 0x401035
push eax
push 0x3e8
push esi
lea ecx, [ebp - 0x1064]
call fcn.00606ed0
mov edx, dword [ebp - 0x1068]
push edx
push ebx
push 1
push esi
call fcn.0054d490
mov ebx, dword [ebp - 0x1068]
push ebx
call fcn.0054d311
add esp, 0x14
test eax, eax
jne 0x401035
push edi
call fcn.0054d2e9
add esp, 4
test eax, eax
je 0x4010a3
push edi
call fcn.0054d577
push ebx
call fcn.0054d577
push esi
call fcn.0054d5eb
mov ecx, dword [ebp - 8]
add esp, 0xc
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.0054cec4
mov esp, ebp
pop ebp
ret

Function at 0x401490
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4014ab
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4014e2
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
add eax, esi
and ecx, 0xf
jbe 0x4014de
jmp 0x4014d0
cmp esi, eax
jae 0x4014e2
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x4014d0
cmp esi, eax
jb 0x4014e9
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x403430
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6216f8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x6aab00]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x44], ebx
je 0x403551
cmp byte [edi + 0x49], bl
je 0x403551
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
call edx
cmp eax, 0xffffffff
je 0x403545
mov ecx, 0xf
xor eax, eax
mov byte [ebp - 0x2c], bl
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], 8
cmp ecx, 0x10
jae 0x4034a5
lea eax, [ebp - 0x2c]
mov byte [eax + 8], bl
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x18]
mov edx, eax
cmp ebx, 0x10
jae 0x4034bd
lea edx, [ebp - 0x2c]
mov eax, edx
add edx, dword [ebp - 0x1c]
mov ecx, dword [edi + 0x44]
mov esi, dword [ecx]
lea ebx, [ebp - 0x30]
push ebx
push edx
push eax
lea eax, [edi + 0x4c]
push eax
mov eax, dword [esi + 0x18]
call eax
sub eax, 0
je 0x4034e6
dec eax
je 0x4034ea
sub eax, 2
lea ecx, [ebp - 0x2c]
jne 0x403540
jmp 0x40354c
mov byte [edi + 0x49], 0
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov ecx, eax
cmp ebx, 0x10
jae 0x4034fa
lea ecx, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, ecx
je 0x403523
cmp ebx, 0x10
jae 0x403509
lea eax, [ebp - 0x2c]
mov ecx, dword [edi + 0x54]
push ecx
push esi
push 1
push eax
call fcn.0054d490
add esp, 0x10
cmp esi, eax
jne 0x40353d
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp byte [edi + 0x49], 0
je 0x403549
test esi, esi
jne 0x4034b1
push esi
push 8
lea ecx, [ebp - 0x2c]
call fcn.004039a0
jmp 0x4034ab
lea ecx, [ebp - 0x2c]
call fcn.005f35d0
xor al, al
jmp 0x403553
lea ecx, [ebp - 0x2c]
call fcn.005f35d0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0054cec4
mov esp, ebp
pop ebp
ret

Function at 0x4046d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1008
call fcn.00554810
mov eax, dword [0x6aab00]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, 1
mov dword [ebp - 0x1008], 0
test byte [0x6babac], al
jne 0x404735
or dword [0x6babac], eax
call fcn.0044ce39
test eax, eax
jne 0x404717
push 0x80004005
call fcn.00401b80
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
push 0x62a640
mov dword [0x6baba8], eax
call fcn.0054d902
add esp, 4
mov ecx, dword [0x6baba8]
push 0x663ea8
push ecx
call fcn.0054da9f
add esp, 8
test eax, eax
jne 0x404783
lea edx, [ebp - 0x1004]
push edx
push 0x1000
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x1004]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x404768
sub eax, edx
push eax
lea eax, [ebp - 0x1004]
push eax
mov ecx, 0x6baba8
call fcn.00401a60
mov eax, dword [0x6baba8]
add eax, 0xfffffff0
push eax
call fcn.00401780
mov ecx, dword [ebp - 4]
add eax, 0x10
mov dword [esi], eax
xor ecx, ebp
add esp, 4
mov eax, esi
call fcn.0054cec4
mov esp, ebp
pop ebp
ret
Function at 0x4047b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1008
call fcn.00554810
mov eax, dword [0x6aab00]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, 1
mov dword [ebp - 0x1008], 0
test byte [0x6baba4], al
jne 0x404815
or dword [0x6baba4], eax
call fcn.0044ce39
test eax, eax
jne 0x4047f7
push 0x80004005
call fcn.00401b80
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
push 0x62a670
mov dword [0x6baba0], eax
call fcn.0054d902
add esp, 4
mov ecx, dword [0x6baba0]
push 0x663ea8
push ecx
call fcn.0054da9f
add esp, 8
test eax, eax
jne 0x40487d
push edi
push 0x1000
lea edx, [ebp - 0x1004]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea edi, [ebp - 0x1004]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x404847
mov ax, word [0x6642b4]
mov word [edi], ax
lea eax, [ebp - 0x1004]
lea edx, [eax + 1]
pop edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x404862
sub eax, edx
push eax
lea ecx, [ebp - 0x1004]
push ecx
mov ecx, 0x6baba0
call fcn.00401a60
mov eax, dword [0x6baba0]
add eax, 0xfffffff0
push eax
call fcn.00401780
mov ecx, dword [ebp - 4]
add eax, 0x10
mov dword [esi], eax
xor ecx, ebp
add esp, 4
mov eax, esi
call fcn.0054cec4
mov esp, ebp
pop ebp
ret

Function at 0x4048b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1008
call fcn.00554810
mov eax, dword [0x6aab00]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, 1
mov dword [ebp - 0x1008], 0
test byte [0x6bab9c], al
jne 0x404915
or dword [0x6bab9c], eax
call fcn.0044ce39
test eax, eax
jne 0x4048f7
push 0x80004005
call fcn.00401b80
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
push 0x62a6a0
mov dword [0x6bab98], eax
call fcn.0054d902
add esp, 4
mov ecx, dword [0x6bab98]
push 0x663ea8
push ecx
call fcn.0054da9f
add esp, 8
test eax, eax
jne 0x40497d
push edi
push 0x1000
lea edx, [ebp - 0x1004]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea edi, [ebp - 0x1004]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x404947
mov ax, word [0x6642b4]
mov word [edi], ax
lea eax, [ebp - 0x1004]
lea edx, [eax + 1]
pop edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x404962
sub eax, edx
push eax
lea ecx, [ebp - 0x1004]
push ecx
mov ecx, 0x6bab98
call fcn.00401a60
mov eax, dword [0x6bab98]
add eax, 0xfffffff0
push eax
call fcn.00401780
mov ecx, dword [ebp - 4]
add eax, 0x10
mov dword [esi], eax
xor ecx, ebp
add esp, 4
mov eax, esi
call fcn.0054cec4
mov esp, ebp
pop ebp
ret
Function at 0x4049b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1008
call fcn.00554810
mov eax, dword [0x6aab00]
xor eax, ebp
mov dword [ebp - 4], eax
test byte [0x6bab94], 1
mov dword [ebp - 0x1008], 0
jne 0x404a12
or dword [0x6bab94], 1
call fcn.0044ce39
test eax, eax
jne 0x4049f4
push 0x80004005
call fcn.00401b80
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
push 0x62a6d0
mov dword [0x6bab90], eax
call fcn.0054d902
add esp, 4
mov ecx, dword [0x6bab90]
push 0x663ea8
push ecx
call fcn.0054da9f
add esp, 8
test eax, eax
jne 0x404a7b
push edi
push 1
push 0x1a
lea edx, [ebp - 0x1004]
push edx
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea edi, [ebp - 0x1004]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x404a44
mov ax, word [0x6642b4]
mov word [edi], ax
lea eax, [ebp - 0x1004]
lea edx, [eax + 1]
pop edi
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x404a60
sub eax, edx
push eax
lea ecx, [ebp - 0x1004]
push ecx
mov ecx, 0x6bab90
call fcn.00401a60
mov eax, dword [0x6bab90]
add eax, 0xfffffff0
push eax
call fcn.00401780
mov ecx, dword [ebp - 4]
add eax, 0x10
mov dword [esi], eax
xor ecx, ebp
add esp, 4
mov eax, esi
call fcn.0054cec4
mov esp, ebp
pop ebp
ret

Function at 0x404fa0
Capabilities:
Create process on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push esi
push 0x38
xor esi, esi
lea eax, [ebp - 0x3c]
push esi
push eax
call fcn.00551e50
add esp, 0xc
lea ecx, [ebp - 0x40]
push ecx
mov dword [ebp - 0x40], 0x3c
mov dword [ebp - 0x3c], 0x40
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], str.ping.exe
mov dword [ebp - 0x2c], str.www.baidu.com__n_2
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
mov eax, dword [ebp - 8]
cmp eax, esi
je 0x405012
push 0x2710
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x40501c
mov edx, dword [ebp - 8]
push esi
push edx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 8]
lea eax, [ebp - 4]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x405120
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x623d90
mov eax, dword fs:[0]
push eax
sub esp, 0x354
mov eax, dword [0x6aab00]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov edi, dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
push 0
push 2
call edi
mov esi, eax
lea eax, [ebp - 0x360]
push eax
mov ebx, 0x128
push esi
mov dword [ebp - 0x360], ebx
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x405232
lea ecx, [ebp - 0x360]
push ecx
push esi
mov dword [ebp - 0x360], ebx
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
je 0x40522b
mov ebx, dword [sym.imp.KERNEL32.dll_Module32First]
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x33c]
push edx
push eax
call fcn.0054ebe9
add esp, 8
test eax, eax
jne 0x4051f3
mov ecx, dword [ebp - 0x358]
push ecx
push 8
call edi
lea edx, [ebp - 0x238]
push edx
push eax
mov dword [ebp - 0x238], 0x224
call ebx
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x118]
push eax
push ecx
call fcn.0054ebe9
add esp, 8
test eax, eax
je 0x405211
lea edx, [ebp - 0x360]
push edx
push esi
mov dword [ebp - 0x360], 0x128
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x4051a6
jmp 0x40522b
mov eax, dword [ebp - 0x358]
push 4
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 0
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405255
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40527b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0054cec4
mov esp, ebp
pop ebp
ret