joyce8/EMBER2024-capa huggingface dataset:
Function at 0x450b70
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x450b87
add esp, 0xfffffff0
call fcn.00403b98
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041a0a4
mov eax, dword [0x4fefa8]
cmp word [eax + 2], 0
jne 0x450baf
mov eax, dword [0x4fefa8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00452620
mov eax, dword [0x4ff064]
cmp word [eax + 2], 0
jne 0x450bc9
mov eax, dword [0x4ff064]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045282c
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x411ea0]
call fcn.00403844
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x411ea0]
call fcn.00403844
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x411ea0]
call fcn.00403844
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x41e688]
call fcn.00425d8c
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x450d80
mov eax, dword [0x4feec4]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00426160
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x452eec
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4feec4]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040ca5c
test eax, eax
je 0x450cd0
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408c70
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040ca90
test eax, eax
je 0x450ce4
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404910
mov byte [ebx + 0xd4], 0
push ebx
push 0x452180
call fcn.0041b220
mov dword [ebx + 0xc8], eax
mov eax, dword [0x4feda4]
cmp byte [eax], 0
jne 0x450d35
mov eax, ebx
call fcn.00450ec4
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.004530c8
mov eax, ebx
call fcn.00453c28
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x450d75
call fcn.00403bf0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x451144
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x50357c]
cmp dword [eax + 0x30], 0
je 0x4511ee
cmp dword [ebx + 0x94], 0
jne 0x4511e8
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4510d4
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4511e8
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x4511ae
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4511e8
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041424c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4511bd
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x451f08
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x451f3d
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404790
jmp 0x451f4a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004046f4
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4532ac
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45331a
mov eax, esi
call fcn.0043dc84
test al, al
je 0x45331a
mov eax, dword [ebx + 0x84]
call fcn.0043d988
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45331a
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x45330e
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043d988
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.00435ecc
jmp 0x45331a
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004530e8
pop esi
pop ebx
ret
Function at 0x456e90
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x456ebe
mov eax, ebx
call fcn.00457944
cmp dword [ebx + 0x40], 0
je 0x456eb7
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x456f2f
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x456f21
cmp dword [ebx + 8], 0
je 0x456ee0
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 0x456ef2
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x456f21
cmp dword [ebx + 8], 0
je 0x456ed3
cmp eax, 3
je 0x456f05
dec eax
jne 0x456ed3
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 0x456ed3
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x456ed3
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x456f4d
cmp dword [ebx + 0x14], 0xcc
je 0x456f4d
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.00456f58
pop ebx
ret

Function at 0x401a22
Capabilities:
Hide graphical window

Disassembly:
mov ecx, 0xfffffffe
jmp fcn.0040161c
Function at 0x401013
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
xor eax, eax
lea ecx, [ebp - 4]
push ecx
push eax
push esi
push section..text
push eax
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x2c], eax
pop esi
leave
ret

Function at 0x401b77
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
mov edi, ecx
xor ebx, ebx
push ebx
lea ecx, [ebp - 1]
call fcn.004018f9
mov eax, dword [ebp + 8]
sub eax, 0x4e
je 0x401bb6
sub eax, 0xc5
je 0x401bdd
sub eax, 0x25
jne 0x401c44
push dword [ebp + 0x10]
mov eax, dword [edi]
push dword [ebp + 0xc]
mov ecx, edi
call dword [eax + 0x14]
mov ebx, eax
jmp 0x401c44
mov eax, dword [ebp + 0x10]
cmp dword [eax + 4], 0x401
jne 0x401bdd
cmp dword [eax + 8], 0xfffffffe
jne 0x401bdd
push 3
push ebx
push ebx
push str.http:__voffka.com
push 0x4061d4
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp dword [ebp + 0xc], 1
jne 0x401c44
push esi
push ebx
push ebx
push 0x408
mov esi, 0x400
push esi
mov ecx, edi
call fcn.00401a0f
mov ecx, edi
cmp eax, 0x64
jne 0x401c33
push 0xfffffffffffffff0
push esi
call fcn.00401a3d
or eax, 8
push eax
push 0xfffffffffffffff0
push esi
mov ecx, edi
call fcn.00401a64
push 0xa
push 1
push 0x40a
push esi
mov ecx, edi
call fcn.00401a0f
push 1
push dword [edi + 8]
call dword [sym.imp.USER32.dll_KillTimer]
jmp 0x401c40
push ebx
push ebx
push 0x405
push esi
call fcn.00401a0f
xor ebx, ebx
inc ebx
pop esi
lea ecx, [ebp - 1]
call fcn.0040192e
pop edi
mov eax, ebx
pop ebx
leave
ret 0xc

Function at 0x40258f
Capabilities:
Create http request
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esi], ebx
push ebx
lea ecx, [esi + 0x10]
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
call fcn.00404d99
push ebx
lea ecx, [esi + 0x20]
call fcn.00404d99
push dword [ebp + 8]
lea ecx, [esi + 0x28]
call fcn.004021b0
push ebx
push ebx
push ebx
push ebx
push str.tiny_dl_nix
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi], eax
cmp eax, ebx
je 0x40264f
mov edi, dword [sym.imp.WININET.dll_InternetSetOptionA]
push 4
lea ecx, [ebp - 4]
push ecx
push 2
push eax
mov dword [ebp - 4], 0xbb8
call edi
test eax, eax
jne 0x402608
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
je 0x402608
push 0x4064d8
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 4
lea eax, [ebp - 4]
push eax
push 5
push dword [esi]
call edi
test eax, eax
jne 0x40261e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 4
lea eax, [ebp - 4]
push eax
push 6
push dword [esi]
call edi
test eax, eax
jne 0x402634
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 3
pop eax
push 4
lea ecx, [ebp - 4]
push ecx
push eax
push dword [esi]
mov dword [ebp - 4], eax
call edi
test eax, eax
jne 0x40264f
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 4
Function at 0x403466
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
lea ecx, [ebp - 0x20]
call fcn.00405060
mov ecx, dword [ebp - 0x10]
or ecx, dword [ebp - 0xc]
push ecx
push str.downloader_tmp_
push dword [eax + 4]
lea eax, [ebp - 8]
push str._s_s_d
push eax
call fcn.00404e6f
push dword [ebp - 0x1c]
call fcn.004019a0
add esp, 0x18
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x4034bc
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dl, 1
lea ecx, [ebp - 0x18]
call fcn.00404f69
push dword [ebp - 4]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_MoveFileA]
push 4
push 0
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
push dword [ebp - 0x14]
call fcn.004019a0
push dword [ebp - 4]
call fcn.004019a0
pop ecx
pop ecx
leave
ret

Function at 0x4034f3
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
lea eax, [ebp - 0x10]
push str.runprog.exe
push eax
mov esi, ecx
call fcn.00404e6f
pop ecx
pop ecx
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x18]
call fcn.00405060
mov ecx, eax
call fcn.00404eca
push dword [ebp - 0x14]
call fcn.004019a0
push dword [ebp - 0xc]
call fcn.004019a0
lea eax, [ebp - 0x10]
push 0x40678c
push eax
call fcn.00404e6f
add esp, 0x10
lea eax, [ebp - 8]
push eax
lea edx, [ebp - 0x10]
mov ecx, 0x3fb
call fcn.00405163
push dword [ebp - 0xc]
mov bl, al
call fcn.004019a0
pop ecx
test bl, bl
je 0x40357c
push 0xa
push 0
push dword [esi + 4]
push dword [ebp - 4]
push 0x4061d4
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push dword [ebp - 4]
call fcn.004019a0
pop ecx
pop esi
pop ebx
leave
ret
Function at 0x403c16
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov bl, byte [ebp + 8]
movzx eax, bl
push esi
neg eax
push edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
sbb eax, eax
and eax, 5
mov esi, ecx
push eax
push dword [esi + 0x14]
call edi
cmp byte [esi + 0x4d], 0
je 0x403c49
test bl, bl
je 0x403c49
push 5
pop eax
jmp 0x403c4b
xor eax, eax
push eax
push dword [esi + 0x18]
call edi
lea eax, [ebp - 0x10]
push eax
push dword [esi + 8]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 4]
xor ecx, ecx
test bl, bl
sete cl
push 1
dec ecx
and ecx, 0x8c
add ecx, 0xffffffba
add eax, ecx
mov dword [ebp - 4], eax
sub eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
push eax
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push dword [esi + 8]
call dword [sym.imp.USER32.dll_MoveWindow]
push 1
push dword [esi + 8]
mov byte [esi + 0x4e], bl
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x4044c9
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, ecx
push 2
push dword [edi + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, 0x200
push esi
lea ecx, [ebp - 8]
mov ebx, eax
call fcn.00404d99
push esi
push dword [ebp - 4]
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0x40695c
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x404528
push 0x124
push 0x40691c
push 0x40692c
push dword [edi + 8]
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
jne 0x404531
push 0
mov ecx, edi
call fcn.00401d11
push dword [ebp - 4]
call fcn.004019a0
pop ecx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x405060
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
mov edi, ecx
push 0x104
lea ecx, [ebp - 8]
call fcn.00404d99
mov esi, dword [sym.imp.KERNEL32.dll_GetTempPathA]
jmp 0x405093
cmp eax, 0x103
jbe 0x4050a9
mov eax, dword [ebp - 8]
add eax, eax
push eax
lea ecx, [ebp - 8]
call fcn.00404b6a
push dword [ebp - 4]
push dword [ebp - 8]
call esi
test eax, eax
jne 0x40507e
push eax
mov ecx, edi
call fcn.00404d99
jmp 0x4050b4
lea eax, [ebp - 8]
push eax
mov ecx, edi
call fcn.00404e53
push dword [ebp - 4]
call fcn.004019a0
pop ecx
mov eax, edi
pop edi
pop esi
leave
ret

Function at 0x40510b
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, ecx
push 0x400
lea ecx, [ebp - 8]
call fcn.00404d99
xor eax, eax
push eax
push eax
push dword [ebp - 4]
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
jne 0x40514a
push 0x4064d8
push esi
call fcn.00404e6f
push dword [ebp - 4]
call fcn.004019a0
add esp, 0xc
jmp 0x40515e
lea eax, [ebp - 8]
push eax
mov ecx, esi
call fcn.00404e53
push dword [ebp - 4]
call fcn.004019a0
pop ecx
mov eax, esi
pop esi
leave
ret
Function at 0x405163
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push 0
mov esi, edx
mov dword [ebp - 4], ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push dword [esi + 4]
mov ebx, eax
push dword [ebp - 4]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
jne 0x405191
xor al, al
jmp 0x405204
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x40518d
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
test esi, esi
je 0x40518d
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 8], eax
test eax, eax
je 0x40518d
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
push 0
push 2
push 4
push 0
push 1
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push 0
mov ebx, eax
lea eax, [ebp - 0xc]
push eax
push esi
push dword [ebp - 8]
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [ebp - 0xc], esi
jne 0x40518d
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop esi
pop ebx
leave
ret 4
Function at 0x4038fa
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
add ecx, 4
mov dword [0x4040fa], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x404658], eax
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x4045ec], eax
mov dword [0x4040f2], eax
mov dword [0x4045d8], 0x30
mov dword [0x4045dc], 2
jmp 0x40393f
mov dword [0x4045e0], 0x403153
mov dword [0x4045e4], 0
mov dword [0x4045e8], 0
mov dword [0x404600], 0x40454e
mov dword [0x4045f8], 0xf
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x4045f0], eax
mov dword [0x404604], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x4045f4], eax
push 0x4045d8
fadd dword [ebp + 0x40]
add bh, bh
adc eax, sym.imp.user32.dll_RegisterClassExA
push 0
push dword [0x4040f2]
push 0
push 0
push 0x1e5
push 0x203
push 0xfffff98e
push 0xfffff9c0
push 0xcf0000
push str.asdlkjalsdj_ai8
push 0x40454e
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x404650], eax
push 5
push dword [0x404650]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x404650]
call dword [sym.imp.user32.dll_UpdateWindow]
xor edi, edi
lea ebx, [0x404608]
jmp 0x403a13
push ebx
call dword [sym.imp.user32.dll_TranslateMessage]
push ebx
call dword [sym.imp.user32.dll_DispatchMessageA]
push edi
push edi
push edi
push ebx
call dword [sym.imp.user32.dll_GetMessageA]
test al, al
jne 0x403a05
mov eax, dword [0x404610]
jmp 0x403a2e
call 0x402bd5
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x49b080
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x51640b
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.0050aacb
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x49b102
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.005088ba
mov eax, dword [eax]
push 0x731cf0
push eax
call fcn.004fa8e4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0050ad56
test bl, bl
je 0x49b102
push 0x731cf0
lea ecx, [esp + 0xc]
call fcn.0050b0e6
push 0x731cfc
lea ecx, [esp + 0xc]
call fcn.0050b0e6
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 0x49b13e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0050ad56
jmp 0x49b209
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 0x49b1c2
lea edx, [esp + 0x7c]
push 0x731cf8
push edx
call fcn.004fa8e4
add esp, 8
test eax, eax
je 0x49b1c2
lea eax, [esp + 0x7c]
push 0x731cf4
push eax
call fcn.004fa8e4
add esp, 8
test eax, eax
je 0x49b1c2
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 0x49b152
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.0050ad56
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 0x49ba00
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 0x49ba62
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 0x49ba70
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x51648b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x73e83c]
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 0x49bba8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x49bad6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0050ad56
xor eax, eax
jmp 0x49bc1f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0050ae93
push esi
lea ecx, [esp + 0xc]
call fcn.0050b122
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x731d30
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x49bbfd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.0049ba00
test eax, eax
jne 0x49bbfd
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 closesocket
mov ecx, edi
call fcn.0049ba00
test eax, eax
jne 0x49bbfd
lea eax, [esp + 0x14]
push 0x731d0c
push eax
call fcn.004fba30
mov esi, eax
add esp, 8
test esi, esi
jne 0x49bbdc
lea ecx, [esp + 0x14]
push 0x731d08
push ecx
call fcn.004fb9b0
mov esi, eax
add esp, 8
test esi, esi
jne 0x49bbdc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x49bbdf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0050ae43
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x49baee
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0050ad56
xor eax, eax
jmp 0x49bc1f
mov byte [esi], 0
push 0x731d04
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.0050ad56
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