joyce8/EMBER2024-capa huggingface dataset:
Function at 0x438e0d
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x47417b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
push ebx
push esi
mov esi, ecx
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
xor ebx, ebx
push edi
mov dword [esp + 0xc], esi
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], 0x11
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], 0xa
mov dword [esi + 0x18], 0x476dc0
lea edi, [esi + 0x34]
mov ecx, edi
mov dword [esp + 0x18], ebx
call fcn.0040db70
mov ecx, dword [esp + 0x10]
mov dword [edi + 4], eax
mov byte [eax + 0x15], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x43ff00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x474a0c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
lea ebx, [esi + 0x10]
call fcn.0046b0c6
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebx], eax
mov dword [esp + 0x1c], 0
lea ebp, [esi + 0x20]
call fcn.0046b0c6
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp], eax
mov byte [esp + 0x1c], 1
call fcn.0046b0c6
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x24], eax
mov byte [esp + 0x1c], 2
call fcn.0046b0c6
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x28], eax
mov edi, dword [esp + 0x24]
mov eax, dword [edi]
mov dword [esi], eax
mov ecx, dword [edi + 8]
mov dword [esi + 8], ecx
mov edx, dword [edi + 0xc]
lea eax, [edi + 0x10]
push eax
mov ecx, ebx
mov byte [esp + 0x20], 3
mov dword [esi + 0xc], edx
call fcn.00404670
mov ecx, dword [edi + 4]
mov dword [esi + 4], ecx
mov edx, dword [edi + 0x14]
mov dword [esi + 0x14], edx
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x1c], eax
mov ecx, dword [edi + 0x18]
lea edx, [edi + 0x24]
mov dword [esi + 0x18], ecx
push edx
lea ecx, [esi + 0x24]
call fcn.00404670
lea eax, [edi + 0x28]
push eax
lea ecx, [esi + 0x28]
call fcn.00404670
mov ecx, dword [edi + 0x30]
mov dword [esi + 0x30], ecx
mov edx, dword [edi + 0x34]
mov dword [esi + 0x34], edx
mov eax, dword [edi + 0x38]
mov dword [esi + 0x38], eax
mov ecx, dword [edi + 0x3c]
mov dword [esi + 0x3c], ecx
mov edx, dword [edi + 0x40]
mov dword [esi + 0x40], edx
mov eax, dword [edi + 0x44]
mov dword [esi + 0x44], eax
mov ecx, dword [edi + 0x48]
mov dword [esi + 0x48], ecx
mov edx, dword [edi + 0x50]
mov dword [esi + 0x50], edx
mov eax, dword [edi + 0x54]
mov dword [esi + 0x54], eax
mov ecx, dword [edi + 0x58]
mov dword [esi + 0x58], ecx
mov edx, dword [edi + 0x5c]
mov dword [esi + 0x5c], edx
mov eax, dword [edi + 0x60]
mov dword [esi + 0x60], eax
mov ecx, dword [edi + 0x64]
mov dword [esi + 0x64], ecx
mov edx, dword [edi + 0x68]
mov dword [esi + 0x68], edx
mov eax, dword [edi + 0x6c]
mov dword [esi + 0x6c], eax
mov ecx, dword [edi + 0x70]
mov dword [esi + 0x70], ecx
mov edx, dword [edi + 0x74]
lea ecx, [edi + 0x20]
mov dword [esi + 0x74], edx
mov eax, dword [edi + 0x78]
push ecx
mov ecx, ebp
mov dword [esi + 0x78], eax
call fcn.00404670
mov edx, dword [edi + 0x7c]
mov ecx, dword [esp + 0x14]
pop edi
mov dword [esi + 0x7c], edx
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x43ff18
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x474a0c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
lea ebx, [esi + 0x10]
call fcn.0046b0c6
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebx], eax
mov dword [esp + 0x1c], 0
lea ebp, [esi + 0x20]
call fcn.0046b0c6
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp], eax
mov byte [esp + 0x1c], 1
call fcn.0046b0c6
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x24], eax
mov byte [esp + 0x1c], 2
call fcn.0046b0c6
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x28], eax
mov edi, dword [esp + 0x24]
mov eax, dword [edi]
mov dword [esi], eax
mov ecx, dword [edi + 8]
mov dword [esi + 8], ecx
mov edx, dword [edi + 0xc]
lea eax, [edi + 0x10]
push eax
mov ecx, ebx
mov byte [esp + 0x20], 3
mov dword [esi + 0xc], edx
call fcn.00404670
mov ecx, dword [edi + 4]
mov dword [esi + 4], ecx
mov edx, dword [edi + 0x14]
mov dword [esi + 0x14], edx
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x1c], eax
mov ecx, dword [edi + 0x18]
lea edx, [edi + 0x24]
mov dword [esi + 0x18], ecx
push edx
lea ecx, [esi + 0x24]
call fcn.00404670
lea eax, [edi + 0x28]
push eax
lea ecx, [esi + 0x28]
call fcn.00404670
mov ecx, dword [edi + 0x30]
mov dword [esi + 0x30], ecx
mov edx, dword [edi + 0x34]
mov dword [esi + 0x34], edx
mov eax, dword [edi + 0x38]
mov dword [esi + 0x38], eax
mov ecx, dword [edi + 0x3c]
mov dword [esi + 0x3c], ecx
mov edx, dword [edi + 0x40]
mov dword [esi + 0x40], edx
mov eax, dword [edi + 0x44]
mov dword [esi + 0x44], eax
mov ecx, dword [edi + 0x48]
mov dword [esi + 0x48], ecx
mov edx, dword [edi + 0x50]
mov dword [esi + 0x50], edx
mov eax, dword [edi + 0x54]
mov dword [esi + 0x54], eax
mov ecx, dword [edi + 0x58]
mov dword [esi + 0x58], ecx
mov edx, dword [edi + 0x5c]
mov dword [esi + 0x5c], edx
mov eax, dword [edi + 0x60]
mov dword [esi + 0x60], eax
mov ecx, dword [edi + 0x64]
mov dword [esi + 0x64], ecx
mov edx, dword [edi + 0x68]
mov dword [esi + 0x68], edx
mov eax, dword [edi + 0x6c]
mov dword [esi + 0x6c], eax
mov ecx, dword [edi + 0x70]
mov dword [esi + 0x70], ecx
mov edx, dword [edi + 0x74]
lea ecx, [edi + 0x20]
mov dword [esi + 0x74], edx
mov eax, dword [edi + 0x78]
push ecx
mov ecx, ebp
mov dword [esi + 0x78], eax
call fcn.00404670
mov edx, dword [edi + 0x7c]
mov ecx, dword [esp + 0x14]
pop edi
mov dword [esi + 0x7c], edx
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x4446c0
Capabilities:
Delete registry key
Delete registry value
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x10
push ebp
push esi
mov esi, dword [esp + 0x20]
push edi
mov edi, dword [esp + 0x20]
push esi
push edi
mov ebp, ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x4446ea
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0x10
ret 8
lea eax, [esp + 0xc]
push eax
push 0xf003f
push 0
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x44470d
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x10
ret 8
push ebx
mov ebx, 0x64
push ebx
call fcn.0046b365
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
add esp, 4
lea ecx, [esp + 0x18]
push ecx
push 0
push 0
push 0
lea edx, [esp + 0x24]
push edx
mov esi, eax
mov eax, dword [esp + 0x24]
push esi
push 0
push eax
mov dword [esp + 0x34], ebx
call edi
test eax, eax
jne 0x444779
mov ecx, dword [esp + 0x10]
push esi
push ecx
mov ecx, ebp
call fcn.004446c0
test eax, eax
je 0x444779
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x18]
push edx
push 0
push 0
push 0
lea eax, [esp + 0x24]
push eax
push esi
push 0
push ecx
mov dword [esp + 0x34], ebx
call edi
test eax, eax
je 0x444746
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [esp + 0x10]
push 0
push 0
push 0
push 0
lea edx, [esp + 0x24]
push edx
push esi
push 0
push eax
mov dword [esp + 0x34], ebx
call edi
test eax, eax
jne 0x4447b0
mov ecx, dword [esp + 0x10]
push esi
push ecx
call ebp
test eax, eax
je 0x444785
push esi
call fcn.0046b360
mov edx, dword [esp + 0x14]
add esp, 4
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
pop ebx
neg eax
pop edi
sbb eax, eax
pop esi
inc eax
pop ebp
add esp, 0x10
ret 8
Function at 0x4447f0
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
mov eax, dword [esp + 4]
mov eax, dword [eax]
sub esp, 0x2c
lea ecx, [esp + 8]
push ecx
push eax
call fcn.004568ed
add esp, 8
test eax, eax
je 0x444920
push ebx
push esi
push edi
call fcn.0046f713
mov esi, dword [eax + 0xc]
test esi, esi
mov ebx, dword [sym.imp.KERNEL32.dll_FindResourceA]
je 0x444837
push 0x4788dc
push 0x191
push esi
call ebx
mov edi, eax
test edi, edi
jne 0x44485e
call fcn.0046f713
mov esi, dword [eax + 8]
test esi, esi
je 0x44491d
push 0x4788dc
push 0x191
push esi
call ebx
mov edi, eax
test edi, edi
je 0x44491d
push ebp
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
push esi
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x44491c
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x444915
mov eax, dword [ebx]
push eax
mov dword [esp + 0x14], eax
call fcn.0046b365
add ebp, 0xfffffffc
push ebp
add ebx, 4
push ebx
lea edx, [esp + 0x1c]
mov esi, eax
push edx
push esi
call fcn.00450e70
add esp, 0x14
test eax, eax
je 0x4448ce
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
push esi
call fcn.0046b360
add esp, 4
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x2c
ret 4
mov eax, dword [esp + 0x40]
mov eax, dword [eax]
push 0
push 0
push 2
push 0
push 0
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4448b4
mov edx, dword [esp + 0x10]
push 0
lea ecx, [esp + 0x18]
push ecx
push edx
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call fcn.0046b360
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x2c
ret 4
Function at 0x445570
Capabilities:
Get file version info

Disassembly:
push 0xffffffffffffffff
push 0x474db8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
call fcn.0046b0c6
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0xc], esi
mov ebx, dword [esi - 4]
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, ebx
sub eax, 0x104
or eax, ecx
mov dword [esp + 0x24], 0
jge 0x4455ce
push 0x104
lea ecx, [esp + 0x10]
call fcn.00401260
mov esi, dword [esp + 0xc]
mov edi, dword [esp + 0x2c]
mov eax, dword [edi]
push 0x104
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
test eax, eax
jne 0x4455f3
push edi
lea ecx, [esp + 0x10]
call fcn.00404670
mov esi, dword [esp + 0xc]
test esi, esi
jne 0x4455fb
xor eax, eax
jmp 0x44560f
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x445600
sub eax, edx
js 0x445725
cmp eax, dword [esi - 8]
jg 0x445725
mov dword [esi - 0xc], eax
mov byte [eax + esi], 0
mov edi, dword [esi - 4]
mov ecx, dword [esi - 8]
mov eax, 1
sub eax, edi
or ecx, eax
jge 0x44563f
push 0
lea ecx, [esp + 0x10]
call fcn.00401260
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x14]
push eax
push esi
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x445672
push ebx
call fcn.0046b365
add esp, 4
mov edi, eax
push edi
push ebx
push 0
push esi
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
jne 0x4456aa
push edi
call fcn.0046b360
add esp, 4
lea eax, [esi - 0x10]
mov dword [esp + 0x24], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x445694
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x14]
push ecx
push 0x478278
push edi
xor ebx, ebx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x4456e4
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4456e4
mov ecx, dword [eax + 0xc]
cmp ecx, dword [esp + 0x34]
mov eax, dword [eax + 8]
jne 0x4456df
cmp eax, dword [esp + 0x30]
je 0x4456e4
mov ebx, 1
push edi
call fcn.0046b360
lea eax, [esi - 0x10]
add esp, 4
mov dword [esp + 0x24], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x44570f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
mov eax, ebx
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc
push 0x80070057
call fcn.00401060
int3
Function at 0x449df0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x475143
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0046b0c6
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi], eax
xor ebx, ebx
mov dword [esp + 0x18], ebx
call fcn.0046b0c6
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 4], eax
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov eax, dword [0x48a21c]
lea edi, [esi + 0x1c]
mov ecx, edi
mov byte [esp + 0x18], 1
mov dword [esi + 0x18], eax
call fcn.00432a60
mov dword [edi + 4], eax
mov byte [eax + 0x2d], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebx
mov dword [esi + 0x28], 0x478a84
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x30], ebx
mov edi, 4
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], ebx
cmp dword [0x48a1e4], ebx
mov eax, dword [0x48a1e0]
jne 0x449eb2
mov eax, edi
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], 0x3e8
call fcn.0046b0c6
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x6c], eax
call fcn.0046b0c6
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x70], eax
call fcn.0046b0c6
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x74], eax
mov dword [esi + 0x180], ebx
mov dword [esi + 0x184], ebx
mov dword [esi + 0x188], ebx
mov dword [esi + 0x18c], ebx
mov eax, dword [0x48a210]
mov dword [esi + 0x190], eax
mov dword [esi + 0x198], ebx
mov dword [esi + 0x19c], ebx
mov dword [esi + 0x1a0], ebx
mov dword [esi + 0x1a4], ebx
mov dword [esi + 0x1a8], ebx
mov eax, dword [0x48a1f4]
cmp eax, ebx
mov ecx, dword [0x48a1f0]
ja 0x449f55
jb 0x449f51
cmp ecx, edi
jae 0x449f55
xor eax, eax
jmp 0x449f57
mov edi, ecx
mov dword [esi + 0x1b0], edi
mov dword [esi + 0x1b4], eax
mov eax, dword [0x48a1f8]
mov byte [esi + 0x1b9], 1
cmp eax, ebx
setne cl
mov byte [esi + 0x1b8], cl
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x1c0], ebx
mov dword [esi + 0x1cc], ebx
mov dword [esi + 0x1c8], ebx
mov dword [esi + 0x1c4], ebx
mov dword [esi + method.CCommandLineInfo.virtual_0], 0x478a90
mov dword [esi + 0x1d4], ebx
mov dword [esi + 0x1e0], ebx
mov dword [esi + 0x1dc], ebx
mov dword [esi + 0x1d8], ebx
mov dword [esi + method.CCommandLineInfo.virtual_0], 0x478a9c
mov dword [esi + 0x1e4], ebx
mov byte [esi + 0x1e8], bl
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x44a870
Capabilities:
Get geographical location

Disassembly:
sub esp, 0xc
mov eax, dword [0x48aff4]
push 5
mov dword [esp + 0xc], eax
lea eax, [esp + 4]
push eax
push 0xf
push 0x400
mov byte [esp + 0x10], 0
mov dword [esp + 0x11], 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jg 0x44a8a5
mov byte [esp], 0x2c
push esi
mov esi, dword [esp + 0x14]
mov eax, esi
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x44a8b0
sub eax, edx
mov ecx, eax
lea edx, [ecx - 1]
mov eax, 0x55555556
imul edx
mov eax, edx
shr eax, 0x1f
add eax, edx
test eax, eax
jle 0x44a8fa
mov dl, byte [ecx + esi]
add eax, ecx
add ecx, esi
add eax, esi
mov byte [eax], dl
dec eax
dec ecx
cmp ecx, eax
jae 0x44a8fa
mov esi, 3
mov dl, byte [ecx]
mov byte [eax], dl
dec eax
dec ecx
dec esi
jne 0x44a8e6
mov dl, byte [esp + 4]
mov byte [eax], dl
dec eax
cmp ecx, eax
jb 0x44a8e1
mov ecx, dword [esp + 0xc]
pop esi
call fcn.00455418
add esp, 0xc
ret

Function at 0x44a950
Capabilities:
Get memory capacity

Disassembly:
sub esp, 0x40
push ebx
push esi
push edi
mov esi, ecx
xor ebx, ebx
push str.kernel32.dll
mov dword [esi + 0xa0], ebx
mov dword [esi + 0xa4], ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x44a9b5
push str.GlobalMemoryStatusEx
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x44a9ae
lea ecx, [esp + 0xc]
push ecx
mov dword [esp + 0x10], 0x40
call eax
test eax, eax
je 0x44a9ae
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov dword [esi + 0xa0], edx
mov dword [esi + 0xa4], eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [esi + 0xa0]
or ecx, dword [esi + 0xa4]
jne 0x44aa00
xor edx, edx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], edx
lea eax, [esp + 0xc]
mov dword [esp + 0x24], edx
push eax
mov dword [esp + 0x2c], edx
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov ecx, dword [esp + 0x14]
mov dword [esi + 0xa0], ecx
mov dword [esi + 0xa4], ebx
mov edx, dword [esi + 0xa0]
or edx, dword [esi + 0xa4]
jne 0x44aa1e
mov dword [esi + 0xa0], 0x8000000
mov dword [esi + 0xa4], ebx
pop edi
pop esi
pop ebx
add esp, 0x40
ret
Function at 0x44ab60
Capabilities:
Identify system language via api

Disassembly:
sub esp, 0x28
push esi
push 1
mov esi, 0x809
push esi
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
jne 0x44ab7f
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx esi, ax
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
xor eax, eax
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
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x10], edx
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x3c]
lea edx, [esp + 4]
push edx
mov dword [esp + 8], 0x28
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x2c], esi
call dword [sym.imp.USER32.dll_MessageBoxIndirectA]
pop esi
add esp, 0x28
ret 0x10
Function at 0x44c2f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ecx + 8]
mov edx, dword [ecx + 0x34]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
add eax, dword [ecx + 4]
imul eax, dword [ebp + 0x14]
add eax, esi
mov ax, word [edx + eax*2]
test ax, ax
mov word [ebp + 0xc], ax
je 0x44c3e0
mov eax, dword [ecx + 0x38]
mov dword [ebp + 0x14], eax
sub esp, 0x1000
movzx eax, word [ebp + 0xc]
mov ebx, dword [ebp + 0x14]
push ebp
lea ebp, [esp + 4]
xor edx, edx
mov dh, al
lea esi, [ebx + edx*2]
mov ecx, 0x10000
mov cl, ah
lea edi, [ebx + ecx*2]
mov edx, 0x10000
mov dh, al
lea edx, [ebx + edx*2]
mov ecx, 0x20000
mov ch, ah
lea ebx, [ebx + ecx*2]
mov ecx, 0x100
jmp 0x44c360
movzx eax, word [esi]
lea esi, [esi + 2]
xor ax, word [edi]
lea edi, [edi + 0x200]
mov dword [ebp], eax
shl eax, 0x10
mov dword [ebp + 0x800], eax
movzx eax, word [edx]
lea edx, [edx + 2]
xor ax, word [ebx]
lea ebx, [ebx + 2]
mov dword [ebp + 4], eax
shl eax, 0x10
mov dword [ebp + 0x804], eax
lea ebp, [ebp + 8]
dec ecx
jne 0x44c360
pop ebp
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 0x18]
mov edx, dword [ebp + 8]
add edx, esi
sub edi, 4
push ebp
lea ebp, [esp + 0x804]
lodsd eax, dword [esi]
movzx ebx, al
movzx ecx, ah
mov ebx, dword [esp + ebx*8 + 4]
shr eax, 0x10
xor ebx, dword [esp + ecx*8 + 8]
movzx ecx, al
movzx eax, ah
xor ebx, dword [ebp + ecx*8]
add edi, 4
xor ebx, dword [ebp + eax*8 + 4]
xor dword [edi], ebx
cmp esi, edx
jb 0x44c3b0
pop ebp
add esp, 0x1000
pop edi
pop esi
pop ebx
pop ebp
ret 0x14

Function at 0x44f4f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x475678
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 0x1c]
lea eax, [esp + 0x10]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 8], vtable.CRgn.0
lea edx, [esp + 0x34]
push edx
mov dword [esp + 0x2c], eax
call dword [sym.imp.GDI32.dll_CreateRectRgnIndirect]
push eax
lea ecx, [esp + 0xc]
call fcn.0046d312
mov esi, dword [esp + 0x30]
lea eax, [esp + 8]
push eax
mov ecx, esi
call fcn.0046d05f
push 1
mov ecx, esi
call fcn.0046cd9c
mov edx, dword [esi]
push 0xffffff
mov ecx, esi
call dword [edx + 0x30]
mov edi, dword [edi + 0x58]
mov eax, dword [edi - 0xc]
mov edx, dword [esi]
push 0x25
lea ecx, [esp + 0x14]
push ecx
push eax
push edi
mov ecx, esi
call dword [edx + 0x68]
lea ecx, [esp + 8]
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 8], vtable.CGdiObject.0
call fcn.0046d369
mov ecx, dword [esp + 0x20]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret 0x14
Function at 0x44f790
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x475678
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
mov ebx, ecx
mov eax, dword [ebx + 0x1c]
push edi
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.0046d157
mov edx, dword [ebx + 0x1c]
lea ecx, [esp + 0x14]
push ecx
push edx
mov esi, eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov edi, dword [esp + 0x38]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov eax, edi
mov dword [eax], ecx
mov ecx, dword [esp + 0x1c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x20]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], vtable.CRgn.0
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.GDI32.dll_CreateRectRgnIndirect]
push eax
lea ecx, [esp + 0x10]
call fcn.0046d312
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call fcn.0046d05f
push 1
mov ecx, esi
call fcn.0046cd9c
mov edx, dword [esi]
push 0xffffff
mov ecx, esi
call dword [edx + 0x30]
mov eax, dword [esp + 0x34]
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
mov edx, dword [esi]
push 0x425
push edi
push ecx
push eax
mov ecx, esi
call dword [edx + 0x68]
mov eax, dword [esi + 4]
mov ecx, dword [ebx + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ebx, dword [edi + 0xc]
mov eax, dword [edi + 4]
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
sub eax, ebx
mov ebx, dword [edi + 8]
sub eax, esi
mov esi, dword [esp + 0x14]
add eax, edx
cdq
sub eax, edx
mov edx, dword [esp + 0x1c]
mov ecx, eax
mov eax, dword [edi]
sub eax, ebx
sub eax, esi
sar ecx, 1
add eax, edx
cdq
sub eax, edx
push ecx
sar eax, 1
push eax
push edi
call dword [sym.imp.USER32.dll_OffsetRect]
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0xc], vtable.CGdiObject.0
call fcn.0046d369
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 8