joyce8/EMBER2024-capa huggingface dataset:
Function at 0x480630
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x415a70]
call fcn.00404b60
xor eax, eax
push ebp
push 0x480774
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4f40ec], 0
jne 0x480683
mov ecx, dword [0x4f91f0]
mov dl, 1
mov eax, dword [0x407728]
call fcn.0040c61c
call fcn.00403b60
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00402d68
mov eax, ebx
call fcn.00404a10
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x480784
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00405bf8
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404a20
test eax, eax
jle 0x48071b
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x480714
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404430
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404418
mov eax, dword [ebp - 0x48]
pop edx
call fcn.004085d4
test eax, eax
jne 0x480714
mov ebx, 0x15
jmp 0x480720
mov ebx, 0x10
jmp 0x480720
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x4f40ec]
call fcn.00480588
mov eax, dword [ebp - 8]
call fcn.00480588
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00405c10
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48077b
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004041cc
lea eax, [ebp - 0x10]
mov edx, dword [0x415a70]
call fcn.00404c30
ret

Function at 0x48c724
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov dword [esp], ecx
mov esi, edx
mov ebp, eax
mov eax, ebp
call fcn.00404468
mov edx, eax
mov eax, dword [esp]
call fcn.004047f4
mov eax, ebp
call fcn.00404468
test al, al
jbe 0x48c78f
mov byte [esp + 4], al
mov bl, 1
mov eax, dword [esp]
call fcn.004046c0
mov edi, ebx
and edi, 0xff
mov dl, byte [ebp + edi - 1]
movzx ecx, si
shr ecx, 8
xor dl, cl
mov byte [eax + edi - 1], dl
xor eax, eax
mov al, byte [ebp + edi - 1]
add si, ax
imul ax, si, 0xce6d
add ax, 0x58bf
mov esi, eax
inc ebx
dec byte [esp + 4]
jne 0x48c754
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x490500
Capabilities:
Log keystrokes via application hook

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x490621
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.kernel32.dll_GetVersion_1
mov edx, dword [0x4f9810]
mov dword [edx], eax
lea eax, [ebp - 4]
push eax
mov eax, dword [0x4f9810]
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0
lea edx, [ebp - 0xc]
xor ecx, ecx
mov eax, 0x490638
call fcn.00409ac4
mov eax, dword [ebp - 4]
call fcn.004a5384
lea eax, [ebp - 0x10]
push eax
mov eax, dword [0x4f9464]
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0
mov eax, dword [0x4f97ac]
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0
lea edx, [ebp - 0x20]
mov ecx, 1
mov eax, 0x490654
call fcn.00409ac4
mov eax, dword [ebp - 0x10]
call fcn.004a5384
call sub.kernel32.dll_GetCurrentThreadId_1
mov esi, eax
push esi
push 0
push 0x490228
push 5
call sub.user32.dll_SetWindowsHookExA
mov dword [ebx + 0x1c], eax
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0
lea edx, [ebp - 0xc]
xor ecx, ecx
mov eax, 0x490674
call fcn.00409ac4
mov eax, dword [ebp - 0x24]
call fcn.004a5384
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebx + 0x1c]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0
lea edx, [ebp - 0xc]
xor ecx, ecx
mov eax, 0x49068c
call fcn.00409ac4
mov eax, dword [ebp - 0x28]
call fcn.004a5384
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x490628
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.004041cc
lea eax, [ebp - 0x10]
call fcn.004041a8
lea eax, [ebp - 4]
call fcn.004041a8
ret
Function at 0x49f504
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.004095d4
add esp, 0x3ec
pop ebx
ret

Function at 0x4a08e4
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 + 0xf4]
mov eax, dword [eax + 0x34]
call fcn.00470480
mov edi, eax
dec edi
test edi, edi
jl 0x4a0997
inc edi
xor esi, esi
mov eax, dword [ebx + 0xf4]
mov eax, dword [eax + 0x34]
mov edx, esi
call fcn.00470490
mov eax, dword [eax + 0xc]
sub eax, 1
jb 0x4a092e
je 0x4a094f
dec eax
je 0x4a0970
jmp 0x4a098f
mov eax, dword [ebx + 0xf4]
mov eax, dword [eax + 0x34]
mov edx, esi
call fcn.00470490
cmp byte [ebx + 0x164], 0
setne dl
call fcn.004703ac
jmp 0x4a098f
mov eax, dword [ebx + 0xf4]
mov eax, dword [eax + 0x34]
mov edx, esi
call fcn.00470490
cmp byte [ebx + 0x164], 1
setne dl
call fcn.004703ac
jmp 0x4a098f
mov eax, dword [ebx + 0xf4]
mov eax, dword [eax + 0x34]
mov edx, esi
call fcn.00470490
cmp byte [ebx + 0x164], 2
setne dl
call fcn.004703ac
inc esi
dec edi
jne 0x4a090f
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebx + 0x88]
xor edx, edx
push edx
push eax
mov eax, dword [ebx + 0x8c]
cdq
cmp edx, dword [esp + 4]
jne 0x4a09bc
cmp eax, dword [esp]
pop edx
pop eax
jae 0x4a0a1d
jmp 0x4a09c0
pop edx
pop eax
jge 0x4a0a1d
mov esi, 2
call sub.kernel32.dll_GetTickCount_1
mov dword [ebx + 0x88], eax
mov eax, dword [ebx + 0x138]
test byte [eax + 0x50], 2
je 0x4a09f9
cmp byte [ebx + 0x161], 2
je 0x4a09f9
mov ecx, dword [esp + 4]
mov edx, dword [esp]
mov eax, dword [ebx + 0xf4]
mov ebx, dword [eax]
call dword [ebx + 0x40]
jmp 0x4a0a42
push 0
mov eax, dword [ebx + 0x12c]
push eax
push 0
mov eax, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x10]
push eax
push esi
mov eax, dword [ebx + 0x104]
push eax
call sub.user32.dll_TrackPopupMenu
jmp 0x4a0a42
cmp dword [ebx + 0x11c], 0
je 0x4a0a42
xor edx, edx
mov eax, dword [ebx + 0x58]
call fcn.004336d4
push 0
push 0
push 0x10
mov eax, dword [ebx + 0x12c]
push eax
call sub.user32.dll_PostMessageA
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x4a9c90
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 0x4a9e01
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 0x4a9de6
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.004095d4
mov dl, 1
mov eax, dword [0x48e840]
call fcn.0048e898
mov edx, dword [ebp - 4]
mov dword [edx + 0x80], eax
mov dl, 1
mov eax, dword [0x416e60]
call fcn.004033a4
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.0048e914
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x4a9de3
mov dl, 1
mov eax, dword [0x48f2e0]
call fcn.0048f348
mov edx, dword [ebp - 4]
mov dword [edx + 0x38], eax
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, 0x4a9e18
call fcn.0048ec60
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.004044b4
xor eax, eax
push ebp
push 0x4a9ddc
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
xor ecx, ecx
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x40]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
call fcn.0048f648
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004a9e20
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a9de3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x80]
call fcn.004033d4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
call fcn.004033d4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
call fcn.004033d4
ret
mov bl, byte [ebp - 0xd]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a9e08
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004041cc
ret
Function at 0x4b15cc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, eax
mov dl, 1
mov eax, dword [0x416e60]
call fcn.004033a4
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4b167a
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4b1688
push 0x7d5
mov eax, dword [0x4fa668]
push eax
call sub.kernel32.dll_FindResourceA
mov ebx, eax
push ebx
mov eax, dword [0x4fa668]
push eax
call sub.kernel32.dll_SizeofResource
mov dword [ebp - 8], eax
push ebx
mov eax, dword [0x4fa668]
push eax
call sub.kernel32.dll_LoadResource
mov ebx, eax
push ebx
call sub.kernel32.dll_LockResource
mov edi, eax
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.0041b6f0
mov edx, edi
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov edi, dword [eax]
call dword [edi + 0x10]
mov eax, ebx
call fcn.004070e4
push ebx
call sub.kernel32.dll_FreeResource
mov eax, dword [esi + 0x324]
mov edx, dword [ebp - 4]
call fcn.0048d96c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b1681
mov eax, dword [ebp - 4]
call fcn.004033d4
ret
Function at 0x4b8800
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4b882e
mov eax, ebx
call fcn.004b92b4
cmp dword [ebx + 0x40], 0
je 0x4b8827
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4b889f
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4b8891
cmp dword [ebx + 8], 0
je 0x4b8850
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x4b8862
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4b8891
cmp dword [ebx + 8], 0
je 0x4b8843
cmp eax, 3
je 0x4b8875
dec eax
jne 0x4b8843
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4b8843
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4b8843
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4b88bd
cmp dword [ebx + 0x14], 0xcc
je 0x4b88bd
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004b88c8
pop ebx
ret
Function at 0x4da514
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x4da51c
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x4da70e
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x4da724
mov eax, esi
call fcn.004d83a0
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.004041fc
lea ecx, [ebp - 0x10]
mov edx, 0x4da738
mov eax, esi
call fcn.004d83a0
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.004041fc
lea ecx, [ebp - 0x14]
mov edx, 0x4da750
mov eax, esi
call fcn.004d83a0
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.004041fc
lea ecx, [ebp - 0x18]
mov edx, 0x4da76c
mov eax, esi
call fcn.004d83a0
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.004041fc
lea ecx, [ebp - 0x1c]
mov edx, 0x4da788
mov eax, esi
call fcn.004d83a0
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.004041fc
lea ecx, [ebp - 0x24]
mov edx, 0x4da7a0
mov eax, esi
call fcn.004d83a0
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.00408644
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.00408bbc
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0x4da7b8
mov eax, esi
call fcn.004d83a0
mov eax, dword [ebp - 0x28]
call fcn.004d1e78
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0x4da7c8
mov eax, esi
call fcn.004d83a0
mov eax, dword [ebp - 0x2c]
call fcn.004d1e78
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x4da7e0
mov eax, esi
call fcn.004d83a0
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.00408bbc
inc eax
je 0x4da6b1
lea ecx, [ebp - 0x34]
mov edx, 0x4da7e0
mov eax, esi
call fcn.004d83a0
mov eax, dword [ebp - 0x34]
call fcn.00408b80
mov edi, eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov dword [ebp - 8], eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov ecx, edx
mov eax, ecx
push ecx
mov ecx, 0x3c
cdq
idiv ecx
pop ecx
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, 0x3c
cdq
idiv ecx
mov edi, edx
push 0
mov ecx, edi
mov dx, word [ebp - 4]
mov ax, word [ebp - 8]
call fcn.0040a3d0
fstp qword [ebp - 0x3c]
wait
call fcn.0040a734
fadd qword [ebp - 0x3c]
fstp qword [ebx + 0x38]
wait
jmp 0x4da6cc
lea ecx, [ebp - 0x40]
mov edx, 0x4da7e0
mov eax, esi
call fcn.004d83a0
mov eax, dword [ebp - 0x40]
call fcn.004d1e78
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x44]
mov edx, 0x4da7f0
mov eax, esi
call fcn.004d83a0
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x48]
call fcn.004041fc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4da715
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.004041cc
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.004041cc
ret
Function at 0x4e4d4c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404658
xor eax, eax
push ebp
push 0x4e4e74
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00404668
mov edi, eax
push edi
call sub.version.dll_GetFileVersionInfoSizeA
mov esi, eax
test esi, esi
je 0x4e4e51
mov eax, esi
call fcn.0040278c
mov ebx, eax
push ebx
push esi
push 0
push edi
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x4e4e4a
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x4e4e84
push ebx
call sub.version.dll_VerQueryValueA
push 0x4e4ea8
lea ecx, [ebp - 0x1c]
mov eax, dword [ebp - 0x10]
movzx eax, word [eax]
mov edx, 4
call fcn.00408b28
push dword [ebp - 0x1c]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
call fcn.004070d0
movzx eax, ax
lea ecx, [ebp - 0x20]
mov edx, 4
call fcn.00408b28
push dword [ebp - 0x20]
push 0x4e4ec4
lea eax, [ebp - 0x18]
mov edx, 4
call fcn.00404528
lea eax, [ebp - 0x18]
mov edx, 0x4e4ed0
call fcn.00404470
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x18]
call fcn.00404668
push eax
push ebx
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4e4e4a
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
call fcn.004095d4
mov eax, ebx
call fcn.004027ac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e4e7b
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.004041cc
lea eax, [ebp - 4]
call fcn.004041a8
ret
Function at 0x4f1970
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, eax
mov dl, 1
mov eax, dword [0x416e60]
call fcn.004033a4
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4f1a2f
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4f1a40
push 0x7d4
mov eax, dword [0x4fa668]
push eax
call sub.kernel32.dll_FindResourceA
mov ebx, eax
push ebx
mov eax, dword [0x4fa668]
push eax
call sub.kernel32.dll_SizeofResource
mov dword [ebp - 8], eax
push ebx
mov eax, dword [0x4fa668]
push eax
call sub.kernel32.dll_LoadResource
mov ebx, eax
push ebx
call sub.kernel32.dll_LockResource
mov edi, eax
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.0041b6f0
mov edx, edi
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov edi, dword [eax]
call dword [edi + 0x10]
mov eax, ebx
call fcn.004070e4
push ebx
call sub.kernel32.dll_FreeResource
mov eax, dword [esi + 0x400]
mov edx, dword [ebp - 4]
call fcn.0048d96c
push esi
push 0x4f182c
mov eax, dword [esi + 0x400]
call fcn.0048d710
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f1a36
mov eax, dword [ebp - 4]
call fcn.004033d4
ret

Function at 0x4f1a44
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, eax
mov dl, 1
mov eax, dword [0x416e60]
call fcn.004033a4
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4f1afe
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4f1b0c
push 0x7d4
mov eax, dword [0x4fa668]
push eax
call sub.kernel32.dll_FindResourceA
mov ebx, eax
push ebx
mov eax, dword [0x4fa668]
push eax
call sub.kernel32.dll_SizeofResource
mov dword [ebp - 4], eax
push ebx
mov eax, dword [0x4fa668]
push eax
call sub.kernel32.dll_LoadResource
mov ebx, eax
push ebx
call sub.kernel32.dll_LockResource
mov edi, eax
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.0041b6f0
mov edx, edi
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov edi, dword [eax]
call dword [edi + 0x10]
mov eax, ebx
call fcn.004070e4
push ebx
call sub.kernel32.dll_FreeResource
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.0041b6f0
mov edx, dword [esi + 0x4a0]
mov eax, dword [ebp - 8]
call fcn.004b4d04
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f1b05
mov eax, dword [ebp - 8]
call fcn.004033d4
ret
Function at 0x40b380
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x46e64b
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.00463076
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40b402
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00460c0d
mov eax, dword [eax]
push 0x77e1d0
push eax
call fcn.00453664
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00463301
test bl, bl
je 0x40b402
push 0x77e1d0
lea ecx, [esp + 0xc]
call fcn.00463691
push 0x781dbc
lea ecx, [esp + 0xc]
call fcn.00463691
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 0x40b43e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00463301
jmp 0x40b509
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 0x40b4c2
lea edx, [esp + 0x7c]
push 0x781db8
push edx
call fcn.00453664
add esp, 8
test eax, eax
je 0x40b4c2
lea eax, [esp + 0x7c]
push 0x781db4
push eax
call fcn.00453664
add esp, 8
test eax, eax
je 0x40b4c2
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 0x40b452
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.00463301
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 0x40bd00
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 0x40bd62
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 0x40bd70
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x46e6cb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x78866c]
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 0x40bea8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40bdd6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00463301
xor eax, eax
jmp 0x40bf1f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0046343e
push esi
lea ecx, [esp + 0xc]
call fcn.004636cd
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x40befd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SQLAllocStmt
call fcn.0040bd00
test eax, eax
jne 0x40befd
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push SQLAllocStmt
mov ecx, edi
call fcn.0040bd00
test eax, eax
jne 0x40befd
lea eax, [esp + 0x14]
push 0x781dd0
push eax
call fcn.00454800
mov esi, eax
add esp, 8
test esi, esi
jne 0x40bedc
lea ecx, [esp + 0x14]
push 0x781dcc
push ecx
call fcn.00454780
mov esi, eax
add esp, 8
test esi, esi
jne 0x40bedc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40bedf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004633ee
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40bdee
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00463301
xor eax, eax
jmp 0x40bf1f
mov byte [esi], 0
push 0x781dc8
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.00463301
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