joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4679a0
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x10c
push ebp
mov ebp, dword [esp + 0x114]
push esi
xor esi, esi
push edi
cmp ebp, esi
mov edi, ecx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], 1
jne 0x4679d2
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x10c
ret 4
push esi
mov ecx, edi
call fcn.00467730
test eax, eax
jne 0x4679ef
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0x10c
ret 4
lea eax, [esp + 0xc]
push eax
push str.SYSTEMCurrentControlSetServicesWinSock2ParametersProtocol_Catalog9Catalog_Entries
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x467a16
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x10c
ret 4
mov edx, dword [esp + 0xc]
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
lea ecx, [esp + 0x18]
push 0x104
push ecx
push esi
push edx
call ebx
test eax, eax
jne 0x467a64
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x18]
push ebp
push eax
push ecx
mov ecx, edi
call fcn.00467440
test eax, eax
jne 0x467a4d
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x18]
inc esi
push 0x104
push edx
push esi
push eax
call ebx
test eax, eax
je 0x467a33
push 0
push str.SYSTEMCurrentControlSetServicesWinSock2ESPI11
push 0x80000002
mov ecx, edi
call fcn.00467210
mov eax, dword [esp + 0x10]
pop ebx
test eax, eax
je 0x467a87
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
add esp, 0x10c
ret 4

Function at 0x46bdd0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x46be36
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x46be36
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x46be17
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x46c1c0
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x46c1f8
mov edx, dword [esi + 4]
xor eax, eax
push 0
push 0
mov ecx, dword [edx - 8]
test ecx, ecx
setne al
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, edx
neg eax
sbb eax, eax
push ecx
and eax, 2
inc eax
push eax
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.0_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi], eax
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
setne al
pop esi
ret
Function at 0x46ced0
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x46cf19
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x46d390
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48ff20
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.0046cf40
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.0046cfc0
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.0046cfc0
lea ecx, [esi + 0xc]
call fcn.00480eae
lea ecx, [esi + 0x10]
call fcn.00480eae
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.0046e550
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.0046e550
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.0046e550
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.00480f23
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.00480f23
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4832ca
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x483302
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.0048137e
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00481356
jmp 0x48330e
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4849b8
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 0x4849fa
call fcn.0048a77a
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4849fa
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4849f1
xor eax, eax
jmp 0x484a02
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00484a08
pop edi
pop esi
pop ebx
ret 4

Function at 0x48acaa
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]
cmp dword [esp + 0x10], 0
jne 0x48acd8
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x48acf6
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0048ac10
jmp 0x48acf6
mov eax, dword [esi + 0x14]
test eax, eax
je 0x48acf6
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0048ac10
test edi, edi
mov eax, edi
jne 0x48ace0
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x405e40
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x41da8c], 0
jne 0x40611a
push esi
push str.0:db0:lk0:hs0:ld0:ll0:hb0:pj52.8_.3202:zb0.1:bb
mov byte [0x41da8c], 1
call fcn.0040773f
push 0x12a0
push 0
push 0x41c7d8
call fcn.0040c840
push 0
push 0x41c7f6
push 0x4175ec
call fcn.00405d70
push 0
push 0x41c9f4
push 0x4175f4
call fcn.00405d70
push 0x41ca30
push 0
push 0x4175fc
call fcn.00405d70
push 0
push 0x41ca34
push 0x417604
call fcn.00405d70
add esp, 0x40
push 0
push 0x41cc32
push 0x41760c
call fcn.00405d70
push 0x41cc70
push 0
push 0x417614
call fcn.00405d70
push 0
push 0x41cc74
push 0x41761c
call fcn.00405d70
push 0
push 0x41ce72
push 0x417624
call fcn.00405d70
push 0x41ceb0
push 0
push 0x41762c
call fcn.00405d70
push 0
push 0x41ceb4
push 0x417634
call fcn.00405d70
add esp, 0x48
push 0
push 0x41cef0
push 0x41763c
call fcn.00405d70
push 0
push 0x41cf2c
push 0x417644
call fcn.00405d70
push 0
push 0x41cf90
push 0x41764c
call fcn.00405d70
push 0
push 0x41cff4
push 0x417654
call fcn.00405d70
push 0x41d058
push 0
push 0x41765c
call fcn.00405d70
push 0x41d05c
push 0
push 0x417664
call fcn.00405d70
add esp, 0x48
push 0x41d060
push 0
push 0x41766c
call fcn.00405d70
push 0x41d064
push 0
push 0x417674
call fcn.00405d70
push 0x41d068
push 0
push 0x41767c
call fcn.00405d70
push 0x41d06c
push 0
push 0x417684
call fcn.00405d70
push 0x41d070
push 0
push 0x41768c
call fcn.00405d70
push 0x41d074
push 0
push 0x417694
call fcn.00405d70
add esp, 0x48
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push str.Console
push connect
mov dword [ebp - 8], 3
mov dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x406042
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 4]
push ecx
push 0
lea edx, [ebp - 8]
push edx
push 0
push str.IpDate
push eax
call esi
cmp dword [ebp - 4], 0xa
jbe 0x406119
push 0x7d0
push 0
push str.0:db0:lk0:hs0:ld0:ll0:hb0:pj52.8_.3202:zb0.1:bb
call fcn.0040c840
mov eax, dword [ebp - 0xc]
add esp, 0xc
lea ecx, [ebp - 4]
push ecx
push str.0:db0:lk0:hs0:ld0:ll0:hb0:pj52.8_.3202:zb0.1:bb
lea edx, [ebp - 8]
push edx
push 0
push str.IpDate
push eax
call esi
push 0
push 0x41c7f6
push 0x4175ec
call fcn.00405d70
push 0
push 0x41c9f4
push 0x4175f4
call fcn.00405d70
push 0x41ca30
push 0
push 0x4175fc
call fcn.00405d70
push 0
push 0x41ca34
push 0x417604
call fcn.00405d70
push 0
push 0x41cc32
push 0x41760c
call fcn.00405d70
push 0x41cc70
push 0
push 0x417614
call fcn.00405d70
add esp, 0x48
push 0
push 0x41cc74
push 0x41761c
call fcn.00405d70
push 0
push 0x41ce72
push 0x417624
call fcn.00405d70
push 0x41ceb0
push 0
push 0x41762c
call fcn.00405d70
add esp, 0x24
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x487ca8
Capabilities:
Get graphical window text

Disassembly:
push ebx
add esp, 0xfffffc14
mov ebx, edx
mov edx, esp
push edx
push 0x3e8
push 0xd
push eax
call sub.user32.dll_SendMessageA
mov edx, ebx
mov eax, esp
call fcn.00409840
add esp, 0x3ec
pop ebx
ret

Function at 0x489088
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov esi, edx
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, eax
mov eax, dword [ebx + 0xec]
mov eax, dword [eax + 0x34]
call fcn.0046bf90
mov edi, eax
dec edi
test edi, edi
jl 0x48913b
inc edi
xor esi, esi
mov eax, dword [ebx + 0xec]
mov eax, dword [eax + 0x34]
mov edx, esi
call fcn.0046bfa0
mov eax, dword [eax + 0xc]
sub eax, 1
jb 0x4890d2
je 0x4890f3
dec eax
je 0x489114
jmp 0x489133
mov eax, dword [ebx + 0xec]
mov eax, dword [eax + 0x34]
mov edx, esi
call fcn.0046bfa0
cmp byte [ebx + 0x15c], 0
setne dl
call fcn.0046bebc
jmp 0x489133
mov eax, dword [ebx + 0xec]
mov eax, dword [eax + 0x34]
mov edx, esi
call fcn.0046bfa0
cmp byte [ebx + 0x15c], 1
setne dl
call fcn.0046bebc
jmp 0x489133
mov eax, dword [ebx + 0xec]
mov eax, dword [eax + 0x34]
mov edx, esi
call fcn.0046bfa0
cmp byte [ebx + 0x15c], 2
setne dl
call fcn.0046bebc
inc esi
dec edi
jne 0x4890b3
call sub.KERNEL32.DLL_GetTickCount
sub eax, dword [ebx + 0x88]
xor edx, edx
push edx
push eax
mov eax, dword [ebx + 0x8c]
cdq
cmp edx, dword [esp + 4]
jne 0x489160
cmp eax, dword [esp]
pop edx
pop eax
jae 0x4891c1
jmp 0x489164
pop edx
pop eax
jge 0x4891c1
mov esi, 2
call sub.KERNEL32.DLL_GetTickCount
mov dword [ebx + 0x88], eax
mov eax, dword [ebx + 0x130]
test byte [eax + 0x50], 2
je 0x48919d
cmp byte [ebx + 0x159], 2
je 0x48919d
mov ecx, dword [esp + 4]
mov edx, dword [esp]
mov eax, dword [ebx + 0xec]
mov ebx, dword [eax]
call dword [ebx + 0x40]
jmp 0x4891dd
push 0
mov eax, dword [ebx + 0x124]
push eax
push 0
mov eax, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x10]
push eax
push esi
mov eax, dword [ebx + 0xfc]
push eax
call sub.user32.dll_TrackPopupMenu
jmp 0x4891dd
xor edx, edx
mov eax, dword [ebx + 0x58]
call fcn.004331d4
push 0
push 0
push 0x10
mov eax, dword [ebx + 0x124]
push eax
call sub.user32.dll_PostMessageA
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x49a914
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x49aa5e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0x88], 1
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 0x10
jne 0x49aa43
lea eax, [ebp - 0x10d]
push eax
push pe_nt_image_headers32
call sub.KERNEL32.DLL_GetTempPathA
lea edx, [ebp - 8]
lea eax, [ebp - 0x10d]
call fcn.00409840
mov dl, 1
mov eax, dword [0x4813b8]
call fcn.00481410
mov edx, dword [ebp - 4]
mov dword [edx + 0x80], eax
mov dl, 1
mov eax, dword [0x417b84]
call fcn.004037e8
mov edx, dword [ebp - 4]
mov dword [edx + 0x40], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x84]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x80]
call fcn.0048148c
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x49aa40
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x40]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x80]
mov edx, 0x49aa74
call fcn.004817d8
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.004048f0
xor eax, eax
push ebp
push 0x49aa39
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
mov edx, dword [ebp - 0xc]
call fcn.0041c688
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0049aa7c
mov eax, dword [ebp - 0xc]
call fcn.0040930c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49aa40
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x80]
call fcn.00403818
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
call fcn.00403818
ret
mov bl, byte [ebp - 0xd]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49aa65
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00404608
ret

Function at 0x49d2f8
Capabilities:
Check os version

Disassembly:
push ebx
add esp, 0xffffff6c
xor ebx, ebx
mov dword [esp], 0x94
push esp
call sub.KERNEL32.DLL_GetVersionExA
cmp dword [esp + 0x10], 2
jne 0x49d31e
cmp dword [esp + 4], 5
jb 0x49d31e
mov bl, 1
mov eax, ebx
add esp, 0x94
pop ebx
ret
Function at 0x49f7e8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffedc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x120], ebx
mov dword [ebp - 0x124], ebx
mov dword [ebp - 0x118], ebx
mov dword [ebp - 0x11c], ebx
mov dword [ebp - 0x114], ebx
mov dword [ebp - 8], ebx
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404a94
xor eax, eax
push ebp
push 0x49f981
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xff
lea eax, [ebp - 0x110]
push eax
call sub.KERNEL32.DLL_GetWindowsDirectoryA
lea edx, [ebp - 0x114]
lea eax, [ebp - 0x110]
call fcn.00409840
push dword [ebp - 0x114]
push 0x49f998
push dword [ebp - 4]
lea eax, [ebp - 8]
mov edx, 3
call fcn.00404964
mov dl, 1
mov eax, dword [0x417894]
call fcn.004037e8
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x436300]
call fcn.004363b0
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x49f94f
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x49f9a8
lea eax, [ebp - 0x11c]
push eax
mov ecx, 0x49f9c0
mov edx, 0x49f9d4
mov eax, dword [ebp - 0xc]
mov edi, dword [eax]
call dword [edi]
mov ecx, dword [ebp - 0x11c]
lea eax, [ebp - 0x118]
mov edx, 0x49f9e4
call fcn.004048f0
mov edx, dword [ebp - 0x118]
mov eax, ebx
call fcn.00459bec
mov ecx, dword [ebp - 0x10]
mov edx, 0x49f9fc
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0x40]
push 0x49fa18
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x14]
inc eax
lea edx, [ebp - 0x124]
call fcn.00408bec
push dword [ebp - 0x124]
push 0x49fa30
lea eax, [ebp - 0x120]
mov edx, 3
call fcn.00404964
mov edx, dword [ebp - 0x120]
mov eax, esi
call fcn.00459bec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49f956
mov eax, dword [ebp - 0xc]
call fcn.00403818
mov eax, dword [ebp - 0x10]
call fcn.00403818
ret
Function at 0x4a07a0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
xor ecx, ecx
mov dword [ebp - 0x10c], ecx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404a94
xor eax, eax
push ebp
push 0x4a084a
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xff
lea eax, [ebp - 0x108]
push eax
call sub.KERNEL32.DLL_GetWindowsDirectoryA
push 0
lea eax, [ebp - 8]
push eax
mov ecx, 0x4a0860
mov edx, dword [ebp - 4]
mov eax, 0x80000002
call fcn.0049e590
lea edx, [ebp - 0x10c]
lea eax, [ebp - 0x108]
call fcn.00409840
push dword [ebp - 0x10c]
push 0x4a0870
push dword [ebp - 8]
mov eax, ebx
mov edx, 3
call fcn.00404964
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a0851
lea eax, [ebp - 0x10c]
call fcn.004045e4
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404608
ret

Function at 0x4a0878
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
xor ecx, ecx
mov dword [ebp - 0x10c], ecx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404a94
xor eax, eax
push ebp
push 0x4a0922
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xff
lea eax, [ebp - 0x108]
push eax
call sub.KERNEL32.DLL_GetWindowsDirectoryA
push 0
lea eax, [ebp - 8]
push eax
mov ecx, 0x4a0938
mov edx, dword [ebp - 4]
mov eax, 0x80000002
call fcn.0049e590
lea edx, [ebp - 0x10c]
lea eax, [ebp - 0x108]
call fcn.00409840
push dword [ebp - 0x10c]
push 0x4a0948
push dword [ebp - 8]
mov eax, ebx
mov edx, 3
call fcn.00404964
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a0929
lea eax, [ebp - 0x10c]
call fcn.004045e4
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404608
ret
Function at 0x4a1d68
Capabilities:
Create process on windows

Disassembly:
push ebx
mov ebx, eax
push 1
push 0
push 0
mov eax, dword [0x4a441c]
call fcn.00404aa4
push eax
push 0
mov eax, ebx
call fcn.00460578
push eax
call sub.shell32.dll_ShellExecuteA
pop ebx
ret
Function at 0x40b540
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0x80000301
push 0
push 1
push 1
mov ebx, 0x427cd0
call fcn.004247de
add esp, 0x10
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
push 0xd
call fcn.0040b5c5
and eax, 1
xor eax, 1
test eax, eax
jne 0x40b549
push 0
push 1
push 0xffffffffffffffff
push 8
push 0x1601232c
push 0x52010001
call fcn.004247ea
add esp, 0x18
push 0
push 0xa
push 0xffffffffffffffff
push 8
push 0x1601232a
push 0x52010001
call fcn.004247ea
add esp, 0x18
mov esp, ebp
pop ebp
ret
Function at 0x41b008
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0x11
push 0xfffffffffffffffe
mov eax, 0xc7
mov edx, esp
int 0x2e
mov eax, 0xe5
mov edx, esp
int 0x2e
mov eax, 0xee
mov edx, esp
int 0x2e
mov eax, 0x136
mov edx, esp
int 0x2e
add esp, 0x10
mov esp, ebp
pop ebp
ret

Function at 0x41b05b
Capabilities:
Check for trap flag exception

Disassembly:
push dword fs:[0]
mov dword fs:[0], esp
pushfd
or dword [esp], 0x100
popfd
clc
call fcn.0041b080
Function at 0x432c10
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4b171b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.004a5aaa
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x432c92
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004a34c3
mov eax, dword [eax]
push 0x610240
push eax
call fcn.00495724
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004a5d35
test bl, bl
je 0x432c92
push 0x610240
lea ecx, [esp + 0xc]
call fcn.004a60c5
push 0x613dbc
lea ecx, [esp + 0xc]
call fcn.004a60c5
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x432cce
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004a5d35
jmp 0x432d99
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x432d52
lea edx, [esp + 0x7c]
push 0x613db8
push edx
call fcn.00495724
add esp, 8
test eax, eax
je 0x432d52
lea eax, [esp + 0x7c]
push 0x613db4
push eax
call fcn.00495724
add esp, 8
test eax, eax
je 0x432d52
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x432ce2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.004a5d35
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x433590
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x4335f2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x433600
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4b179b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x61c390]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x433738
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x433666
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004a5d35
xor eax, eax
jmp 0x4337af
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004a5e72
push esi
lea ecx, [esp + 0xc]
call fcn.004a6101
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x613df4
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x43378d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push 0x613dec
push closesocket
call fcn.00433590
test eax, eax
jne 0x43378d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push 0x613dd8
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.00433590
test eax, eax
jne 0x43378d
lea eax, [esp + 0x14]
push 0x613dd0
push eax
call fcn.00496830
mov esi, eax
add esp, 8
test esi, esi
jne 0x43376c
lea ecx, [esp + 0x14]
push 0x613dcc
push ecx
call fcn.004967b0
mov esi, eax
add esp, 8
test esi, esi
jne 0x43376c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x43376f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004a5e22
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x43367e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004a5d35
xor eax, eax
jmp 0x4337af
mov byte [esi], 0
push 0x613dc8
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.004a5d35
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4