joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48cdb0
Capabilities:
Check mutex on windows
Get common file path
Query or enumerate registry value
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b9238
push 0x49c708
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
xor ebx, ebx
mov dword [ebp - 4], ebx
push 0x300
push 0x300
call fcn.0049c5c6
push 0x300
push 0x300
call fcn.0049c5f8
add esp, 0x10
call fcn.0048c8c0
call fcn.00464240
mov dword [0x4e6408], ebx
lea ecx, [0x4d2ce4]
push 0x123331
push ecx
push 0x985a3d
push str._5taT3_0f_3Mer9EnCy_
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [0x4e6404], eax
cmp eax, ebx
je 0x48cfbd
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
cmp eax, 0xb7
jmp 0x48ce5c
push ebx
call dword [section..xqrf]
call dword [sym.imp.WINMM.dll_timeGetTime]
push eax
call fcn.0049aa60
add esp, 4
lea eax, [ebp - 0x1c]
push eax
push 0x20019
push ebx
push str.SoftwareGatheringState_of_Emergency
push 0x80000002
call dword [section..xqrf]
test eax, eax
jne 0x48cee3
lea ecx, [ebp - 0x20]
push ecx
push ebx
lea edx, [ebp - 0x24]
push edx
push ebx
push 0x4c38e3
mov eax, dword [ebp - 0x1c]
push eax
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
call esi
test eax, eax
jne 0x48cee3
cmp dword [ebp - 0x24], 1
jne 0x48cee3
cmp dword [ebp - 0x20], 0x105
ja 0x48cee3
lea ecx, [ebp - 0x20]
push ecx
push 0x4e61d8
push ebx
push ebx
push 0x4c38e3
mov edx, dword [ebp - 0x1c]
push edx
call esi
test eax, eax
jne 0x48cee3
push 0x4e61d8
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push 0x4e61d8
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov eax, dword [ebp + 0x10]
call fcn.0048c650
mov esi, dword [ebp + 8]
push esi
call fcn.0048cd40
add esp, 4
pop eax
pop eax
pop edi
push esi
call fcn.0048c5b0
add esp, 4
test eax, eax
je 0x48d003
push 0xc2
lea eax, [0x14c7848]
push eax
push 0x86b265
mov eax, dword [0x4e62dc]
mov dword [0x1520ea0], eax
call dword [section..xqrf]
and eax, 0x800000ff
mov dword [ebp - 0x28], eax
xor ecx, ecx
cmp eax, 0x80000004
sete cl
mov eax, ecx
mov dword [ebp - 0x2c], eax
mov dword [0x4e6414], eax
cmp dword [0x4e6408], ebx
jne 0x48cf8d
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [0x4e62dc]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [0x4e62dc]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
push 1
push ebx
mov edx, dword [0x4e62dc]
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
add esp, 0xc
push ebp
add esp, 4
push 0x48c4b0
call fcn.0049c45c
add esp, 4
call fcn.00463db0
call fcn.00464250
call fcn.00489510
call fcn.0048c980
mov dword [0x4cdce4], ebx
jmp 0x48d003
push ebx
push str.State_Of_Emergency
push str.Error_creating_game_mutex.
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
mov dword [ebp - 4], 0xffffffff
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov dword [ebp - 4], 0xffffffff
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x48f8d0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x104
mov eax, dword [0x4cf0e8]
xor eax, dword [esp + 0x104]
mov dword [esp + 0x100], eax
xor eax, eax
jmp 0x48f8f0
mov cl, byte [eax + 0x4e61d8]
mov byte [eax + 0x124b060], cl
inc eax
test cl, cl
jne 0x48f8f0
push esi
push edi
mov edi, 0x124b060
dec edi
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x48f910
mov eax, dword [str.Options.dat]
mov ecx, dword [0x4b9924]
mov edx, dword [0x4b9928]
mov dword [edi], eax
mov al, byte [0x4b992c]
push 0x124b060
mov dword [edi + 4], ecx
push 0x100
lea ecx, [esp + 0x10]
push ecx
mov dword [edi + 8], edx
mov edx, dword [esp + 0x120]
push str.UNUSED
mov byte [edi + 0xc], al
mov eax, dword [esp + 0x120]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edi, str.UNUSED
lea esi, [esp + 8]
mov ecx, 0xb
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
pop edi
pop esi
jne 0x48f994
xor eax, eax
mov ecx, dword [esp + 0x100]
xor ecx, dword [esp + 0x104]
add esp, 0x104
jmp fcn.0049bf7c
lea eax, [esp]
push eax
call fcn.0049cba8
mov ecx, dword [esp + 0x114]
mov dword [ecx], eax
mov ecx, dword [esp + 0x104]
add esp, 4
xor ecx, dword [esp + 0x104]
mov eax, 1
add esp, 0x104
jmp fcn.0049bf7c
Function at 0x4a06bd
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x4cf0e8]
xor eax, dword [ebp + 4]
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], edi
jne 0x4a06e6
xor eax, eax
jmp 0x4a0854
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 8]
and eax, 0x1f
sar ebx, 5
push esi
lea esi, [eax + eax*8]
lea ebx, [ebx*4 + 0x14c7980]
mov eax, dword [ebx]
shl esi, 2
test byte [eax + esi + 4], 0x20
je 0x4a0719
push 2
push edi
push edi
push dword [ebp + 8]
call fcn.004a5998
add esp, 0x10
mov eax, dword [ebx]
add eax, esi
test byte [eax + 4], 0x80
je 0x4a07eb
cmp dword [ebp + 0x10], edi
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], edi
jbe 0x4a0826
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x420]
mov dword [ebp - 0xc], edi
cmp ecx, dword [ebp + 0x10]
jae 0x4a0774
mov edx, dword [ebp - 0x10]
inc dword [ebp - 0x10]
mov dl, byte [edx]
inc ecx
cmp dl, 0xa
jne 0x4a0765
inc dword [ebp - 0x18]
mov byte [eax], 0xd
inc eax
inc dword [ebp - 0xc]
mov byte [eax], dl
inc eax
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0x400
jl 0x4a0748
mov edi, eax
lea eax, [ebp - 0x420]
sub edi, eax
push 0
lea eax, [ebp - 0x1c]
push eax
push edi
lea eax, [ebp - 0x420]
push eax
mov eax, dword [ebx]
push dword [eax + esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4a07b4
mov eax, dword [ebp - 0x1c]
add dword [ebp - 0x14], eax
cmp eax, edi
jl 0x4a07bd
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp + 0xc]
xor edi, edi
cmp eax, dword [ebp + 0x10]
jb 0x4a0739
jmp 0x4a07bf
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
xor edi, edi
mov eax, dword [ebp - 0x14]
cmp eax, edi
jne 0x4a084f
cmp dword [ebp - 8], edi
je 0x4a0826
push 5
pop esi
cmp dword [ebp - 8], esi
jne 0x4a0818
call fcn.0049f490
mov dword [eax], 9
call fcn.0049f499
mov dword [eax], esi
jmp 0x4a0821
push edi
lea ecx, [ebp - 0x1c]
push ecx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4a080d
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], edi
mov dword [ebp - 0x14], eax
jmp 0x4a07bf
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
jmp 0x4a07bf
push dword [ebp - 8]
call fcn.0049f4a2
pop ecx
or eax, 0xffffffff
jmp 0x4a0852
mov eax, dword [ebx]
test byte [eax + esi + 4], 0x40
je 0x4a083b
mov eax, dword [ebp + 0xc]
cmp byte [eax], 0x1a
jne 0x4a083b
xor eax, eax
jmp 0x4a0852
call fcn.0049f490
mov dword [eax], 0x1c
call fcn.0049f499
mov dword [eax], edi
jmp 0x4a0821
sub eax, dword [ebp - 0x18]
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp + 4]
pop edi
call fcn.0049bf7c
leave
ret
Function at 0x4a0cd1
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push 8
call fcn.0049e59e
xor esi, esi
inc esi
cmp dword [0x12677cc], esi
pop ecx
jne 0x4a0cf9
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
cmp dword [ebp + 0xc], 0
mov al, byte [ebp + 0x10]
mov dword [0x12677c8], esi
mov byte [0x12677c4], al
jne 0x4a0d5f
mov ecx, dword [0x14c7968]
test ecx, ecx
je 0x4a0d40
mov eax, dword [0x14c7964]
sub eax, 4
cmp eax, ecx
jmp 0x4a0d39
mov eax, dword [eax]
test eax, eax
je 0x4a0d2b
call eax
mov eax, dword [0x14c7964]
sub eax, 4
cmp eax, dword [0x14c7968]
mov dword [0x14c7964], eax
jae 0x4a0d23
mov eax, 0x4c7030
mov esi, 0x4c7038
cmp eax, esi
mov edi, eax
jae 0x4a0d5f
mov eax, dword [edi]
test eax, eax
je 0x4a0d58
call eax
add edi, 4
cmp edi, esi
jb 0x4a0d50
mov eax, 0x4c703c
mov esi, 0x4c7044
cmp eax, esi
mov edi, eax
jae 0x4a0d7e
mov eax, dword [edi]
test eax, eax
je 0x4a0d77
call eax
add edi, 4
cmp edi, esi
jb 0x4a0d6f
cmp dword [ebp + 0x10], 0
pop edi
pop esi
je 0x4a0d8f
push 8
call fcn.0049e50a
jmp 0x4a0da1
push dword [ebp + 8]
mov dword [0x12677cc], 1
call fcn.004a0c2a
pop ecx
pop ebp
ret
Function at 0x4a0de4
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x4cf0e8]
xor eax, dword [ebp + 4]
mov ecx, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 4], eax
xor edx, edx
push edi
xor eax, eax
cmp ecx, dword [eax*8 + 0x4cf8f8]
je 0x4a0e11
inc eax
cmp eax, 0x12
jb 0x4a0e02
mov esi, eax
shl esi, 3
cmp ecx, dword [esi + 0x4cf8f8]
jne 0x4a0f45
mov eax, dword [0x1267604]
cmp eax, 1
je 0x4a0f20
cmp eax, edx
jne 0x4a0e41
cmp dword [0x4cf0c4], 1
je 0x4a0f20
cmp ecx, 0xfc
je 0x4a0f45
push 0x104
lea eax, [ebp - 0x10c]
push eax
push edx
mov byte [ebp - 8], dl
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4a0e7a
lea eax, [ebp - 0x10c]
push str._program_name_unknown_
push eax
call fcn.004a4ab0
pop ecx
pop ecx
lea eax, [ebp - 0x10c]
push eax
lea edi, [ebp - 0x10c]
call fcn.0049fee0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x4a0ebc
lea eax, [ebp - 0x10c]
push eax
call fcn.0049fee0
mov edi, eax
lea eax, [ebp - 0x10c]
sub eax, 0x3b
push 3
add edi, eax
push 0x4c335c
push edi
call fcn.0049ae30
add esp, 0x10
push edi
call fcn.0049fee0
push dword [esi + 0x4cf8fc]
mov ebx, eax
call fcn.0049fee0
lea eax, [ebx + eax + 0x1c]
pop ecx
add eax, 3
pop ecx
and eax, 0xfffffffc
call fcn.004a15e0
mov ebx, esp
push str.Runtime_Error__n_nProgram:
push ebx
call fcn.004a4ab0
push edi
push ebx
call fcn.004a4ac0
push 0x4c1144
push ebx
call fcn.004a4ac0
push dword [esi + 0x4cf8fc]
push ebx
call fcn.004a4ac0
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebx
call fcn.004a5a1b
add esp, 0x2c
jmp 0x4a0f45
push edx
lea eax, [ebp + 8]
push eax
lea esi, [esi + 0x4cf8fc]
push dword [esi]
call fcn.0049fee0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea esp, [ebp - 0x118]
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp + 4]
call fcn.0049bf7c
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4a5a1b
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x1267980], ebx
push esi
push edi
jne 0x4a5a9b
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x4a5ad6
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4bf654
push edi
call esi
test eax, eax
mov dword [0x1267980], eax
je 0x4a5ad6
push str.GetActiveWindow
push edi
call esi
push str.GetLastActivePopup
push edi
mov dword [0x1267984], eax
call esi
cmp dword [0x126778c], 2
mov dword [0x1267988], eax
jne 0x4a5a9b
push str.GetUserObjectInformationA
push edi
call esi
test eax, eax
mov dword [0x1267990], eax
je 0x4a5a9b
push str.GetProcessWindowStation
push edi
call esi
mov dword [0x126798c], eax
mov eax, dword [0x126798c]
test eax, eax
je 0x4a5ae0
call eax
test eax, eax
je 0x4a5ac7
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x1267990]
test eax, eax
je 0x4a5ac7
test byte [ebp - 8], 1
jne 0x4a5ae0
cmp dword [0x1267798], 4
jb 0x4a5ada
or byte [ebp + 0x12], 0x20
jmp 0x4a5aff
xor eax, eax
jmp 0x4a5b0f
or byte [ebp + 0x12], 4
jmp 0x4a5aff
mov eax, dword [0x1267984]
test eax, eax
je 0x4a5aff
call eax
mov ebx, eax
test ebx, ebx
je 0x4a5aff
mov eax, dword [0x1267988]
test eax, eax
je 0x4a5aff
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x1267980]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4a73c0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push edi
push 4
pop eax
call fcn.004a15e0
mov ebx, esp
push 0x1c
lea eax, [ebp - 0x24]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x4a7455
mov edi, dword [ebp - 0x20]
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x44]
lea esi, [eax - 1]
not esi
and esi, ebx
sub esi, eax
mov dword [ebp - 4], eax
mov eax, dword [0x126778c]
mov ecx, eax
dec ecx
neg ecx
sbb ecx, ecx
and ecx, 0xffff1000
add ecx, 0x11000
add ecx, edi
cmp esi, ecx
jb 0x4a7455
cmp eax, 1
je 0x4a746d
mov ebx, edi
mov edi, 0x1000
push 0x1c
lea eax, [ebp - 0x24]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x4a7455
add ebx, dword [ebp - 0x18]
test dword [ebp - 0x14], edi
je 0x4a742a
test byte [ebp - 0xf], 1
mov ebx, dword [ebp - 0x24]
je 0x4a7451
xor eax, eax
inc eax
jmp 0x4a7489
cmp esi, ebx
jae 0x4a7459
xor eax, eax
jmp 0x4a7489
push 4
push edi
push dword [ebp - 4]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x126778c]
jmp 0x4a746f
mov ebx, esi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 8]
push ecx
inc eax
push eax
push dword [ebp - 4]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x54]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4a7557
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.004a15e0
mov eax, dword [0x4cf0e8]
xor eax, dword [ebp + 4]
push ebx
push esi
push 1
xor esi, esi
push esi
push dword [ebp + 8]
mov dword [ebp - 4], eax
call fcn.004a0b0b
or ebx, 0xffffffff
add esp, 0xc
cmp eax, ebx
mov dword [ebp - 8], eax
je 0x4a7681
push 2
push esi
push dword [ebp + 8]
call fcn.004a0b0b
add esp, 0xc
cmp eax, ebx
je 0x4a7681
push edi
mov edi, dword [ebp + 0xc]
sub edi, eax
test edi, edi
jle 0x4a7624
mov ebx, 0x1000
push ebx
lea eax, [ebp - 0x100c]
push esi
push eax
call fcn.004a3c20
push 0x8000
push dword [ebp + 8]
call fcn.004a7f81
add esp, 0x14
mov dword [ebp - 0xc], eax
cmp edi, ebx
mov eax, ebx
jge 0x4a75dd
mov eax, edi
push eax
lea eax, [ebp - 0x100c]
push eax
push dword [ebp + 8]
call fcn.004a06bd
add esp, 0xc
cmp eax, 0xffffffff
je 0x4a75fd
sub edi, eax
test edi, edi
jg 0x4a75d5
jmp 0x4a7615
call fcn.0049f499
cmp dword [eax], 5
jne 0x4a7612
call fcn.0049f490
mov dword [eax], 0xd
or esi, 0xffffffff
push dword [ebp - 0xc]
push dword [ebp + 8]
call fcn.004a7f81
pop ecx
pop ecx
jmp 0x4a766c
jge 0x4a766c
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004a0b0b
push dword [ebp + 8]
call fcn.004a52fd
add esp, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov esi, eax
neg esi
sbb esi, esi
neg esi
dec esi
cmp esi, ebx
jne 0x4a766c
call fcn.0049f490
mov dword [eax], 0xd
call fcn.0049f499
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi], eax
push 0
push dword [ebp - 8]
push dword [ebp + 8]
call fcn.004a0b0b
add esp, 0xc
mov eax, esi
pop edi
jmp 0x4a7683
mov eax, ebx
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp + 4]
pop esi
pop ebx
call fcn.0049bf7c
leave
ret

Function at 0x4ab907
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push str.SoftwareMicrosoftDirect3D
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x4ab95f
push esi
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 8]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
jne 0x4ab95f
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 8]
jne 0x4ab95f
xor eax, eax
inc eax
leave
ret
xor eax, eax
leave
ret
Function at 0x4aba40
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x98
push ebx
push edi
push 0x25
pop ecx
xor eax, eax
lea edi, [ebp - 0x24]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x24]
xor bl, bl
and byte [ebp + 0x73], bl
push eax
mov dword [ebp - 0x24], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x4aba77
inc bl
mov byte [ebp + 0x73], 1
cmp dword [ebp - 0x14], 1
jne 0x4aba99
cmp dword [ebp - 0x20], 4
ja 0x4abaa3
jne 0x4aba93
cmp dword [ebp - 0x1c], 0xa
jb 0x4aba93
cmp word [ebp - 0x18], 0x55d
jae 0x4abaa3
mov byte [ebp + 0x73], 1
jmp 0x4abaa3
cmp dword [ebp - 0x14], 2
jne 0x4abab9
test bl, bl
je 0x4abad4
mov eax, dword [ebp + 0x7c]
sub eax, 6
je 0x4abac4
dec eax
je 0x4ababd
sub eax, 3
jne 0x4abab9
cmp byte [ebp + 0x73], 0
je 0x4abae5
xor eax, eax
jmp 0x4abaed
call fcn.004ab963
jmp 0x4abaed
cmp byte [ebp + 0x73], 0
jne 0x4abab9
call fcn.004ab99b
and eax, 4
jmp 0x4abaed
cmp dword [ebp + 0x7c], 0xa
je 0x4abae5
push dword [ebp + 0x7c]
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
jmp 0x4abaed
call fcn.004ab99b
and eax, 8
pop edi
pop ebx
add ebp, 0x74
leave
ret
Function at 0x15ada20
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0x67452301
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], 0xefcdab89
mov edx, dword [ebp + 8]
mov dword [edx + 8], 0x98badcfe
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], 0x10325476
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp + 8]
mov dword [edx + 0x14], 0
pop ebp
ret 4

Function at 0x15aeef0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, 0x1551030
sub eax, 0x154fe90
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
push ecx
push 0x154fe90
call fcn.015c1820
mov dword [ebp - 0x14], eax
mov edx, dword [ebp + 8]
mov dword [ebp - 0x10], edx
mov dword [ebp - 8], 0
call dword [0x164b314]
and eax, 0xffff
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0x14], 0
je 0x15aef4d
push 0xffffffffffffffff
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
lea edx, [ebp - 0x10]
push edx
push 0x15aec40
call fcn.015c18c0
mov eax, dword [ebp - 0x14]
push eax
push 0x1551030
push 0x154fe90
call fcn.015aee20
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0x14]
push eax
call fcn.015aed90
mov ecx, dword [ebp + 8]
mov dword [ecx*4 + 0x164f840], eax
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [0x164668c]
push ecx
call fcn.015aede0
mov dword [0x164668c], eax
cmp dword [ebp - 8], 0
jne 0x15aefb6
cmp dword [0x15f1b54], 0
je 0x15aefaf
push 0x16223e0
push 4
call fcn.01549920
push 0
call fcn.015c20de
mov eax, dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret 4
Function at 0x15bad00
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
call dword [0x16524fc]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
push 0x162f7b8
lea ecx, [ebp - 0x20]
push ecx
call fcn.015c24f5
add esp, 0xc
lea edx, [ebp - 0x20]
push edx
push 0
push 0x1f0003
call dword [0x1652544]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x15bae80
cmp dword [0x16222d8], 0
je 0x15bad63
cmp dword [0x16222dc], 0
je 0x15bad63
call fcn.015af940
mov dword [0x16222dc], 0
mov dword [0x164a260], 0
mov eax, dword [0x1645588]
push eax
mov ecx, dword [0x164a260]
push ecx
mov edx, dword [0x16464e0]
push edx
call dword [0x1648800]
call dword [0x1648b34]
cmp dword [0x1645570], 0
je 0x15bada2
mov eax, dword [0x1645570]
push eax
call dword [0x1652540]
cmp dword [0x164e62c], 0
je 0x15badb8
mov ecx, dword [0x164e62c]
push ecx
call dword [0x1652540]
cmp dword [0x16457a4], 0
je 0x15badce
mov edx, dword [0x16457a4]
push edx
call dword [0x1652540]
cmp dword [0x164570c], 0
je 0x15bade3
mov eax, dword [0x164570c]
push eax
call dword [0x16524b4]
cmp dword [0x1645588], 0
je 0x15badf9
mov ecx, dword [0x1645588]
push ecx
call dword [0x1652540]
cmp dword [0x1645574], 0
je 0x15bae0f
mov edx, dword [0x1645574]
push edx
call dword [0x1652540]
cmp dword [0x1645578], 0
je 0x15bae24
mov eax, dword [0x1645578]
push eax
call dword [0x1652540]
cmp dword [0x164557c], 0
je 0x15bae3a
mov ecx, dword [0x164557c]
push ecx
call dword [0x1652540]
cmp dword [0x1645580], 0
je 0x15bae50
mov edx, dword [0x1645580]
push edx
call dword [0x1652540]
cmp dword [0x164558c], 0
je 0x15bae65
mov eax, dword [0x164558c]
push eax
call dword [0x1652540]
mov ecx, dword [ebp - 0x28]
push ecx
call dword [0x16524a0]
mov edx, dword [ebp - 0x28]
push edx
call dword [0x1652540]
push 0xe
call fcn.015c20de
mov esp, ebp
pop ebp
ret
Function at 0x100081be
Capabilities:
Encode data using base64

Disassembly:
or dword [eax + 0x6f], 0x6f
push 0x72486572
add eax, 0x90909090
nop
nop
Function at 0x1000981e
Capabilities:
Encode data using base64

Disassembly:
mov eax, dword [0x1001831c]
mov edx, dword [0x100182cc]
mov ecx, dword [0x10018308]
or eax, edx
and ecx, eax
mov eax, dword [0x10018304]
mov dword [0x10018308], ecx
mov ecx, dword [0x100182ec]
add ecx, 0xffffffd8
xor eax, ecx
mov dword [0x10018304], eax
call fcn.1000a7de
jmp fcn.100047d0
Function at 0x468f78
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov byte [ebp - 9], cl
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.00404d7c
mov eax, dword [ebp - 8]
call fcn.00404d7c
xor eax, eax
push ebp
push 0x46908e
push dword fs:[eax]
mov dword fs:[eax], esp
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [ebp - 4]
call fcn.00404b8c
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
call fcn.00404b8c
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
jle 0x468fd7
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, edi
mov edx, dword [ebp - 0x10]
call fcn.00404f18
mov esi, dword [ebp - 0x14]
test esi, esi
jle 0x46900c
mov ebx, 1
mov eax, edi
call fcn.00404de4
mov edx, dword [ebp - 4]
mov dl, byte [edx + ebx - 1]
mov ecx, dword [ebp - 8]
mov cl, byte [ecx + ebx - 1]
xor dl, cl
mov byte [eax + ebx - 1], dl
inc ebx
dec esi
jne 0x468fed
cmp byte [ebp - 9], 0
je 0x469044
mov ebx, dword [ebp - 0x14]
inc ebx
mov esi, dword [ebp - 0x10]
sub esi, ebx
jl 0x469073
inc esi
mov eax, edi
call fcn.00404de4
mov edx, ebx
sub edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 4]
mov dl, byte [ecx + edx - 1]
mov ecx, dword [ebp - 4]
mov cl, byte [ecx + ebx - 1]
xor dl, cl
mov byte [eax + ebx - 1], dl
inc ebx
dec esi
jne 0x46901e
jmp 0x469073
mov ebx, dword [ebp - 0x14]
inc ebx
mov esi, dword [ebp - 0x10]
sub esi, ebx
jl 0x469073
inc esi
mov eax, edi
call fcn.00404de4
mov edx, ebx
sub edx, dword [ebp - 0x14]
mov ecx, dword [edi]
mov dl, byte [ecx + edx - 1]
mov ecx, dword [ebp - 4]
mov cl, byte [ecx + ebx - 1]
xor dl, cl
mov byte [eax + ebx - 1], dl
inc ebx
dec esi
jne 0x469050
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x469095
lea eax, [ebp - 8]
mov edx, 2
call fcn.004048f0
ret

Function at 0x469858
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
push esi
mov ebx, edx
mov esi, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
lea eax, [ebp - 0x105]
push eax
push 0
push 0
push esi
push 0
call sub.shfolder.dll_SHGetFolderPathA
call fcn.004073e0
test eax, eax
je 0x4698a4
mov eax, ebx
lea edx, [ebp - 0x105]
mov ecx, 0x105
call fcn.00404b3c
jmp 0x4698ab
mov eax, ebx
call fcn.004048cc
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x438c9d
Capabilities:
Encode data using xor

Disassembly:
mov edi, 0x438a14
and esi, esi
or esi, eax
call fcn.00438cd1
mov esi, 0x32619de7
xor dword [ecx], edi
add esi, esi
dec esi
sub esi, esi
add ecx, 1
or eax, esi
sub esi, 0x4b1ab4ed
sub esi, eax
cmp ecx, ebx
jne fcn.00438c9d
dec esi
and esi, eax
ret