joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48e420
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x597fbb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2a0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x38], esi
call fcn.004b7550
xor edi, edi
mov dword [ebp - 4], edi
mov dword [esi], 0x5c1918
mov bl, 1
mov byte [ebp - 4], bl
mov eax, dword [0x64bb70]
push eax
mov ecx, dword [0x64bb6c]
push ecx
mov ecx, esi
call fcn.004c09e0
mov dword [esi + 0x34], edi
mov dword [ebp - 0x14], edi
mov eax, dword [ebp + 8]
cmp eax, 5
ja case.default.0x48e480
jmp dword [eax*4 + 0x48e754]
mov edi, dword [str.Downloading_new_program_version]
jmp 0x48e4de
mov edi, dword [str.Downloading_new_patcher]
jmp 0x48e4de
mov edi, dword [str.Downloading_new_error_dialog]
jmp 0x48e4de
mov edi, dword [str.Downloading_new_object_data]
jmp 0x48e4de
mov edi, dword [str.Downloading_new_object_graphics]
jmp 0x48e4de
mov edi, dword [str.Downloading_new_pictures]
jmp 0x48e4de
push edi
push eax
call fcn.00508870
push eax
push str.Downloading__s
push 0xfa
lea edx, [ebp - 0x2ac]
push edx
call fcn.00556ab0
add esp, 0x18
lea edi, [ebp - 0x2ac]
mov dword [ebp - 0x14], edi
push 0x4c
call fcn.005719e2
add esp, 4
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x48e531
push edi
sub esp, 0x14
mov ecx, esp
mov edx, dword [0x64b600]
mov dword [ecx], edx
mov edx, dword [0x64b604]
mov dword [ecx + 4], edx
mov edx, dword [0x64b608]
mov dword [ecx + 8], edx
mov edx, dword [0x64b60c]
mov dword [ecx + 0xc], edx
mov edx, dword [0x64b610]
mov dword [ecx + 0x10], edx
mov ecx, eax
call fcn.0047b420
jmp 0x48e533
xor eax, eax
mov edi, eax
mov dword [ebp - 0x28], edi
mov byte [ebp - 4], bl
mov dword [ebp - 0x1c], edi
push edi
mov ecx, esi
call fcn.004c0c60
sub esp, 0x10
mov eax, esp
mov ecx, dword [0x64bb74]
mov dword [eax], ecx
mov edx, dword [0x64bb78]
mov dword [eax + 4], edx
mov ecx, dword [0x64bb7c]
mov dword [eax + 8], ecx
mov edx, dword [0x64bb80]
mov dword [eax + 0xc], edx
push edi
mov ecx, esi
call fcn.004c4110
push 0x2c
call fcn.005719e2
add esp, 4
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x48e594
mov ecx, eax
call fcn.00465410
jmp 0x48e596
xor eax, eax
mov ecx, eax
mov dword [ebp - 0x24], ecx
mov byte [ebp - 4], bl
mov dword [esi + 0x30], ecx
push 0x64
call fcn.0047a930
mov eax, dword [esi + 0x30]
push eax
mov ecx, esi
call fcn.004c0c60
sub esp, 0x10
mov ecx, esp
mov edx, dword [0x64bb94]
mov dword [ecx], edx
mov eax, dword [0x64bb98]
mov dword [ecx + 4], eax
mov edx, dword [0x64bb9c]
mov dword [ecx + 8], edx
mov eax, dword [0x64bba0]
mov dword [ecx + 0xc], eax
mov ecx, dword [esi + 0x30]
push ecx
mov ecx, esi
call fcn.004c4110
mov ecx, esi
call fcn.004c27b0
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x49ac20
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59a140
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x19c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x24], esi
call fcn.004b7550
mov dword [ebp - 4], 0
mov dword [esi], 0x5c0a10
mov bl, 1
mov byte [ebp - 4], bl
mov eax, dword [ebp + 8]
mov dword [esi + 0x2c], eax
mov ecx, dword [0x64bb20]
push ecx
mov edx, dword [0x64bb1c]
push edx
mov ecx, esi
call fcn.004c09e0
push 0x7c
call fcn.005719e2
add esp, 4
mov edi, eax
mov dword [ebp - 0x2c], edi
mov byte [ebp - 4], 2
test edi, edi
je 0x49acbb
push 0xb
push esi
lea ecx, [ebp - 0x34]
call fcn.004b76c0
mov ecx, dword [0x64a43c]
push ecx
mov edx, dword [0x64a438]
push edx
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
mov ecx, edi
call fcn.0047fdc0
jmp 0x49acbd
xor eax, eax
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], bl
mov dword [esi + 0x30], eax
push eax
mov ecx, esi
call fcn.004c0c60
sub esp, 0x10
mov eax, esp
mov ecx, dword [0x64bb24]
mov dword [eax], ecx
mov edx, dword [0x64bb28]
mov dword [eax + 4], edx
mov ecx, dword [0x64bb2c]
mov dword [eax + 8], ecx
mov edx, dword [0x64bb30]
mov dword [eax + 0xc], edx
mov eax, dword [esi + 0x30]
push eax
mov ecx, esi
call fcn.004c4110
mov ecx, esi
call fcn.0048cd00
mov ecx, esi
call fcn.004c27b0
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4a5380
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x59bea3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004b7550
xor ebx, ebx
mov dword [esp + 0x1c], ebx
mov dword [esi], 0x5c2e50
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
xor eax, eax
mov dword [esi + 0x2c], eax
xor ecx, ecx
xor edx, edx
mov dword [esi + 0x30], ecx
xor edi, edi
mov dword [esi + 0x34], edx
push 0xfc
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x38], edi
mov byte [esi + 0x40], bl
mov dword [esi + 0x44], ebx
mov byte [esi + 0x48], 1
mov dword [esi + 8], 9
call fcn.00571a12
add esp, 4
mov dword [esp + 0x10], eax
mov byte [esp + 0x1c], 1
cmp eax, ebx
je 0x4a5424
lea ecx, [eax + 8]
mov edx, 9
mov dword [ecx - 8], ebx
mov dword [ecx - 4], ebx
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], ebx
mov dword [ecx + 0x10], ebx
add ecx, 0x1c
dec edx
jne 0x4a5408
jmp 0x4a5426
xor eax, eax
mov byte [esp + 0x1c], bl
mov dword [esi + 4], eax
mov dword [esp + 0x1c], 0xffffffff
mov ecx, dword [esp + 0x14]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x509570
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ac500
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
call fcn.004fbe20
mov dword [ebp - 4], 0xffffffff
call fcn.0050c840
cmp eax, 1
je 0x5095bd
mov dword [ebp - 4], 2
push 1
call fcn.004cc910
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 4], 4
push 0
call fcn.00509490
mov ecx, eax
call fcn.00574e14
mov dword [ebp - 4], 0xffffffff
push 0x10
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 1
call fcn.005613f0
mov eax, 0x50959b
ret
Function at 0x53a200
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b16f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1b8
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
xor ebx, ebx
mov dword [ebp - 4], ebx
mov byte [ebp - 0x11], bl
mov eax, dword [ebp + 8]
mov dword [0x7df64c], eax
mov dword [ebp - 0x44], ebx
mov word [ebp - 0x3c], 0x28
mov word [ebp - 0x3a], 1
mov dword [ebp - 0x38], 0x20000025
mov byte [ebp - 0x34], bl
mov byte [ebp - 0x33], 0x20
mov byte [ebp - 0x32], bl
mov byte [ebp - 0x31], bl
mov byte [ebp - 0x30], bl
mov byte [ebp - 0x2f], bl
mov byte [ebp - 0x2e], bl
mov byte [ebp - 0x2d], bl
mov byte [ebp - 0x2c], bl
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], bl
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], bl
mov byte [ebp - 0x27], bl
mov byte [ebp - 0x26], bl
mov byte [ebp - 0x25], bl
mov byte [ebp - 0x24], bl
mov byte [ebp - 0x23], bl
mov byte [ebp - 0x22], bl
mov byte [ebp - 0x21], bl
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
lea ecx, [ebp - 0x3c]
push ecx
push eax
call dword [sym.imp.GDI32.dll_ChoosePixelFormat]
mov dword [ebp - 0x44], eax
cmp eax, ebx
je 0x53a2f5
lea edx, [ebp - 0x3c]
push edx
push eax
mov eax, dword [0x7df64c]
push eax
call dword [sym.imp.GDI32.dll_SetPixelFormat]
test eax, eax
je 0x53a2f5
mov ecx, dword [0x7df64c]
push ecx
call dword [sym.imp.OPENGL32.dll_wglCreateContext]
mov dword [0x7df648], eax
push eax
mov edx, dword [0x7df64c]
push edx
mov esi, dword [sym.imp.OPENGL32.dll_wglMakeCurrent]
call esi
push str.WGL_ARB_pbuffer_WGL_ARB_pixel_format
call fcn.00539740
add esp, 4
test eax, eax
jne 0x53a30f
push str.Necessary_OpenGL_extensions_were_not_supported
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor al, al
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov byte [ebp - 4], 1
call fcn.00539f50
test al, al
je 0x53a325
call fcn.00539cf0
mov byte [ebp - 0x11], 1
mov dword [ebp - 4], ebx
push ebx
push ebx
call esi
mov eax, dword [0x7df648]
push eax
call dword [sym.imp.OPENGL32.dll_wglDeleteContext]
mov dword [0x7df64c], ebx
call fcn.005399f0
mov al, byte [ebp - 0x11]
jmp 0x53a2f7
Function at 0x541ba0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5b2c81
push eax
mov dword fs:[0], esp
sub esp, 0xc8
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x541bdc
mov ecx, dword [esp + 0xc8]
mov dword fs:[0], ecx
add esp, 0xd4
ret
push ebx
push edi
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalSize]
mov edi, eax
push edi
call fcn.00541a00
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
jne 0x541c6a
mov eax, dword [0x7dff70]
mov byte [eax], 0
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [0x7dff70]
test eax, eax
je 0x541c4e
mov ecx, dword [0x7dff74]
test ecx, ecx
jbe 0x541c4e
push 0xd
push eax
call fcn.005579a0
mov al, byte [esp + 0xe8]
add esp, 8
test al, al
je 0x541c4e
mov eax, dword [0x7dff70]
push 0x20
push 0xa
push eax
call fcn.00557700
add esp, 0xc
mov ecx, dword [esp + 0xd0]
mov eax, dword [0x7dff70]
pop edi
pop ebx
mov dword fs:[0], ecx
add esp, 0xd4
ret
mov ecx, edi
mov edi, dword [0x7dff70]
mov edx, ecx
push esi
shr ecx, 2
mov esi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
push ebx
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
test eax, eax
pop esi
jne 0x541c0d
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x541c0d
push str.result_0__GetLastError__NO_ERROR
lea ecx, [esp + 0x7c]
call fcn.00403e20
mov dword [esp + 0xd8], 0
push 0x5ba7cb
lea ecx, [esp + 0x44]
call fcn.00403e20
mov byte [esp + 0xd8], 1
push 0x5ba7cb
lea ecx, [esp + 0xc]
call fcn.00403e20
mov byte [esp + 0xd8], 2
push str.assertion_failed
lea ecx, [esp + 0x28]
call fcn.00403e20
mov byte [esp + 0xd8], 3
push str..SysInc.cpp
lea ecx, [esp + 0x60]
call fcn.00403e20
mov byte [esp + 0xd8], 4
lea eax, [esp + 0x78]
push eax
push 0
lea ecx, [esp + 0x48]
push ecx
push 0
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x38]
push eax
push 0xa4
lea ecx, [esp + 0x78]
push ecx
lea ecx, [esp + 0xb4]
call fcn.0054fb40
push 0x5e02c8
lea edx, [esp + 0x98]
push edx
call fcn.00560081
int3
Function at 0x54c000
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5b4c48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
mov esi, ecx
mov ecx, dword [esp + 0x18]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0xc], esi
call fcn.0054be50
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esi], 0x5d68d8
mov byte [esi + 0x30], 1
mov byte [esi + 0x31], al
mov dword [esp + 0x10], 0xffffffff
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x551cd0
Capabilities:
Get memory capacity

Disassembly:
sub esp, 0x40
push esi
mov esi, dword [esp + 0x48]
push str.GlobalMemoryStatusEx
push str.kernel32.dll
mov dword [esi], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, eax
xor eax, eax
test edx, edx
je 0x551d33
push edi
mov ecx, 0x10
lea edi, [esp + 8]
rep stosd dword es:[edi], eax
lea eax, [esp + 8]
push eax
mov dword [esp + 0xc], 0x40
call edx
test eax, eax
pop edi
je 0x551d67
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
shrd ecx, edx, 0x14
mov dword [esi], ecx
shr edx, 0x14
pop esi
add esp, 0x40
ret
mov dword [esp + 4], eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
lea ecx, [esp + 4]
mov dword [esp + 0x1c], eax
push ecx
mov dword [esp + 0x24], eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov edx, dword [esp + 0xc]
shr edx, 0x14
mov dword [esi], edx
pop esi
add esp, 0x40
ret
Function at 0x552760
Capabilities:
Check for time delay via queryperformancecounter
Execute anti-debugging instructions
Get cpu information
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d7010
push 0x55f67c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
xor esi, esi
mov edi, dword [ebp + 8]
mov dword [edi], esi
mov ebx, dword [ebp + 0xc]
mov dword [ebx], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], 4
lea eax, [ebp - 0x24]
push eax
push 0x20019
push esi
push str.HARDWAREDESCRIPTIONSystemCentralProcessor0
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, esi
jne 0x5527d8
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x1c]
push edx
push esi
push esi
push 0x5d6fd8
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [ebp - 0x1c]
mov dword [edi], ecx
wait
mov dword [ebp - 4], esi
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], esi
lea edx, [ebp - 0x3c]
push edx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x552867
lea eax, [ebp - 0x2c]
push eax
mov edi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
call edi
push esi
push 5
mov ecx, dword [ebp - 0x38]
push ecx
mov edx, dword [ebp - 0x3c]
push edx
call fcn.005623d0
add dword [ebp - 0x2c], eax
adc dword [ebp - 0x28], edx
rdtsc
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], edx
lea eax, [ebp - 0x34]
push eax
call edi
mov ecx, dword [ebp - 0x30]
cmp ecx, dword [ebp - 0x28]
jb 0x552832
ja 0x55284a
mov edx, dword [ebp - 0x34]
cmp edx, dword [ebp - 0x2c]
jb 0x552832
rdtsc
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], edx
fild qword [ebp - 0x44]
fild qword [ebp - 0x4c]
fsubp st(1)
fmul dword [0x5d6fd4]
call fcn.005606e4
mov dword [ebx], eax
wait
jmp 0x552873
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x555540
Capabilities:
Encode data using xor
Encrypt data using xtea

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14]
push edi
xor eax, eax
mov edi, 8
mov ebx, edx
shr ebx, 5
mov ebp, edx
shl ebp, 4
xor ebx, ebp
add ebx, edx
mov ebp, eax
and ebp, 3
mov ebp, dword [esi + ebp*4]
add ebp, eax
xor ebx, ebp
add ecx, ebx
sub eax, 0x61c88647
mov ebx, ecx
shr ebx, 5
mov ebp, ecx
shl ebp, 4
xor ebx, ebp
add ebx, ecx
mov ebp, eax
shr ebp, 0xb
and ebp, 3
mov ebp, dword [esi + ebp*4]
add ebp, eax
xor ebx, ebp
add edx, ebx
mov ebx, edx
shr ebx, 5
mov ebp, edx
shl ebp, 4
xor ebx, ebp
add ebx, edx
mov ebp, eax
and ebp, 3
mov ebp, dword [esi + ebp*4]
add ebp, eax
xor ebx, ebp
add ecx, ebx
sub eax, 0x61c88647
mov ebx, ecx
shr ebx, 5
mov ebp, ecx
shl ebp, 4
xor ebx, ebp
add ebx, ecx
mov ebp, eax
shr ebp, 0xb
and ebp, 3
mov ebp, dword [esi + ebp*4]
add ebp, eax
xor ebx, ebp
add edx, ebx
mov ebx, edx
shr ebx, 5
mov ebp, edx
shl ebp, 4
xor ebx, ebp
add ebx, edx
mov ebp, eax
and ebp, 3
mov ebp, dword [esi + ebp*4]
add ebp, eax
xor ebx, ebp
add ecx, ebx
mov ebx, ecx
shr ebx, 5
mov ebp, ecx
shl ebp, 4
xor ebx, ebp
sub eax, 0x61c88647
mov ebp, eax
shr ebp, 0xb
and ebp, 3
mov ebp, dword [esi + ebp*4]
add ebx, ecx
add ebp, eax
xor ebx, ebp
add edx, ebx
mov ebx, edx
shr ebx, 5
mov ebp, edx
shl ebp, 4
xor ebx, ebp
add ebx, edx
mov ebp, eax
and ebp, 3
mov ebp, dword [esi + ebp*4]
add ebp, eax
xor ebx, ebp
add ecx, ebx
mov ebx, ecx
shr ebx, 5
mov ebp, ecx
shl ebp, 4
xor ebx, ebp
sub eax, 0x61c88647
mov ebp, eax
shr ebp, 0xb
and ebp, 3
mov ebp, dword [esi + ebp*4]
add ebx, ecx
add ebp, eax
xor ebx, ebp
add edx, ebx
dec edi
jne 0x555558
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov dword [eax], ecx
mov dword [eax + 4], edx
pop ebx
ret
Function at 0x555670
Capabilities:
Encode data using xor
Encrypt data using xtea

Disassembly:
mov eax, dword [esp + 4]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14]
push edi
mov eax, 0xc6ef3720
mov edi, 8
jmp 0x555690
mov ebx, edx
shr ebx, 5
mov ebp, edx
shl ebp, 4
xor ebx, ebp
add ebx, edx
mov ebp, eax
shr ebp, 0xb
and ebp, 3
mov ebp, dword [esi + ebp*4]
add ebp, eax
xor ebx, ebp
sub ecx, ebx
add eax, 0x61c88647
mov ebx, ecx
shr ebx, 5
mov ebp, ecx
shl ebp, 4
xor ebx, ebp
add ebx, ecx
mov ebp, eax
and ebp, 3
mov ebp, dword [esi + ebp*4]
add ebp, eax
xor ebx, ebp
sub edx, ebx
mov ebx, edx
shr ebx, 5
mov ebp, edx
shl ebp, 4
xor ebx, ebp
add ebx, edx
mov ebp, eax
shr ebp, 0xb
and ebp, 3
mov ebp, dword [esi + ebp*4]
add ebp, eax
xor ebx, ebp
sub ecx, ebx
add eax, 0x61c88647
mov ebx, ecx
shr ebx, 5
mov ebp, ecx
shl ebp, 4
xor ebx, ebp
add ebx, ecx
mov ebp, eax
and ebp, 3
mov ebp, dword [esi + ebp*4]
add ebp, eax
xor ebx, ebp
sub edx, ebx
mov ebx, edx
shr ebx, 5
mov ebp, edx
shl ebp, 4
xor ebx, ebp
mov ebp, eax
shr ebp, 0xb
and ebp, 3
mov ebp, dword [esi + ebp*4]
add ebp, eax
add ebx, edx
xor ebx, ebp
sub ecx, ebx
mov ebx, ecx
shr ebx, 5
mov ebp, ecx
shl ebp, 4
xor ebx, ebp
add eax, 0x61c88647
mov ebp, eax
and ebp, 3
mov ebp, dword [esi + ebp*4]
add ebx, ecx
add ebp, eax
xor ebx, ebp
sub edx, ebx
mov ebx, edx
shr ebx, 5
mov ebp, edx
shl ebp, 4
xor ebx, ebp
mov ebp, eax
shr ebp, 0xb
and ebp, 3
mov ebp, dword [esi + ebp*4]
add ebp, eax
add ebx, edx
xor ebx, ebp
sub ecx, ebx
mov ebx, ecx
shr ebx, 5
mov ebp, ecx
shl ebp, 4
xor ebx, ebp
add eax, 0x61c88647
mov ebp, eax
and ebp, 3
mov ebp, dword [esi + ebp*4]
add ebx, ecx
add ebp, eax
xor ebx, ebp
sub edx, ebx
dec edi
jne 0x555690
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov dword [eax], edx
mov dword [eax + 4], ecx
pop ebx
ret
Function at 0x55dbe9
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x55dbfe
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x55dc10
xor eax, eax
jmp 0x55dc42
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
add eax, esi
and ecx, 0xf
jbe 0x55dc34
cmp esi, eax
jae 0x55dc0c
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x55dc26
cmp esi, eax
jae 0x55dc0c
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop ebp
ret

Function at 0x55f49f
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
push 4
pop eax
call fcn.0055f780
mov esi, esp
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x55f53a
mov ebx, dword [ebp - 0x24]
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x48]
mov eax, dword [0x7e3b84]
lea edi, [ecx - 1]
not edi
and edi, esi
sub edi, ecx
mov esi, eax
dec esi
neg esi
sbb esi, esi
and esi, 0xfffffff1
add esi, 0x11
imul esi, ecx
add esi, ebx
cmp edi, esi
mov dword [ebp - 8], ecx
jb 0x55f53a
cmp eax, 1
je 0x55f55b
mov dword [ebp - 4], ebx
mov ebx, 0x1000
push 0x1c
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x55f53a
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
test dword [ebp - 0x18], ebx
je 0x55f507
test byte [ebp - 0x13], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
je 0x55f536
xor eax, eax
inc eax
jmp 0x55f57a
cmp edi, eax
jae 0x55f53e
xor eax, eax
jmp 0x55f57a
cmp eax, esi
jae 0x55f545
mov dword [ebp - 4], esi
push 4
push ebx
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x7e3b84]
jmp 0x55f55e
mov dword [ebp - 4], edi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 0xc]
push ecx
inc eax
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x58]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x560cde
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, dword [ebp + 0x10]
xor ebx, ebx
test edi, edi
jne 0x560cfb
call fcn.00563024
mov dword [eax], 0x16
xor eax, eax
jmp 0x560d65
push esi
push 0x8c
push 1
call fcn.005636fa
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x560d50
push esi
call fcn.0056500a
mov eax, dword [ebp + 0x14]
or dword [esi + 4], 0xffffffff
mov dword [esi + 0x50], eax
mov eax, dword [ebp + 0x1c]
test eax, eax
pop ecx
mov dword [esi + 0x4c], edi
jne 0x560d2e
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0x18]
push esi
push 0x560c49
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x560d64
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
push esi
call fcn.0055f42e
test ebx, ebx
pop ecx
je 0x560d62
push ebx
call fcn.00563036
pop ecx
xor eax, eax
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x56119a
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x5611ba
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00563036
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x5611dd
test byte [esp + 8], 2
je 0x5611dd
call fcn.00563024
mov dword [eax], 0xd
call fcn.0056302d
mov dword [eax], 5
jmp 0x5611b6
xor eax, eax
ret

Function at 0x56132d
Capabilities:
Terminate process

Disassembly:
push 8
push 0x5da850
call fcn.00562eb8
push 8
call fcn.00563924
pop ecx
xor edi, edi
mov dword [ebp - 4], edi
xor esi, esi
inc esi
cmp dword [0x7e3bc4], esi
jne 0x561361
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [0x7e3bc0], esi
mov al, byte [ebp + 0x10]
mov byte [0x7e3bbc], al
cmp dword [ebp + 0xc], edi
jne 0x5613ab
cmp dword [0x7e55cc], edi
je 0x56139b
mov eax, dword [0x7e55c8]
sub eax, 4
mov dword [0x7e55c8], eax
cmp eax, dword [0x7e55cc]
jb 0x56139b
mov eax, dword [eax]
cmp eax, edi
je 0x56137c
call eax
jmp 0x56137c
push 0x639150
mov eax, 0x639148
call fcn.005612ab
pop ecx
push 0x63915c
mov eax, 0x639154
call fcn.005612ab
pop ecx
or dword [ebp - 4], 0xffffffff
call 0x5613dc
cmp dword [ebp + 0x10], edi
jne 0x5613ea
mov dword [0x7e3bc4], esi
push dword [ebp + 8]
call fcn.00561269
xor edi, edi
xor esi, esi
inc esi
cmp dword [ebp + 0x10], edi
je 0x5613e9
push 8
call fcn.0056386f
pop ecx
ret
call fcn.00562ef3
ret