joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ae380
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x65520e
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x6dc0b8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
push str.LAYOUT:compress_classic_dlg
call fcn.004e2c30
mov eax, dword [0x6dc0e4]
mov dword [edi + 0x3f0], eax
mov dword [edi + 0x3f4], eax
mov byte [edi + 0x3f8], 0
mov dword [ebp - 4], 0
lea esi, [edi + 0x400]
mov dword [edi], 0x6b16d8
mov dword [edi + 4], 0x6b15dc
mov dword [edi + 8], 0x6b7ec8
mov dword [edi + 0xc], 0x6b15cc
mov dword [edi + 0x23c], 0x6b15c0
push 8
mov dword [ebp - 0x14], esi
mov dword [esi + 8], 0
call fcn.00545b74
xor ecx, ecx
mov dword [esi + 8], eax
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 3
mov word [eax], cx
mov dword [esi + 0x14], ecx
mov dword [esi + 0x18], ecx
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x20], ecx
mov dword [esi + 0x24], ecx
mov dword [esi + 0x28], ecx
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x30], ecx
mov byte [ebp - 4], 1
push 8
mov dword [edi + 0x438], ecx
call fcn.00545b74
xor ecx, ecx
mov dword [edi + 0x438], eax
mov dword [edi + 0x43c], 0
mov dword [edi + 0x440], 3
mov word [eax], cx
mov byte [ebp - 4], 2
push 8
mov dword [edi + 0x444], ecx
call fcn.00545b74
xor ecx, ecx
mov dword [edi + 0x444], eax
mov dword [edi + 0x448], 0
mov dword [edi + 0x44c], 3
mov word [eax], cx
mov dword [edi + 0x454], ecx
mov dword [edi + 0x458], ecx
mov dword [edi + 0x45c], ecx
mov byte [ebp - 4], 4
push 8
mov dword [edi + 0x464], ecx
call fcn.00545b74
add esp, 0x10
mov dword [edi + 0x464], eax
xor ecx, ecx
mov dword [edi + 0x468], 0
mov dword [edi + 0x46c], 3
mov word [eax], cx
mov dword [edi + 0x474], ecx
mov dword [edi + 0x478], ecx
mov dword [edi + 0x47c], ecx
mov dword [edi + 0x480], ecx
mov dword [edi + 0x484], ecx
mov dword [edi + 0x488], ecx
mov dword [edi + 0x48c], ecx
mov dword [edi + 0x490], ecx
mov dword [edi + 0x494], ecx
mov byte [ebp - 4], 8
push 0x4b9650
push fcn.004a99b0
push 2
push 0xc
lea eax, [edi + 0x498]
push eax
call fcn.00545b8b
lea ecx, [edi + 0x4b0]
mov byte [ebp - 4], 9
call fcn.004ad320
mov byte [ebp - 4], 0xa
push 8
mov dword [edi + 0x598], 0
call fcn.00545b74
mov dword [edi + 0x598], eax
add esp, 4
xor ecx, ecx
mov dword [edi + 0x59c], 0
mov dword [edi + 0x5a0], 3
mov word [eax], cx
mov eax, edi
mov byte [edi + 0x590], cl
mov dword [edi + 0x594], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4afe30
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x6dc0b8]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x19
push 0x692204
lea ecx, [ebp - 0x1c]
call fcn.00509a30
cmp dword [eax + 0x14], 8
jb 0x4afe57
mov eax, dword [eax]
push 1
push 0
push 0
push eax
push 0x6add70
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [ebp - 8]
cmp eax, 8
jb 0x4afe80
inc eax
lea ecx, [ebp - 0x1c]
push eax
push dword [ebp - 0x1c]
call fcn.00416870
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00545b50
mov esp, ebp
pop ebp
ret
Function at 0x4b6580
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword [0x6dc0b8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x5c], 0
push 0xffffffffffffffff
mov esi, dword [edi + 0x578]
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x104]
mov ecx, dword [esi + 0x264]
call fcn.0056e330
mov eax, dword [edi + 0x578]
mov eax, dword [eax + 0x264]
mov dword [ebp - 0x5c], eax
test eax, eax
je 0x4b6782
mov ecx, edi
call fcn.004b52a0
lea eax, [eax + eax*2]
cmp byte [eax*8 + 0x6deaea], 0
je 0x4b6782
push ebx
lea eax, [ebp - 0x8c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x78]
mov ecx, edi
mov dword [ebp - 0x58], eax
call fcn.004b4dd0
mov ecx, dword [edi + 0x450]
mov ecx, dword [ecx]
mov eax, dword [ecx + eax*4]
mov ecx, edi
add eax, 0xc
push eax
call fcn.004b5330
test eax, eax
js 0x4b6662
mov ecx, dword [edi + 0x420]
mov esi, dword [ecx + eax*4]
lea eax, [ebp - 0x68]
push eax
mov ecx, edi
call fcn.004b6210
mov ecx, dword [esi + 0x20]
mov edx, dword [eax]
call fcn.0049ea70
test al, al
je 0x4b664b
cmp dword [esi + 0x10], 0xffffffff
je 0x4b664b
mov bl, 1
jmp 0x4b664d
xor bl, bl
push dword [ebp - 0x68]
call fcn.00545b61
add esp, 4
test bl, bl
je 0x4b6662
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x58], eax
mov ecx, dword [edi + 0x568]
mov ebx, 1
mov eax, dword [ecx]
call dword [eax + 0x100]
test eax, eax
jg 0x4b667e
or eax, 0xffffffff
jmp 0x4b669e
mov ecx, dword [edi + 0x568]
mov eax, dword [ecx]
call dword [eax + 0xfc]
mov ecx, dword [edi + 0x568]
push eax
mov ecx, dword [ecx + 0x264]
call fcn.0056e78d
sub eax, 1
je 0x4b66b4
sub eax, 1
je 0x4b66ad
sub eax, 2
jne 0x4b66b9
mov ebx, 0x20
jmp 0x4b66b9
mov ebx, 2
cmp dword [edi + 0x594], 0
mov eax, 0x80
cmove ebx, eax
lea esi, [eax - 0x7f]
mov eax, dword [ebp - 0x78]
add eax, eax
cmp eax, esi
jb 0x4b6710
cmp esi, ebx
ja 0x4b6710
lea edx, [ebp - 0x54]
mov ecx, esi
call fcn.0049df50
mov ecx, dword [ebp - 0x5c]
lea eax, [ebp - 0x54]
push 0
push 0xffffffffffffffff
push eax
call fcn.0056e233
mov ecx, dword [edi + 0x578]
push esi
push eax
mov ecx, dword [ecx + 0x264]
call fcn.0056fd60
mov ecx, dword [ebp - 0x78]
inc esi
lea eax, [ecx + ecx]
cmp esi, eax
jbe 0x4b66d4
push dword [ebp - 0x58]
push dword [edi + 0x578]
call fcn.004b5380
cmp dword [edi + 0x49c], 0
pop ebx
je 0x4b6782
mov eax, dword [edi + 0x594]
test eax, eax
je 0x4b6737
cmp eax, 1
jne 0x4b6782
mov ecx, dword [edi + 0x550]
mov eax, dword [ecx]
call dword [eax + 0xfc]
mov ecx, eax
test ecx, ecx
jle 0x4b6782
mov eax, dword [edi + 0x594]
add eax, 0x62
lea eax, [eax + eax*2]
mov eax, dword [edi + eax*4]
mov eax, dword [eax + ecx*4 - 4]
mov ecx, edi
movups xmm0, xmmword [eax]
push dword [eax + 0x18]
movups xmmword [ebp - 0x84], xmm0
movq xmm0, qword [eax + 0x10]
push dword [edi + 0x578]
movq qword [ebp - 0x74], xmm0
call fcn.004b8810
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00545b50
mov esp, ebp
pop ebp
ret
Function at 0x4bbab0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6560de
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x6dc0b8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
push str.LAYOUT:compress_lightmode
call fcn.004e2c30
mov eax, dword [0x6dc0e4]
mov dword [edi + 0x3f0], eax
mov dword [edi + 0x3f4], eax
mov byte [edi + 0x3f8], 0
mov dword [ebp - 4], 0
lea esi, [edi + 0x400]
mov dword [edi], 0x6b1f20
mov dword [edi + 4], 0x6b1e24
mov dword [edi + 8], 0x6b7ec8
mov dword [edi + 0xc], 0x6b1e14
mov dword [edi + 0x23c], 0x6b1e08
push 8
mov dword [ebp - 0x14], esi
mov dword [esi + 8], 0
call fcn.00545b74
xor ecx, ecx
mov dword [esi + 8], eax
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 3
mov word [eax], cx
mov dword [esi + 0x14], ecx
mov dword [esi + 0x18], ecx
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x20], ecx
mov dword [esi + 0x24], ecx
mov dword [esi + 0x28], ecx
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x30], ecx
mov byte [ebp - 4], 1
push 8
mov dword [edi + 0x438], ecx
call fcn.00545b74
xor ecx, ecx
mov dword [edi + 0x438], eax
mov dword [edi + 0x43c], 0
mov dword [edi + 0x440], 3
mov word [eax], cx
mov byte [ebp - 4], 2
push 8
mov dword [edi + 0x444], ecx
call fcn.00545b74
xor ecx, ecx
mov dword [edi + 0x444], eax
mov dword [edi + 0x448], 0
mov dword [edi + 0x44c], 3
mov word [eax], cx
mov dword [edi + 0x454], ecx
mov dword [edi + 0x458], ecx
mov dword [edi + 0x45c], ecx
mov byte [ebp - 4], 4
push 8
mov dword [edi + 0x464], ecx
call fcn.00545b74
xor ecx, ecx
mov dword [edi + 0x464], eax
mov dword [edi + 0x468], 0
mov dword [edi + 0x46c], 3
mov word [eax], cx
mov byte [ebp - 4], 5
push 8
mov dword [edi + 0x484], ecx
call fcn.00545b74
mov dword [edi + 0x484], eax
add esp, 0x14
mov dword [edi + 0x488], 0
xor ecx, ecx
mov dword [edi + 0x48c], 3
mov word [eax], cx
mov eax, edi
mov word [edi + 0x480], 1
mov byte [edi + 0x482], cl
mov dword [edi + 0x490], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4be410
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c4
mov eax, dword [0x6dc0b8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
mov ecx, dword [ebp + 8]
push esi
push 0
push 0x4be4f0
push ecx
mov dword [esi + 8], 1
mov dword [esi], ecx
mov dword [esi + 4], eax
call dword [sym.imp.COMCTL32.dll_SetWindowSubclass]
push 0
push 0x6b246c
push dword [esi]
call dword [sym.imp.UxTheme.dll_SetWindowTheme]
lea eax, [esi + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x190
call fcn.005e74a6
add esp, 4
mov dword [esi + 0x28], eax
push 0x320
call fcn.005e74a6
add esp, 4
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], 0x64
push 0x190
push 0
push dword [esi + 0x28]
call fcn.005e0dd0
add esp, 0xc
lea eax, [ebp - 0x2c0]
push 0x4010
push 0x2b4
push eax
push 0x90
push str.dummy
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov ecx, dword [ebp - 0x2bc]
mov dword [esi + 0x34], ecx
mov ecx, esi
mov dword [esi + 0xc], 1
call fcn.004be6d0
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00545b50
mov esp, ebp
pop ebp
ret 8
Function at 0x4be6d0
Capabilities:
Get common file path
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x764
mov eax, dword [0x6dc0b8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0xffff0000
mov edi, ecx
mov dword [ebp - 0x6dc], 0
push 0
push 0x1101
mov dword [ebp - 0x6d8], 0
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, dword [sym.imp.SHELL32.dll_SHGetFolderLocation]
lea eax, [ebp - 0x6d8]
push eax
push 0
push 0
push 0
push 0
call esi
test eax, eax
js 0x4be90c
lea eax, [ebp - 0x6d4]
mov dword [ebp - 0x6d4], 0
push eax
push 0
push 0
push 0
push 0
call esi
mov ebx, dword [sym.imp.ole32.dll_CoTaskMemFree]
test eax, eax
js 0x4be776
push 0x8000
push ecx
mov ecx, dword [ebp - 0x6d4]
lea edx, [ebp - 0x418]
call fcn.004dffd0
add esp, 8
push dword [ebp - 0x6d4]
call ebx
lea edx, [ebp - 0x6d4]
mov dword [ebp - 0x6d4], 0
lea ecx, [ebp - 0x418]
call fcn.004dff30
test eax, eax
js 0x4be7b4
push 1
push ecx
mov ecx, dword [ebp - 0x6d4]
lea edx, [ebp - 0x210]
call fcn.004dffd0
add esp, 8
push dword [ebp - 0x6d4]
call ebx
push 0x4008
push 0
lea eax, [ebp - 0x6d0]
push eax
push 0
push dword [ebp - 0x6d8]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov ecx, edi
call fcn.004bf170
push dword [ebp - 0x6d8]
mov esi, eax
call dword [sym.imp.SHELL32.dll_ILClone]
mov ecx, dword [edi + 0x2c]
mov dword [ebp - 0x718], 0x67
mov dword [ecx + esi*8], eax
mov eax, dword [edi + 0x28]
mov dword [eax + esi*4], 1
lea eax, [ebp - 0x210]
push eax
mov dword [ebp - 0x708], eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
movups xmm0, xmmword [ebp - 0x718]
mov dword [ebp - 0x704], eax
mov eax, dword [ebp - 0x6cc]
mov dword [ebp - 0x700], eax
mov dword [ebp - 0x6fc], eax
mov eax, dword [ebp - 0x6e0]
movups xmmword [ebp - 0x758], xmm0
mov dword [ebp - 0x720], eax
lea eax, [ebp - 0x760]
movups xmm0, xmmword [ebp - 0x708]
push eax
mov dword [ebp - 0x6f8], 1
movups xmmword [ebp - 0x748], xmm0
mov dword [ebp - 0x6f4], esi
movups xmm0, xmmword [ebp - 0x6f8]
push 0
push 0x1132
push dword [edi]
movups xmmword [ebp - 0x738], xmm0
mov dword [ebp - 0x760], 0
movq xmm0, qword [ebp - 0x6e8]
mov dword [ebp - 0x75c], 0xffff0002
movq qword [ebp - 0x728], xmm0
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, eax
test esi, esi
je 0x4be8f1
lea eax, [ebp - 0x6dc]
push eax
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
js 0x4be8f1
push esi
push dword [ebp - 0x6d8]
mov ecx, edi
push dword [ebp - 0x6dc]
call fcn.004beb00
push esi
push 2
push 0x1102
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x6dc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push dword [ebp - 0x6d8]
call ebx
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00545b50
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00545b50
mov esp, ebp
pop ebp
ret
Function at 0x4be9a0
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2f4
mov eax, dword [0x6dc0b8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
test byte [esi + 0xc], 2
je 0x4bea67
mov eax, dword [edi + 0x34]
mov dword [esi + 0x24], eax
mov eax, dword [edi + 0x34]
push ebx
mov ebx, dword [esi + 0x10]
mov dword [esi + 0x28], eax
lea eax, [ebp - 0x2f4]
push eax
push 0
push 0x113e
push dword [edi]
mov dword [ebp - 0x2f4], 0x14
mov dword [ebp - 0x2f0], ebx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [edi + 0x2c]
mov eax, dword [ebp - 0x2d0]
push dword [ecx + eax*8]
call dword [sym.imp.SHELL32.dll_ILClone]
push 0x4048
mov edi, eax
lea eax, [ebp - 0x2b8]
push 0x2b4
push eax
push 0
push edi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x4bea66
mov eax, dword [ebp - 0x2b4]
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
sar eax, 0x18
mov dword [esi + 0x10], ebx
test eax, eax
je 0x4bea53
or dword [esi + 0xc], 8
shl eax, 8
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], 0xf00
push dword [ebp - 0x2b8]
call dword [sym.imp.USER32.dll_DestroyIcon]
push edi
call dword [sym.imp.ole32.dll_CoTaskMemFree]
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00545b50
mov esp, ebp
pop ebp
ret 4
Function at 0x4c2ad0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x65675f
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x6dc0b8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 8
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.005e74a6
mov edi, eax
add esp, 4
test edi, edi
jne 0x4c2b1d
push 0x6d8324
lea eax, [ebp - 0xd]
push eax
call fcn.005e0fac
mov dword [ebp - 0x14], edi
push 1
mov dword [ebp - 4], 0
call fcn.0053ec16
mov dword [edi + 4], eax
lea ecx, [esi + 8]
lea eax, [esi + 4]
mov dword [esi + 0x34], edi
mov dword [esi + 0xc], eax
add esp, 4
lea eax, [esi + 0x14]
mov dword [esi + 0x10], ecx
mov dword [esi + 0x1c], eax
lea eax, [esi + 0x18]
mov dword [esi + 0x20], eax
lea eax, [esi + 0x24]
mov dword [esi + 0x2c], eax
lea eax, [esi + 0x28]
mov dword [esi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov eax, dword [esi + 0x30]
mov dword [eax], 0
mov eax, dword [esi + 0xc]
mov dword [eax], 0
mov eax, dword [esi + 0x1c]
mov dword [eax], 0
mov eax, dword [esi + 0x2c]
mov dword [eax], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4c8be0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x6dc0b8]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x19
push 0x6a6d60
lea ecx, [ebp - 0x1c]
call fcn.00509a30
cmp dword [eax + 0x14], 8
jb 0x4c8c07
mov eax, dword [eax]
push 1
push 0
push 0
push eax
push 0x6add70
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [ebp - 8]
cmp eax, 8
jb 0x4c8c30
inc eax
lea ecx, [ebp - 0x1c]
push eax
push dword [ebp - 0x1c]
call fcn.00416870
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00545b50
mov esp, ebp
pop ebp
ret
Function at 0x4c8c40
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x656dd8
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x6dc0b8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x28]
push eax
push 7
call fcn.004ea780
add esp, 8
lea eax, [ebp - 0x58]
lea ecx, [ebp - 0x28]
push eax
call fcn.004e9790
sub esp, 8
mov byte [ebp - 4], 1
mov ecx, esp
mov dword [ecx], 0x6b36e8
mov dword [ecx + 4], 0xe
lea ecx, [ebp - 0x40]
push ecx
mov ecx, eax
call fcn.004e9d10
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x4c8ce1
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00416870
xor eax, eax
mov dword [ebp - 0x44], 7
cmp dword [ebp - 0x2c], 8
push 1
push 0
mov word [ebp - 0x58], ax
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push str._Update
push eax
push 0x6add70
push 0
mov dword [ebp - 0x48], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x4c8d30
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00416870
xor eax, eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov dword [ebp - 0x30], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x4c8d60
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00416870
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00545b50
mov esp, ebp
pop ebp
ret

Function at 0x4c8d90
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x6dc0b8]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x26
push 0x6a6d38
lea ecx, [ebp - 0x1c]
call fcn.00509a30
cmp dword [eax + 0x14], 8
jb 0x4c8db7
mov eax, dword [eax]
push 1
push 0
push 0
push eax
push 0x6add70
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [ebp - 8]
cmp eax, 8
jb 0x4c8de0
inc eax
lea ecx, [ebp - 0x1c]
push eax
push dword [ebp - 0x1c]
call fcn.00416870
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00545b50
mov esp, ebp
pop ebp
ret
Function at 0x4cd100
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x13a0
call fcn.005468f0
mov eax, dword [0x6dc0b8]
xor eax, ebp
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xc], 0xffffffff
mov ecx, 1
mov dword [ebp - 0x138c], eax
nop
mov edx, eax
shr edx, 0x1e
xor edx, eax
imul eax, edx, 0x6c078965
add eax, ecx
mov dword [ebp + ecx*4 - 0x138c], eax
inc ecx
cmp ecx, 0x270
jl 0x4cd130
lea eax, [ebp - 0x1390]
mov dword [ebp - 0x1390], 0x270
push 0x186a0
lea ecx, [ebp - 0x139c]
mov dword [ebp - 0x139c], eax
mov dword [ebp - 0x1398], 0x20
mov dword [ebp - 0x1394], 0xffffffff
call fcn.004d0830
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00545b50
mov esp, ebp
pop ebp
ret
Function at 0x4cff20
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x657c3b
mov eax, dword fs:[0]
push eax
sub esp, 0x284
mov eax, dword [0x6dc0b8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x278], ebx
mov dword [ebp - 0x264], 0
mov dword [ebp - 4], 1
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
push 0x6acfe4
lea edx, [ebp + 0xc]
mov dword [ebp - 0x264], 1
lea ecx, [ebp - 0x290]
call fcn.0049f250
add esp, 4
lea eax, [ebp - 0x260]
mov byte [ebp - 4], 2
push eax
push dword [ebp - 0x290]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov dword [ebp - 0x268], esi
cmp esi, 0xffffffff
je 0x4d00a7
mov edx, 2
nop dword [eax]
mov ax, word [ebp - 0x234]
cmp ax, 0x2e
je 0x4d0085
xor esi, esi
test ax, ax
je 0x4cfffc
nop dword [eax + eax]
inc esi
cmp word [ebp + esi*2 - 0x234], 0
jne 0x4cfff0
xor ecx, ecx
lea eax, [esi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00545b74
mov edi, eax
mov dword [ebp - 0x270], esi
mov dword [ebp - 0x26c], esi
lea eax, [ebp - 0x234]
lea esi, [esi*2 + 2]
mov dword [ebp - 0x274], edi
push esi
push eax
push edi
call fcn.005e0850
lea eax, [ebp - 0x274]
mov byte [ebp - 4], 3
push eax
lea edx, [ebp + 0xc]
lea ecx, [ebp - 0x284]
call fcn.0049f1c0
add esp, 0x14
lea eax, [ebp - 0x284]
mov byte [ebp - 4], 4
push eax
mov ecx, ebx
call fcn.00406580
push dword [ebp - 0x284]
call fcn.00545b61
push edi
mov byte [ebp - 4], 2
call fcn.00545b61
mov esi, dword [ebp - 0x268]
add esp, 8
lea eax, [ebp - 0x260]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov edx, 2
test eax, eax
jne 0x4cffd0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
push dword [ebp - 0x290]
call fcn.00545b61
push dword [ebp + 0xc]
call fcn.00545b61
add esp, 8
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00545b50
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4d00e0
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [ecx + 0x5a0]
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], eax
test eax, eax
je 0x4d01c0
push esi
xor esi, esi
test eax, eax
jle 0x4d01bf
push ebx
lea edx, [esi + 2]
push edi
nop word [eax + eax]
mov eax, dword [ecx + 0x59c]
xor ecx, ecx
mov edi, dword [eax + esi*4]
mov ebx, dword [edi + 4]
lea eax, [ebx + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00545b74
mov ecx, dword [edi + 4]
mov dword [ebp - 8], eax
lea ecx, [ecx*2 + 2]
push ecx
push dword [edi]
mov edi, eax
push edi
call fcn.005e0850
add esp, 0x10
xor eax, eax
mov word [edi + ebx*2 - 2], ax
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4d01a2
mov eax, dword [ebp - 4]
mov dword [ebp - 0x28], 3
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], 0
mov eax, dword [eax + 0x248]
mov dword [ebp - 0x2c], eax
mov eax, 0x10
mov word [ebp - 0x1c], ax
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x1a], 0
mov dword [ebp - 0x16], 0
mov dword [ebp - 0x12], 0
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
push edi
call fcn.00545b61
mov ecx, dword [ebp - 4]
inc esi
add esp, 4
mov edx, 2
cmp esi, dword [ebp - 0xc]
jl 0x4d0110
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4d03d0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x6dc0b8]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x26
push 0x6a6f08
lea ecx, [ebp - 0x1c]
call fcn.00509a30
cmp dword [eax + 0x14], 8
jb 0x4d03f7
mov eax, dword [eax]
push 1
push 0
push 0
push eax
push 0x6add70
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [ebp - 8]
cmp eax, 8
jb 0x4d0420
inc eax
lea ecx, [ebp - 0x1c]
push eax
push dword [ebp - 0x1c]
call fcn.00416870
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00545b50
mov esp, ebp
pop ebp
ret

Function at 0x4d0920
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
lea eax, [ecx + 8]
mov esi, 0x270
nop dword [eax]
mov edx, dword [eax - 4]
lea eax, [eax + 4]
xor edx, dword [eax - 4]
and edx, 0x7fffffff
xor edx, dword [eax - 8]
mov ecx, edx
and cl, 1
movzx ecx, cl
neg ecx
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [eax + 0x62c]
xor ecx, edx
mov dword [eax + 0x9b8], ecx
sub esi, 1
jne 0x4d0930
pop esi
ret