joyce8/EMBER2024-capa huggingface dataset:
Function at 0x11006
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 4], ecx
mov ecx, dword [0x1300c]
push esi
mov esi, dword [eax + 4]
mov eax, dword [0x13008]
add ecx, eax
mov eax, dword [ebp + 0xc]
add ecx, dword [0x13004]
push edi
mov edi, dword [eax + 0xc]
add ecx, dword [section..data]
mov dword [ebp - 0xc], edi
mov edi, dword [eax + 8]
mov dword [ebp + 0xc], edi
mov edi, dword [eax + 4]
mov eax, dword [eax]
mov edx, ecx
mov dword [ebp - 8], 0x20
shl edx, 5
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov edi, dword [ebp - 4]
shl eax, 4
add eax, dword [ebp + 0xc]
dec dword [ebp - 8]
shr edi, 5
add edi, dword [ebp - 0xc]
xor eax, edi
mov edi, dword [ebp - 4]
add edi, edx
xor eax, edi
sub esi, eax
mov eax, esi
shl eax, 4
add eax, dword [ebp - 0x10]
mov edi, esi
shr edi, 5
add edi, dword [ebp - 0x14]
xor eax, edi
lea edi, [edx + esi]
xor eax, edi
sub dword [ebp - 4], eax
sub edx, ecx
cmp dword [ebp - 8], 0
ja 0x1105a
mov eax, dword [0x13004]
xor eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov eax, dword [0x13004]
xor eax, esi
pop edi
mov dword [ecx + 4], eax
pop esi
leave
ret 8

Function at 0x1133c
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
push edi
xor esi, esi
push esi
push 1
push 0xce3e0
mov dword [ebp - 4], esi
call dword [sym.imp.ntoskrnl.exe_KeInitializeEvent]
push esi
push 0x112e6
push esi
push esi
lea eax, [ebp - 0x1c]
push eax
push 0x1fffff
lea eax, [ebp - 4]
push eax
mov dword [ebp - 0x1c], 0x18
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x10], 0x200
mov dword [ebp - 0x14], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
call dword [sym.imp.ntoskrnl.exe_PsCreateSystemThread]
mov edi, eax
cmp edi, esi
jl 0x1139f
push dword [ebp - 4]
call dword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, edi
pop edi
pop esi
leave
ret

Function at 0x11534
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0x40
jae 0x11543
xor al, al
jmp 0x115be
push edi
mov edi, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [edi], ax
jne 0x1157a
mov eax, dword [edi + 0x3c]
lea ecx, [eax + 0xf8]
cmp dword [ebp + 0xc], ecx
jb 0x1157a
add eax, edi
cmp dword [eax], 0x4550
jne 0x1157a
test byte [eax + 0x16], 2
je 0x1157a
mov ecx, pe_nt_image_headers32
cmp word [eax + 0x14], cx
je 0x1157e
xor al, al
jmp 0x115bd
and dword [ebp + 8], 0
push ebx
push esi
movzx esi, word [eax + 6]
lea ecx, [eax + 0xf8]
test esi, esi
jle 0x115aa
lea edx, [ecx + 0x10]
mov ebx, dword [edx + 4]
add ebx, dword [edx]
cmp ebx, dword [ebp + 0xc]
ja 0x115c2
inc dword [ebp + 8]
add edx, 0x28
cmp dword [ebp + 8], esi
jl 0x11595
mov edx, dword [ebp + 0x10]
mov dword [edx], edi
mov edx, dword [ebp + 0x14]
mov dword [edx], eax
mov eax, dword [ebp + 0x18]
mov dword [eax], ecx
mov al, 1
pop esi
pop ebx
pop edi
pop ebp
ret 0x14
xor al, al
jmp 0x115bb

Function at 0xcf03e
Capabilities:
Create device object

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
call fcn.000cf005
pop ebp
jmp fcn.000113a8
Function at 0x406575
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x431764]
jne 0x40657f
repz ret
jmp fcn.0040aee6

Function at 0x409d67
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00404b6e
and dword [ebp - 4], 0
cmp dword [0x43681c], 0
mov ebx, eax
jne 0x409e18
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x409ec9
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x409ec9
push eax
call fcn.00404afc
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x43681c], eax
call esi
push eax
call fcn.00404afc
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x436820], eax
call esi
push eax
call fcn.00404afc
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x436824], eax
call esi
push eax
call fcn.00404afc
pop ecx
mov dword [0x43682c], eax
test eax, eax
je 0x409e18
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404afc
pop ecx
mov dword [0x436828], eax
mov eax, dword [0x436828]
cmp eax, ebx
je 0x409e70
cmp dword [0x43682c], ebx
je 0x409e70
push eax
call fcn.00404b77
push dword [0x43682c]
mov esi, eax
call fcn.00404b77
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x409e70
test edi, edi
je 0x409e70
call esi
test eax, eax
je 0x409e67
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x409e67
test byte [ebp - 0xc], 1
jne 0x409e70
or dword [ebp + 0x10], 0x200000
jmp 0x409ea9
mov eax, dword [0x436820]
cmp eax, ebx
je 0x409ea9
push eax
call fcn.00404b77
pop ecx
test eax, eax
je 0x409ea9
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x409ea9
mov eax, dword [0x436824]
cmp eax, ebx
je 0x409ea9
push eax
call fcn.00404b77
pop ecx
test eax, eax
je 0x409ea9
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x43681c]
call fcn.00404b77
pop ecx
test eax, eax
je 0x409ec9
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x409ecb
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x402b78
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
push esi
lea eax, [ebp - 4]
push edi
push eax
mov eax, dword [0x429290]
or al, 8
xor ebx, ebx
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x402c0c
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov edi, 0x105
jmp 0x402bc9
cmp dword [ebp + 0x10], ebx
jne 0x402c00
lea eax, [ebp - 0x210]
push ebx
push eax
push dword [ebp - 4]
call fcn.00402b78
test eax, eax
jne 0x402bdb
lea eax, [ebp - 0x210]
push edi
push eax
push ebx
push dword [ebp - 4]
call esi
test eax, eax
je 0x402bb0
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 2
call fcn.00406252
cmp eax, ebx
je 0x402c13
push ebx
push dword [0x429290]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x402c0c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc
cmp dword [0x429290], ebx
jne 0x402c09
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x402c09
jmp 0x402c0c

Function at 0x403060
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
push esi
xor esi, esi
push edi
cmp eax, esi
jl 0x40308c
mov ecx, dword [0x429238]
push esi
add eax, ecx
push esi
push eax
mov dword [0x417e7c], eax
push dword [0x40901c]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 4
call fcn.0040317b
cmp eax, esi
jl 0x403175
lea eax, [ebp + 8]
push 4
push eax
push dword [0x40901c]
call fcn.00405bd7
test eax, eax
je 0x403161
push dword [ebp + 8]
add dword [0x417e7c], 4
call fcn.0040317b
cmp eax, esi
mov dword [ebp - 8], eax
jl 0x403175
cmp dword [ebp + 0x10], esi
jne 0x40313d
cmp dword [ebp + 8], esi
jle 0x403172
mov esi, 0x413e78
cmp dword [ebp + 8], 0x4000
mov edi, dword [ebp + 8]
jl 0x4030f2
mov edi, 0x4000
push edi
push esi
push dword [0x40901c]
mov dword [ebp - 4], edi
call fcn.00405bd7
test eax, eax
je 0x403161
lea eax, [ebp + 0x14]
push 0
push eax
push dword [ebp - 4]
push esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x403139
cmp dword [ebp + 0x14], edi
jne 0x403139
mov eax, dword [ebp - 4]
add dword [ebp - 8], eax
sub dword [ebp + 8], eax
add dword [0x417e7c], eax
cmp dword [ebp + 8], 0
jg 0x4030e1
jmp 0x403172
push 0xfffffffffffffffe
jmp 0x403163
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0x14]
jl 0x403148
mov eax, dword [ebp + 0x14]
lea ecx, [ebp - 4]
push esi
push ecx
push eax
push dword [ebp + 0x10]
push dword [0x40901c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x403166
push 0xfffffffffffffffd
pop eax
jmp 0x403175
mov eax, dword [ebp - 4]
add dword [0x417e7c], eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
pop edi
pop esi
leave
ret 0x10
Function at 0x40317b
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [0x417e7c]
sub esi, dword [0x40bde8]
push edi
add esi, dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor ebx, ebx
add eax, 0x1f4
cmp esi, ebx
mov dword [0x4291ec], eax
jle 0x4032e5
push dword [0x41fe8c]
call fcn.0040330d
push ebx
push ebx
push dword [0x40bde8]
push dword [0x40901c]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [0x41fe88], esi
mov dword [0x417e78], ebx
mov ebp, 0x40be78
mov eax, dword [0x417e80]
mov edi, 0x4000
sub eax, dword [0x41fe8c]
cmp eax, edi
jg 0x4031f0
mov edi, eax
mov esi, 0x413e78
push edi
push esi
call fcn.004032f7
test eax, eax
je 0x4032d7
add dword [0x41fe8c], edi
mov dword [0x40be08], esi
mov dword [0x40be0c], edi
cmp dword [0x4291f0], ebx
je 0x403247
cmp dword [0x429280], ebx
jne 0x403247
mov eax, dword [0x41fe88]
push ebx
sub eax, dword [0x417e7c]
sub eax, dword [esp + 0x1c]
add eax, dword [0x40bde8]
mov dword [0x417e78], eax
call fcn.00402d18
pop ecx
mov ecx, 0x40bdf0
mov dword [0x40be10], ebp
mov dword [0x40be14], 0x8000
call fcn.0040638e
test eax, eax
jl 0x4032e0
mov esi, dword [0x40be10]
sub esi, ebp
je 0x4032a1
lea eax, [esp + 0x10]
push ebx
push eax
push esi
push ebp
push dword [0x40901c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4032dc
cmp esi, dword [esp + 0x10]
jne 0x4032dc
add dword [0x40bde8], esi
cmp dword [0x40be0c], ebx
jne 0x403216
jmp 0x4032ad
cmp dword [0x40be0c], ebx
jne 0x4032e0
cmp edi, ebx
je 0x4032e0
mov eax, dword [0x417e7c]
mov ecx, eax
sub ecx, dword [0x40bde8]
add ecx, dword [esp + 0x18]
test ecx, ecx
jg 0x4031da
push ebx
push ebx
push eax
push dword [0x40901c]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x4032e5
or eax, 0xffffffff
jmp 0x4032ef
push 0xfffffffffffffffe
jmp 0x4032e2
push 0xfffffffffffffffd
pop eax
jmp 0x4032ef
push 1
call fcn.00402d18
pop ecx
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4

Function at 0x405960
Capabilities:
Contain obfuscated stackstrings

Disassembly:
call dword [ebp - 0x704]
mov dword [ebp - 0x3a4], eax
cmp dword [ebp - 0x3a4], 0
je 0x40599a
lea eax, [ebp - 0x714]
push eax
call fcn.00403914
call [ecx + 0x50]
push dword [ebp - 0x3a4]
push dword [ebp + 0x14]
call fcn.004038c9
add esp, 0xc
mov dword [ebp - 0x37c], eax
cmp dword [ebp - 0x37c], 0
je 0x4059a5
jmp fcn.004059aa
jmp 0x4052a6

Function at 0x405b54
Capabilities:
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, eax
push 0
inc ecx
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
push dword [esp + 0x14]
push 0
push 1
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
ret 0xc
Function at 0x405b83
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x64
pop edi
mov eax, dword [0x40953c]
dec edi
mov dword [ebp - 8], eax
mov eax, dword [0x409540]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x1a
xor edx, edx
pop ecx
div ecx
push esi
lea eax, [ebp - 8]
push 0
push eax
push dword [ebp + 0xc]
add word [ebp - 4], dx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x405bd3
test edi, edi
jne 0x405b90
and word [esi], di
pop edi
pop esi
leave
ret 8
mov eax, esi
jmp 0x405bcd

Function at 0x405c06
Capabilities:
Get file size
Write file on windows

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov ebx, 0x425d70
push 0x409560
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov esi, dword [esp + 0x1c]
mov ebp, dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
test esi, esi
mov edi, 0x400
je 0x405c55
push 1
push 0
push esi
call fcn.00405b54
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push ebx
push esi
call ebp
test eax, eax
je 0x405d7c
cmp eax, edi
jg 0x405d7c
mov esi, 0x426570
push edi
push esi
push dword [esp + 0x20]
call ebp
test eax, eax
je 0x405d7c
cmp eax, edi
jg 0x405d7c
push esi
push ebx
push str._ls_ls_r_n
push 0x425970
call dword [sym.imp.USER32.dll_wsprintfA]
mov ebx, eax
mov eax, dword [0x4291f0]
add esp, 0x10
push dword [eax + 0x128]
push esi
call fcn.00405f0a
push 4
push 0xc0000000
push esi
call fcn.00405b54
mov ebp, eax
cmp ebp, 0xffffffff
mov dword [esp + 0x1c], ebp
je 0x405d7c
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
lea eax, [edi + ebx + 0xa]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x405d75
push edi
push esi
push ebp
call fcn.00405bd7
test eax, eax
je 0x405d75
push str._Rename__r_n
push esi
call fcn.00405ab9
test eax, eax
jne 0x405d0b
lea eax, [esi + edi]
push str._Rename__r_n
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
add edi, 0xa
jmp 0x405d40
add eax, 0xa
push 0x409544
push eax
call fcn.00405ab9
mov ebp, eax
test ebp, ebp
je 0x405d3c
lea ecx, [esi + edi]
lea eax, [ecx + ebx]
jmp 0x405d2d
mov dl, byte [ecx]
mov byte [eax], dl
dec eax
dec ecx
cmp ecx, ebp
ja 0x405d27
sub ebp, esi
inc ebp
mov eax, ebp
mov ebp, dword [esp + 0x1c]
jmp 0x405d42
mov ebp, dword [esp + 0x1c]
mov eax, edi
push ebx
add eax, esi
push 0x425970
push eax
call fcn.00405b0f
xor eax, eax
push eax
push eax
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [esp + 0x10]
push 0
add edi, ebx
push eax
push edi
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x405db5
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
lea eax, [ebp + 0x18]
push edi
push eax
mov eax, dword [ebp + 0x18]
xor edi, edi
neg eax
sbb eax, eax
mov esi, dword [ebp + 0x14]
and eax, 0x100
or eax, 0x20019
mov word [esi], di
push eax
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x405e29
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], 0x800
push eax
lea eax, [ebp + 0x14]
push esi
push eax
push edi
push dword [ebp + 0x10]
push dword [ebp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x405e16
cmp dword [ebp + 0x14], 1
je 0x405e19
cmp dword [ebp + 0x14], 2
je 0x405e19
mov word [esi], di
push dword [ebp + 0x18]
mov word [esi + 0x7fe], di
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
ret 0x14
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404369

Function at 0x4025e7
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x40f530
call fcn.00403770
mov eax, 0x5a4d
cmp word [0x400000], ax
jne 0x4024e7
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x4024e7
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x4024e7
cmp dword [eax + 0x400074], 0xe
jbe 0x4024e7
xor ecx, ecx
cmp dword [eax + 0x4000e8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
jmp 0x4024eb
and dword [ebp - 0x1c], 0
push 1
call fcn.00402767
pop ecx
test eax, eax
jne 0x4024ff
push 0x1c
call fcn.00402767
pop ecx
call fcn.00405287
test eax, eax
jne 0x402510
push 0x10
call fcn.00402767
pop ecx
call fcn.00405952
and dword [ebp - 4], 0
call fcn.004032ff
test eax, eax
jge 0x40252a
push 0x1b
call fcn.00402767
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x412ba0], eax
call fcn.00402767
mov dword [0x41203c], eax
call fcn.00402767
test eax, eax
jge 0x402550
push 8
call fcn.00402767
pop ecx
call fcn.00405fde
test eax, eax
jge 0x402561
push 9
call fcn.00402767
pop ecx
push 1
call fcn.00402767
pop ecx
test eax, eax
je 0x402574
push eax
call fcn.00402767
pop ecx
mov eax, dword [0x412018]
mov dword [0x41201c], eax
push eax
push dword [0x412010]
push dword [0x41200c]
call main
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], 0
jne 0x4025a2
push eax
call fcn.00402767
call fcn.00402400
jmp 0x4025d7
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.004037b5
ret
call fcn.00402767
jmp 0x402495

Function at 0x402767
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x402776
pop dword [ebp - 0x24]
mov eax, 0x402776
sub dword [ebp - 0x24], eax
push 0x40
push 0x1000
push 0x38992
push 0
mov eax, 0x57122fe0
add eax, 0xa92eb0f8
add eax, dword [ebp - 0x24]
call dword [eax]
mov ecx, 0x886f43ae
sub ecx, 0x886f0090
xor edi, edi
add edi, eax
mov esi, 0xed4377f
add esi, 0xf16d0445
add esi, dword [ebp - 0x24]
mov ebx, 0x1defc6a5
sub ebx, 0x70dccb68
sub dword [ebp - 0x1c], 0x637964fb
mov edx, dword [esi]
add dword [ebp - 0x18], eax
xor edx, ebx
add dword [ebp - 0x20], 0x2c5e4c9f
mov dword [edi], edx
sub dword [ebp - 0x20], edi
add edi, 0x633b1d4c
sub edi, 0x633b1d48
add esi, 4
loop 0x4027d2
add eax, 0xcc86eded
add eax, 0x337a115e
mov ebx, eax
add eax, 0x7d263742
add eax, 0x82d9c8c3
mov ecx, 0xaa60926
sub ecx, 0xa660926
add ecx, dword [ebp - 0x24]
call ebx
leave
ret
Function at 0x102ea72
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push eax
push ecx
nop
push edx
nop
push ebx
push esp
push ebp
push esi
push edi
push ebp
mov ebp, esp
sub esp, 0x78
mov dword [ebp - 0x30], 9
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x40], 0xd
mov dword [ebp - 0x34], 0xd
mov dword [ebp - 4], 4
mov dword [ebp - 0xc], 1
mov dword [ebp - 0x48], 0x34bf
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], 0x219c
jmp 0x102ebc4
mov eax, dword [ebp - 0x34]
add eax, dword [ebp - 0xc]
sub eax, 0xe
mov dword [ebp - 0x28], eax
add dword [ebp - 0x10], 0x4039
jmp 0x102eae3
add dword [ebp - 0x18], 0x48b4
jmp 0x102eac5
add dword [ebp - 0x18], 0x217b0
jmp 0x102eaf5
add dword [ebp - 0x10], 0x1030dc6
jmp 0x102eada
dec dword [ebp - 0x38]
mov ebx, 0x10386be
mov esi, 0x1061000
mov eax, dword [ebp - 4]
dec eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x10]
mov al, byte [edx + eax]
mov byte [ebp - 0x39], al
movzx edx, byte [ebp - 0x39]
mov dword [ebp - 0x74], edx
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x28]
mov edx, eax
shr edx, 1
add ecx, edx
mov edx, ecx
and edx, 0xff
mov ecx, dword [ebp - 0x74]
xor ecx, edx
mov edx, ecx
mov byte [ebp - 0x39], dl
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x10]
mov cl, byte [ebp - 0x39]
mov byte [edx + eax], cl
inc dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x18], eax
jbe 0x102ebdb
jmp 0x102eb09
mov dword [ebp - 0x4c], 0x109a000
mov edi, dword [ebp - 0x30]
sub edi, 9
jmp 0x102eb6d
mov al, byte [ebx + edi]
mov byte [esi + edi], al
inc edi
cmp edi, 0x1d6ac
jb 0x102eb66
mov dword [ebp - 0x50], 0x1055ebe
mov dword [ebp - 0x54], 0x10000000
mov dword [ebp - 8], 0x105d4be
mov eax, dword [ebp - 0x34]
sub eax, 0xd
mov dword [ebp - 0x20], eax
inc dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
mov edx, eax
sub edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x78], ecx
mov ecx, dword [ebp - 4]
sub ecx, 3
sub eax, ecx
mov ecx, dword [ebp - 0x50]
mov al, byte [ecx + eax]
mov ecx, dword [ebp - 0x78]
mov byte [ecx + edx], al
mov eax, 0x7050
cmp eax, dword [ebp - 0x20]
jbe 0x102ebd0
jmp 0x102eb93
mov dword [ebp - 0x38], 0x240796f7
jmp 0x102eaec
inc dword [ebp - 0x28]
jmp 0x102ece7
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x30]
sub eax, 0xd
cmp eax, dword [ebp - 0x28]
jbe 0x102eb57
jmp 0x102eaf8

Function at 0x102f5be
Capabilities:
Check if file exists

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x80
push 3
push 0
push 7
push 0xc0000000
push 0x10030ec
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
jne 0x102f5ff
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x102f5fb
mov eax, dword [ebp + 8]
and dword [eax], 0
xor eax, eax
inc eax
jmp 0x102f60e
xor eax, eax
jmp 0x102f60e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 8]
xor eax, eax
inc eax
mov dword [ecx], eax
pop ebp
ret 4
Function at 0x100010a0
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa7c
mov dword [ebp - 4], ecx
push 0x100cda9e
jmp loc.102359b8

Function at 0x1000151f
Capabilities:
Execute anti-debugging instructions

Disassembly:
not al
mov word [edi - 2], ax
adc edi, 0xfffffffd
pop edx
pop ecx
pop eax
jmp fcn.100624c9

Function at 0x10001710
Capabilities:
Authenticate hmac
Contain obfuscated stackstrings
Encode data using base64
Enumerate gui resources
Enumerate process modules
Execute anti-debugging instructions
Get graphical window text
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x24b8
call fcn.10098130
mov dword [ebp - 4], ecx
push 0x100cda9e
jmp 0x1002b225
call fcn.1003c660
push 6
mov ecx, esi
movsx ecx, ax
lea ecx, [ebp - 0xf0]
jmp loc.1023507e
lea esp, [esp + 4]
mov ax, ax
cbw
mov al, 0x18
push 0x1f4
push 0
mov ax, bp
cbw
lahf
lea eax, [ebp - 0x578]
push eax
jmp 0x1007c970
push ecx
cmovp cx, di
not cl
lea ecx, [ebp - 0xf0]
jmp 0x100102b7
call fcn.100994f0
add esp, 0xc
mov ch, al
push 0x3ff
movsx cx, dl
cmovge ecx, ebp
lea ecx, [ebp - 0x578]
jmp 0x1003ac1b

Function at 0x10003240
Capabilities:
Contain obfuscated stackstrings
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24c
push esi
mov esi, dword [0x10119680]
cmp byte [esi + 0x30d5c], 0
jne 0x10003378
mov ecx, dword [ebp + 8]
lea eax, [esi + 4]
push eax
push ecx
mov dword [esi], ecx
call dword [sym.imp.d3dx9_43.dll_D3DXCreateSprite]
mov edx, dword [esi]
push 0
mov eax, dword [edx]
mov ecx, dword [eax + 0x5c]
lea eax, [esi + 0xc]
push eax
push 0
push 0x15
push 1
push 1
push 0x200
push 0x200
push edx
call ecx
test eax, eax
je 0x10003329
movaps xmm0, xmmword [0x100d24a0]
push eax
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], 0x4552480a
push eax
movups xmmword [ebp - 0x30], xmm0
lea eax, [ebp - 0x24c]
mov dword [ebp - 0xc], 0x544c5553
movaps xmm0, xmmword [str._render_target._rSFF__s__d.sff___s_r_nErrorID:___d._r_nRequested_ScrItemListInfo_Could_not_load__SFF_scr__d.sffHeadersCanvas1.DonationCanvas1DonationCanvas2CPortalUI_Tier::CItemsPreviews::_font._r_nHRESULT:]
push eax
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 8], 0x3025203a
mov word [ebp - 4], 0x5838
mov byte [ebp - 2], 0
call fcn.10003db0
movaps xmm0, xmmword [0x100d2630]
lea eax, [ebp - 0x58]
add esp, 0xc
mov byte [ebp - 0x38], 0
movups xmmword [ebp - 0x58], xmm0
movaps xmm0, xmmword [0x100d24b0]
push 0x50010
push eax
lea eax, [ebp - 0x24c]
push eax
push 0
movups xmmword [ebp - 0x48], xmm0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
lea eax, [esi + 8]
push eax
mov eax, dword [0x1010ba78]
push str.Arial
push 0
push 5
lea ecx, [eax*8]
sub ecx, eax
mov eax, 0x38e38e39
neg ecx
push 0
add ecx, ecx
imul ecx
push 1
push 0
push 1
sar edx, 4
push 0x2bc
mov eax, edx
shr eax, 0x1f
push 0
add eax, edx
push eax
push dword [esi]
call dword [sym.imp.d3dx9_43.dll_D3DXCreateFontW]
mov byte [esi + 0x30d5c], 1
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 4