joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b1b9c
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
mov ecx, 4
push 0
push 0
dec ecx
jne 0x4b1ba4
push ecx
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x4b1cf1
push dword fs:[eax]
mov dword fs:[eax], esp
test dl, dl
je 0x4b1bfa
lea edx, [ebp - 4]
mov eax, dword [0x4d1484]
call fcn.0040614c
cmp ebx, 1
jbe 0x4b1c31
lea eax, [ebp - 8]
push eax
mov dword [ebp - 0x10], ebx
mov byte [ebp - 0xc], 0
lea edx, [ebp - 0x10]
xor ecx, ecx
mov eax, 0x4b1d08
call fcn.00409adc
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
call fcn.004044c0
jmp 0x4b1c31
lea eax, [ebp - 4]
mov edx, 0x4b1d18
call fcn.00404290
cmp ebx, 1
jbe 0x4b1c31
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x10], ebx
mov byte [ebp - 0xc], 0
lea edx, [ebp - 0x10]
xor ecx, ecx
mov eax, 0x4b1d28
call fcn.00409adc
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 4]
call fcn.004044c0
push 0
mov eax, dword [ebp + 8]
mov edx, dword [eax - 4]
lea eax, [ebp - 0x18]
mov ecx, dword [ebp - 4]
call fcn.00404504
mov eax, dword [ebp - 0x18]
call fcn.004046b8
push eax
call sub.kernel32.dll_CreateDirectoryA
test eax, eax
jne 0x4b1cb9
call sub.kernel32.dll_GetLastError
mov ebx, eax
cmp ebx, 0xb7
jne 0x4b1c69
mov bl, 1
jmp 0x4b1cc9
push 0
lea eax, [ebp - 0x1c]
push eax
lea edx, [ebp - 0x20]
mov eax, ebx
call fcn.0040c120
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
push eax
lea edx, [ebp - 0x24]
mov eax, dword [0x4d191c]
call fcn.0040614c
mov eax, dword [ebp - 0x24]
mov ecx, 1
pop edx
call fcn.004aa584
mov eax, dword [ebp - 0x1c]
mov cx, word [0x4b1d2c]
xor edx, edx
call fcn.00431b4c
mov bl, 2
jmp 0x4b1cc9
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, dword [ebp - 4]
call fcn.0040424c
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b1cf8
lea eax, [ebp - 0x24]
mov edx, 5
call fcn.0040421c
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040421c
ret

Function at 0x4b2368
Capabilities:
Get file system object information

Disassembly:
push ebx
push esi
add esp, 0xfffffea0
mov ebx, ecx
mov esi, eax
test edx, 0x40000000
jne 0x4b238a
mov edx, ebx
mov eax, dword [0x4d1918]
call fcn.0040614c
jmp 0x4b23c1
push 0x408
push 0x160
lea eax, [esp + 8]
push eax
push 0
push esi
call sub.shell32.dll_SHGetFileInfoA
test eax, eax
je 0x4b23ba
mov eax, ebx
lea edx, [esp + 0x110]
mov ecx, 0x50
call fcn.00404468
jmp 0x4b23c1
mov eax, ebx
call fcn.004041f8
add esp, 0x160
pop esi
pop ebx
ret
Function at 0x4b2d48
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe9c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x164], ebx
mov dword [ebp - 0x15c], ebx
mov dword [ebp - 0x160], ebx
mov dword [ebp - 0x158], ebx
mov ebx, ecx
test ebx, ebx
js 0x4b2d7b
mov esi, dword [edx + ebx*4]
dec ebx
push esi
jns 0x4b2d74
mov edx, esp
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004046a8
mov ecx, dword [ebp - 0xc]
inc ecx
mov eax, dword [ebp - 8]
mov edx, dword [0x4010bc]
call fcn.00404e0c
xor eax, eax
push ebp
push 0x4b2f09
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
test eax, eax
jl 0x4b2ed1
inc eax
mov dword [ebp - 0x14], eax
mov esi, dword [ebp - 8]
lea eax, [ebp - 0x154]
push eax
push dword [ebp - 4]
push 0x4b2f30
push dword [esi]
lea eax, [ebp - 0x158]
mov edx, 3
call fcn.00404578
mov eax, dword [ebp - 0x158]
call fcn.004046b8
push eax
call sub.kernel32.dll_FindFirstFileA_1
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4b2ec5
mov eax, dword [ebp - 0x154]
test al, 0x10
jne 0x4b2eaa
test al, 2
jne 0x4b2eaa
xor eax, eax
mov dword [ebp - 0x10], eax
push dword [ebp - 4]
push 0x4b2f30
lea eax, [ebp - 0x160]
lea edx, [ebp - 0x128]
mov ecx, 0x104
call fcn.00404468
push dword [ebp - 0x160]
lea eax, [ebp - 0x15c]
mov edx, 3
call fcn.00404578
mov eax, dword [ebp - 0x15c]
lea edx, [ebp - 0x10]
call fcn.004a9000
call fcn.00416e50
test al, al
je 0x4b2e68
or edi, 0xffffffff
jmp 0x4b2e77
mov edx, 1
mov eax, dword [ebp - 0x10]
call fcn.004a91a8
mov edi, eax
mov eax, dword [ebp - 0x10]
call fcn.004a8f64
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x128]
mov ecx, 0x104
call fcn.00404468
mov edx, dword [ebp - 0x164]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax]
mov ecx, edi
mov edi, dword [eax]
call dword [edi + 0x3c]
lea eax, [ebp - 0x154]
push eax
push ebx
call sub.kernel32.dll_FindNextFileA
test eax, eax
jne 0x4b2dfd
push ebx
call sub.kernel32.dll_FindClose_1
add esi, 4
dec dword [ebp - 0x14]
jne 0x4b2dc0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b2f10
lea eax, [ebp - 0x164]
mov edx, 4
call fcn.0040421c
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
inc ecx
mov edx, dword [0x4010bc]
call fcn.00404ccc
lea eax, [ebp - 4]
call fcn.004041f8
ret
Function at 0x4b407c
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4b4113
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0x700f0037
mov eax, dword [0x4d183c]
cmp dword [eax + 4], 0x60000
jl 0x4b40b4
or dword [ebp - 4], 0x400000
lea edx, [ebp - 8]
mov eax, ebx
call fcn.004b41a8
mov eax, dword [ebp - 8]
call fcn.004b1f20
test al, al
je 0x4b40e4
mov eax, dword [ebp - 8]
call fcn.004046b8
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 2
jne 0x4b40e4
and dword [ebp - 4], 0xfffbffff
lea eax, [ebp - 4]
push eax
lea eax, [ebx + 0xc]
push eax
push 1
mov eax, dword [ebx + 4]
mov eax, dword [eax + 0x428]
push eax
mov eax, dword [eax]
call dword [eax + 0x24]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b411a
lea eax, [ebp - 8]
call fcn.004041f8
ret

Function at 0x4b7bb4
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, eax
mov eax, ebx
call fcn.004046b8
push eax
call sub.kernel32.dll_GetDriveTypeA
sub eax, 3
je 0x4b7bf5
dec eax
je 0x4b7bd7
sub eax, 2
je 0x4b7bf5
jmp 0x4b7c06
mov al, byte [ebx]
call fcn.004aaa34
test al, al
je 0x4b7c06
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, ebx
mov si, 0xffa1
call fcn.004035e0
jmp 0x4b7c06
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, ebx
mov si, 0xffa1
call fcn.004035e0
pop esi
pop ebx
pop ebp
ret

Function at 0x4b7c0c
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4b7cbb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x3f8], 0
jne 0x4b7c5a
push 0x465
mov eax, dword [ebp - 4]
call fcn.0045e02c
mov ecx, eax
mov dl, 1
mov eax, dword [0x4b4344]
call fcn.004b43b0
mov edx, dword [ebp - 4]
mov dword [edx + 0x3f8], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3f8]
call fcn.004b4878
lea eax, [ebp - 8]
mov edx, 0x4b7cd0
call fcn.00404290
call sub.kernel32.dll_GetLogicalDrives
mov ebx, eax
xor esi, esi
test ebx, ebx
je 0x4b7ca5
test bl, 1
je 0x4b7c9e
lea eax, [ebp - 8]
call fcn.00404710
lea edx, [esi + 0x41]
mov byte [eax], dl
push ebp
mov eax, dword [ebp - 8]
call fcn.004b7bb4
pop ecx
shr ebx, 1
inc esi
test ebx, ebx
jne 0x4b7c82
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b7cc2
lea eax, [ebp - 8]
call fcn.004041f8
ret
Function at 0x4b885c
Capabilities:
Check if file exists
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeac
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x150], ecx
mov dword [ebp - 0x154], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.004046a8
xor eax, eax
push ebp
push 0x4b897a
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4b894d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
or eax, 1
push eax
call sub.kernel32.dll_SetErrorMode
lea eax, [ebp - 0x14c]
push eax
mov eax, dword [ebp - 4]
call fcn.004046b8
push eax
call sub.kernel32.dll_FindFirstFileA_1
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4b892a
test byte [ebp - 0x14c], 0x10
jne 0x4b890d
lea eax, [ebp - 0x154]
lea edx, [ebp - 0x120]
mov ecx, 0x104
call fcn.00404468
mov eax, dword [ebp - 0x154]
lea edx, [ebp - 0x150]
call fcn.00408768
mov edx, dword [ebp - 0x150]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x14c]
push eax
push ebx
call sub.kernel32.dll_FindNextFileA
test eax, eax
jne 0x4b88d0
push ebx
call sub.kernel32.dll_FindClose_1
mov byte [ebp - 5], 1
jmp 0x4b8936
call sub.kernel32.dll_GetLastError
cmp eax, 2
sete byte [ebp - 5]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b8954
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_SetErrorMode
ret

Function at 0x4bd4ec
Capabilities:
Get common file path

Disassembly:
push ebx
push ecx
mov ebx, eax
mov al, byte [ebx + 4]
sub al, 1
jb 0x4bd4fb
je 0x4bd503
jmp 0x4bd52b
mov eax, dword [ebx + 8]
mov dword [esp], eax
jmp 0x4bd530
cmp dword [ebx + 8], 0
jne 0x4bd523
lea eax, [ebx + 8]
push eax
xor eax, eax
mov al, byte [ebx + 0xc]
push eax
mov eax, dword [0x4d1858]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.shell32.dll_SHGetSpecialFolderLocation
mov eax, dword [ebx + 8]
mov dword [esp], eax
jmp 0x4bd530
xor eax, eax
mov dword [esp], eax
mov eax, dword [esp]
pop edx
pop ebx
ret

Function at 0x4c0160
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
xor eax, eax
push ebp
push 0x4c01d1
push dword fs:[eax]
mov dword fs:[eax], esp
mov bl, 1
call fcn.004c011c
test al, al
jne 0x4c01bb
push 0x4c01e8
push dword [0x4d3780]
push 0x4c0234
lea eax, [ebp - 4]
mov edx, 3
call fcn.00404578
push 5
mov eax, dword [ebp - 4]
call fcn.004046b8
push eax
call sub.kernel32.dll_WinExec
push 0xbb8
call sub.kernel32.dll_Sleep
call fcn.004c3c88
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c01d8
lea eax, [ebp - 4]
call fcn.004041f8
ret
Function at 0x4c0240
Capabilities:
Query service status

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffe4
xor ebx, ebx
push 0xf003f
push 0
push 0
call sub.advapi32.dll_OpenSCManagerA
mov esi, eax
push 0xf01ff
push 0x4c0298
push esi
call sub.advapi32.dll_OpenServiceA
mov edi, eax
test edi, edi
je 0x4c0287
push esp
push edi
call sub.advapi32.dll_QueryServiceStatus
test eax, eax
je 0x4c0281
cmp dword [esp + 4], 4
sete bl
push edi
call sub.advapi32.dll_CloseServiceHandle
push esi
call sub.advapi32.dll_CloseServiceHandle
mov eax, ebx
add esp, 0x1c
pop edi
pop esi
pop ebx
ret

Function at 0x4c03f0
Capabilities:
Unload minifilter driver

Disassembly:
push ebx
mov bl, 1
call fcn.004c0240
test al, al
je 0x4c043c
cmp dword [0x4d1388], 0
jbe 0x4c042d
mov eax, dword [0x4d1a60]
cmp dword [eax], 0
je 0x4c041b
mov eax, dword [0x4d1a60]
mov eax, dword [eax]
call fcn.00422cf4
mov eax, dword [0x4d1388]
push eax
call sub.kernel32.dll_CloseHandle
xor eax, eax
mov dword [0x4d1388], eax
push 0x4c0440
call sub.fltlib.dll_FilterUnload
test eax, eax
sete bl
mov eax, ebx
pop ebx
ret

Function at 0x4c0748
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xffffff00
mov ebx, eax
push esp
push 0x104
call sub.kernel32.dll_GetTempPathA
mov edx, ebx
mov eax, esp
call fcn.004095ec
add esp, 0x100
pop ebx
ret

Function at 0x4c1188
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004046a8
xor eax, eax
push ebp
push 0x4c1268
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4c1278
push 0
call sub.user32.dll_FindWindowA
mov edi, eax
test edi, edi
je 0x4c1225
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00404290
mov eax, dword [ebp - 8]
call fcn.004044b8
push eax
push 0
push 0x463
push edi
call sub.user32.dll_SendMessageA
mov eax, dword [ebp - 8]
call fcn.004044b8
mov esi, eax
test esi, esi
jle 0x4c120c
mov ebx, 1
mov eax, dword [ebp - 8]
movzx eax, byte [eax + ebx - 1]
push eax
push ebx
push 0x463
push edi
call sub.user32.dll_SendMessageA
inc ebx
dec esi
jne 0x4c11f3
push 0
push 0
push 0x463
push edi
call sub.user32.dll_SendMessageA
lea eax, [ebp - 8]
call fcn.004041f8
jmp 0x4c124d
push 1
lea eax, [ebp - 0xc]
mov ecx, 0x4c1288
mov edx, dword [0x4d377c]
call fcn.00404504
mov eax, dword [ebp - 0xc]
call fcn.004046b8
push eax
call sub.kernel32.dll_WinExec
jmp 0x4c11ad
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c126f
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040421c
ret

Function at 0x4c13d0
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffef8
mov ebx, eax
push 0x104
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
mov eax, ebx
mov edx, esp
mov ecx, 0x105
call fcn.00404468
mov eax, ebx
mov edx, 0x4c1414
call fcn.004044c0
add esp, 0x108
pop ebx
ret
Function at 0x4c3acc
Capabilities:
Compare security identifiers

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov byte [esp], 0
lea eax, [esp + 4]
push eax
push 0xffffffffffffffff
push 8
call sub.kernel32.dll_GetCurrentThread
push eax
call sub.advapi32.dll_OpenThreadToken
mov ebx, eax
test ebx, ebx
jne 0x4c3b10
call sub.kernel32.dll_GetLastError
cmp eax, 0x3f0
jne 0x4c3b10
lea eax, [esp + 4]
push eax
push 8
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
mov ebx, eax
test ebx, ebx
je 0x4c3ba7
mov eax, 0x400
call fcn.00402744
mov esi, eax
lea eax, [esp + 8]
push eax
push 0x400
push esi
push 2
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_GetTokenInformation
mov ebx, eax
mov eax, dword [esp + 4]
push eax
call sub.kernel32.dll_CloseHandle
test ebx, ebx
je 0x4c3ba0
lea eax, [esp + 0xc]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
push 0x4d1390
call sub.advapi32.dll_AllocateAndInitializeSid
mov ebx, dword [esi]
dec ebx
test ebx, ebx
jl 0x4c3b96
inc ebx
xor edi, edi
mov eax, dword [esi + edi*8 + 4]
push eax
mov eax, dword [esp + 0x10]
push eax
call sub.advapi32.dll_EqualSid
test eax, eax
je 0x4c3b92
mov byte [esp], 1
jmp 0x4c3b96
inc edi
dec ebx
jne 0x4c3b79
mov eax, dword [esp + 0xc]
push eax
call sub.advapi32.dll_FreeSid
mov eax, esi
call fcn.00402764
mov al, byte [esp]
add esp, 0x10
pop edi
pop esi
pop ebx
ret

Function at 0x4c4788
Capabilities:
Get file system object information

Disassembly:
push ebx
add esp, 0xfffffea0
mov ebx, eax
push pe_nt_image_headers32
push 0x160
lea eax, [esp + 8]
push eax
push 0
mov eax, ebx
call fcn.004046b8
push eax
call sub.shell32.dll_SHGetFileInfoA
mov eax, dword [esp + 4]
add esp, 0x160
pop ebx
ret

Function at 0x4c47bc
Capabilities:
Get file system object information

Disassembly:
push ebx
add esp, 0xfffffea0
mov ebx, eax
push 0x4010
push 0x160
lea eax, [esp + 8]
push eax
push 0x80
mov eax, ebx
call fcn.004046b8
push eax
call sub.shell32.dll_SHGetFileInfoA
mov eax, dword [esp + 4]
add esp, 0x160
pop ebx
ret
Function at 0x40f546
Capabilities:
Write file on windows

Disassembly:
push ebx
push edi
push esi
mov eax, dword [ecx + 4]
mov edi, edx
mov esi, ecx
test eax, eax
jne 0x40f560
push esi
call fcn.0040f0c7
add esp, 4
mov eax, dword [esi + 4]
mov ebx, dword [esp + 0x10]
cmp eax, 2
je 0x40f57e
cmp eax, 1
jne 0x40f5d7
add esi, 8
push ebx
push edi
push esi
call fcn.00455ce8
add esp, 0xc
jmp 0x40f5d7
mov eax, dword [esi]
test eax, eax
jne 0x40f59a
push 0x2f
push str..._logging.c
push str.ctx__lgfp
call fcn.0047b26f
add esp, 0xc
mov eax, dword [esi]
push eax
push ebx
push 1
push edi
call fcn.0047d680
add esp, 0x10
cmp eax, ebx
jae 0x40f5d7
mov eax, dword [esi]
test eax, eax
je 0x40f5c0
push eax
call fcn.0047ce08
add esp, 4
mov dword [esi], 0
mov dword [esi + 4], 3
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
push str.Disabled_writing_session_log_due_to_error_while_writing
push eax
call dword [ecx]
add esp, 8
pop esi
pop edi
pop ebx
ret

Function at 0x413418
Capabilities:
Encode data using xor

Disassembly:
push ebx
push edi
push esi
push eax
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov eax, dword [edi]
cmp eax, dword [esi]
je 0x413444
push 0x75
push str..._mpint.c
push str.x0__nw__x1__nw
call fcn.0047b26f
add esp, 0xc
mov eax, dword [edi]
and ebx, 1
neg ebx
test eax, eax
mov dword [esp], ebx
je 0x413474
xor eax, eax
mov edx, dword [esi + 4]
mov ecx, dword [edi + 4]
mov edx, dword [edx + eax*4]
xor edx, dword [ecx + eax*4]
mov ecx, dword [esp]
and ecx, edx
mov edx, dword [edi + 4]
xor dword [edx + eax*4], ecx
mov edx, dword [esi + 4]
xor dword [edx + eax*4], ecx
inc eax
cmp eax, dword [edi]
jb 0x413452
add esp, 4
pop esi
pop edi
pop ebx
ret

Function at 0x413659
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 8
mov eax, dword [esp + 0x20]
cmp eax, 0x40000000
jb 0x413686
push 0xd5
push str..._mpint.c
push str.hex.len_____size_t_0____4
mov esi, eax
call fcn.0047b26f
mov eax, esi
add esp, 0xc
lea ecx, [eax*4 + 0x1f]
mov esi, eax
shr ecx, 5
xor eax, eax
inc eax
cmp ecx, eax
cmovbe ecx, eax
call fcn.0041327b
test esi, esi
je 0x413712
xor edx, edx
mov dword [esp], 0
mov ecx, dword [esp + 0x1c]
mov edi, 0x66
mov dword [esp + 4], esi
movsx ecx, byte [ecx + esi - 1]
mov esi, 0x46
lea ebp, [ecx - 0x61]
sub edi, ecx
sub esi, ecx
lea ebx, [ecx - 0x57]
or edi, ebp
lea ebp, [ecx - 0x41]
or esi, ebp
lea ebp, [ecx - 0x30]
sar edi, 0x1f
add ecx, 0xffffffc9
xor ebp, ebx
sar esi, 0x1f
and ebp, edi
mov edi, dword [eax + 4]
xor ebp, ebx
mov ebx, dword [esp]
xor ebp, ecx
and ebp, esi
mov esi, edx
inc edx
xor ebp, ecx
shr esi, 3
mov ecx, ebx
and ebp, 0xf
add ebx, 4
and cl, 0x1c
shl ebp, cl
or dword [edi + esi*4], ebp
mov dword [esp], ebx
mov esi, dword [esp + 4]
dec esi
jne 0x4136ac
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4137d3
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
test ecx, ecx
je 0x41384f
mov eax, dword [eax + 4]
mov dword [esp + 4], 0
mov dword [esp], ecx
mov dword [esp + 8], eax
xor eax, eax
xor ebx, ebx
xor ebp, ebp
dec eax
mov edx, eax
mov dword [esp + 0xc], eax
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov esi, edx
mov eax, dword [eax + ebp*4]
mov edi, ecx
mov edx, eax
or edi, eax
and eax, 1
shr edx, 1
xor edi, esi
or eax, edx
neg eax
mov edx, eax
shr edx, 0x1f
neg edx
sbb ecx, ecx
and edx, edi
mov edi, dword [esp + 0xc]
sar eax, 0x1f
and ecx, ebx
xor edx, esi
xor ebx, ecx
mov ecx, ebp
inc ebp
xor ecx, edi
and eax, ecx
xor eax, edi
cmp dword [esp], ebp
jne 0x4137ff
shl eax, 5
or eax, 1
jmp 0x413857
xor edx, edx
mov eax, 0xffffffe1
dec edx
mov ecx, 0x10
xor esi, esi
mov edi, edx
shr edi, cl
mov ebx, edi
xor edi, edx
neg ebx
sar ebx, 0x1f
and edi, ebx
and ebx, ecx
xor edx, edi
add esi, ebx
shr ecx, 1
jne 0x41385e
add eax, esi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x41397d
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov ebx, dword [esp + 0x24]
test ebx, ebx
je 0x4139aa
xor esi, esi
lea eax, [ebx - 1]
dec esi
movzx edi, byte [ecx + eax]
xor ebx, eax
xor edi, 0x30
dec edi
sar edi, 0x1f
and ebx, edi
xor ebx, eax
dec eax
cmp eax, esi
jne 0x413992
jmp 0x4139ac
xor ebx, ebx
test edx, edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
je 0x413a10
xor ecx, ecx
mov dword [esp], edx
xor ebx, ebx
mov esi, dword [esp + 0xc]
mov dword [esp + 4], ecx
inc ebx
shl ebx, cl
cmp ebx, edx
jae 0x413a00
mov ecx, dword [esp + 4]
mov eax, dword [esp + 8]
mov ebp, dword [esp]
xor edi, edi
shr eax, cl
sub ebp, ebx
add ebx, esi
and al, 1
neg al
mov ecx, eax
mov al, byte [esi + edi]
mov ah, byte [ebx + edi]
mov edx, ecx
xor ah, al
and ah, dl
xor al, ah
mov byte [esi + edi], al
xor byte [ebx + edi], ah
inc edi
cmp ebp, edi
jne 0x4139e7
mov ecx, dword [esp + 4]
mov edx, dword [esp]
inc ecx
mov eax, edx
shr eax, cl
test eax, eax
jne 0x4139bd
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x413ef8
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
test edx, edx
je 0x413f3c
mov ebx, dword [eax + 4]
xor ecx, ecx
xor eax, eax
xor edi, edi
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
shrd ebp, esi, cl
shr esi, cl
test cl, 0x20
cmove esi, ebp
cmp ecx, 0x40
mov ebp, 0
cmovae esi, ebp
add ecx, 0x20
xor esi, dword [ebx + edi*4]
inc edi
or eax, esi
cmp edi, edx
jb 0x413f0f
jmp 0x413f3e
xor eax, eax
mov ecx, eax
and eax, 1
shr ecx, 1
or eax, ecx
neg eax
shr eax, 0x1f
xor eax, 1
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x483ed4
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00483edf

Function at 0x48425e
Capabilities:
Create thread
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00484269

Function at 0x4859d7
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004859e2
Function at 0x7ffe53df
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov eax, dword fs:[0x30]
cld
lea esp, [esp]
nop
lea esp, [esp]
stc
pushal
inc eax
popal
nop
push edx
cdq
pop edx
clc
push edx
cdq
pop edx
cld
and bh, 0xff
cld
pushal
inc eax
popal
stc
pushal
inc eax
popal
stc
add eax, 0
cld
and bh, 0xff
nop
and bh, 0xff
cld
pushal
inc eax
popal
stc
and bh, 0xff
cld
push edx
cdq
pop edx
nop
pushal
inc eax
popal
stc
and bh, 0xff
stc
push edx
cdq
pop edx
clc
add eax, 0
cld
add eax, 0
clc
and bh, 0xff
clc
add al, 0
cld
call 0x7ffe543e
pop edx
nop
xor dx, dx
add edx, 0x155e0
xor ecx, ecx
stc
lea esp, [esp]
cld
mov cl, 0x1e
add eax, 0
xor byte [ecx + edx], 0x72
loop 0x7ffe5455
nop
add eax, 0
cld
clc
clc
push dword fs:[0x24]
lea esp, [esp]
cld
clc
pop dword [edx + 0xa]
clc
add eax, 0
nop
cld
cld
mov cl, 0xff
nop
push edx
loop 0x7ffe547b
cld
add eax, 0
clc
mov dword [edx + 0x11], 0xffff2ceb
stc
cld
mov ecx, dword [eax + 0x2c]
add eax, 0
and bh, 0xff
mov dword [edx + 0x1b], ecx
clc
nop
mov dword [edx + 0x100], ecx
lea esp, [esp]
cld
stc
mov dword [eax + 0x2c], esp
clc
cld
push 0
cld
add eax, 0
cld
push eax
pop eax
cld
push 0
cld
cld
push 0
add eax, 0
push 0
nop
push edx
cdq
pop edx
clc
nop
push 0x30
stc
and bh, 0xff
cld
cld
push 0x20
cld
cld
push 0
cld
pushal
inc eax
popal
push 0
nop
and bh, 0xff
stc
nop
add edx, 0xfffeff36
clc
cld
push edx
clc
pushal
inc eax
popal
stc
push edx
stc
push 0
cld
stc
call dword [edx + 0x1020d]
clc
add esp, 0x3f8
lea esp, [esp]
xor eax, eax
cld
push edx
cdq
pop edx
add al, 0
cld
inc eax
cld
stc
ret 0xc