joyce8/EMBER2024-capa huggingface dataset:
Function at 0x418e00
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x5780f0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x60bd28]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
mov ebx, 1
push str.SAMSUNGSH_B022A
mov dword [esp + 0x2c], ebx
call fcn.00402a30
mov edi, dword [esp + 0x30]
push ecx
add edi, 0xfffffff0
mov dword [esp + 0x20], esp
mov ebp, esp
push edi
mov byte [esp + 0x30], 2
call fcn.00401b70
add eax, 0x10
mov dword [ebp], eax
add esp, 4
mov byte [esp + 0x2c], bl
call fcn.00427470
test al, al
setne al
add esp, 4
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.BENQDVDDCEW200G
mov byte [esi + 2], al
call fcn.00402a30
push ecx
mov dword [esp + 0x1c], esp
mov ebp, esp
push edi
mov byte [esp + 0x30], 3
call fcn.00401b70
add eax, 0x10
mov dword [ebp], eax
add esp, 4
mov byte [esp + 0x2c], bl
call fcn.00427470
add esp, 8
test al, al
setne cl
cmp dword [esp + 0x34], 0
mov byte [esi + 3], cl
jne 0x418f08
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push str.BD_RE_BDD1001
call fcn.00402a30
mov eax, dword [esp + 0x38]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x24], esp
mov ebp, esp
push eax
mov byte [esp + 0x34], 4
call fcn.00401b70
add eax, 0x10
mov dword [ebp], eax
add esp, 4
mov byte [esp + 0x30], bl
call fcn.0042a690
add esp, 0xc
test eax, eax
jl 0x418f08
mov eax, ebx
jmp 0x418f0a
xor eax, eax
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push str.HL_DT_STDVD_RAM_GSA_H50L
mov byte [esi + 1], al
call fcn.00402a30
push ecx
mov dword [esp + 0x24], esp
mov ebp, esp
push edi
mov byte [esp + 0x34], 5
call fcn.00401b70
add eax, 0x10
mov dword [ebp], eax
add esp, 4
mov byte [esp + 0x30], bl
call fcn.0042a690
xor edx, edx
add esp, 0xc
test eax, eax
mov al, byte [esp + 0x38]
setge dl
mov byte [esi], al
mov byte [esp + 0x24], 0
lea ecx, [edi + 0xc]
mov dword [esi + 4], edx
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418f75
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov dword [esp + 0x24], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418f9d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 0x10
Function at 0x419d70
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x578234
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
mov eax, dword [0x60bd28]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
push str.Caddy
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], 0
call fcn.00402a30
push str.Tray
lea ecx, [esp + 0x14]
mov dword [esp + 0x38], 1
call fcn.00402a30
push str.Slot_in
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 2
call fcn.00402a30
lea eax, [esp + 0x18]
push 0xac
push eax
mov byte [esp + 0x3c], 3
call fcn.004082b0
add esp, 8
push str.Changer
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], 4
call fcn.00402a30
push str.Changer
lea ecx, [esp + 0x24]
mov byte [esp + 0x38], 5
call fcn.00402a30
lea ecx, [esp + 0x24]
push 0xac
push ecx
mov byte [esp + 0x3c], 6
call fcn.004082b0
lea edx, [esp + 0x30]
push 0xac
push edx
mov byte [esp + 0x44], 7
call fcn.004082b0
movzx eax, byte [esp + 0x50]
mov eax, dword [esp + eax*4 + 0x1c]
sub eax, 0x10
push eax
mov dword [esp + 0x48], 8
call fcn.00401b70
mov esi, dword [esp + 0x50]
add eax, 0x10
add esp, 0x14
mov dword [esi], eax
push fcn.00401340
push 8
push 4
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x18], 1
mov byte [esp + 0x44], 0
call fcn.00540fb0
mov eax, esi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x30
ret
Function at 0x4207e0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x578b72
mov eax, dword fs:[0]
push eax
sub esp, 0x394
mov eax, dword [0x60bd28]
xor eax, esp
mov dword [esp + 0x390], eax
push ebx
push esi
push edi
mov eax, dword [0x60bd28]
xor eax, esp
push eax
lea eax, [esp + 0x3a4]
mov dword fs:[0], eax
mov esi, dword [esp + 0x3b4]
mov edi, dword [esp + 0x3b8]
xor ebx, ebx
cmp esi, ebx
mov dword [esp + 0x14], ebx
je 0x4209ad
push 0x104
lea eax, [esp + 0x2a0]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push edi
lea ecx, [esp + 0x2a0]
push ecx
lea edx, [esp + 0x1a0]
push str._sdrivers_s.sys
push edx
call fcn.00540420
add esp, 0x10
lea eax, [esp + 0x198]
push eax
lea ecx, [esp + 0x14]
call fcn.00402a30
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x3b0], ebx
mov dword [esp + 0x18], 1
call fcn.0042b480
add esp, 4
test al, al
je 0x4208a4
cmp dword [esi], 0x800
jge 0x4208a4
mov bl, 1
jmp 0x4208a6
xor bl, bl
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x3ac], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4208d1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x4209ad
mov edx, dword [esi]
shl edx, 9
mov ecx, edi
lea edx, [edx + esi + 4]
mov al, byte [ecx]
mov byte [edx], al
add ecx, 1
add edx, 1
test al, al
jne 0x4208e4
lea eax, [esp + 0x98]
push eax
lea ecx, [esp + 0x11c]
push ecx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x1a4]
push eax
call fcn.0042a300
add esp, 0x10
test al, al
je 0x420981
mov edx, dword [esi]
shl edx, 9
lea ecx, [esp + 0x118]
lea edx, [edx + esi + 0x84]
mov edi, edi
mov al, byte [ecx]
mov byte [edx], al
add ecx, 1
add edx, 1
test al, al
jne 0x420930
mov eax, dword [esi]
shl eax, 9
lea ecx, [esp + 0x18]
lea edx, [eax + esi + 0x104]
mov edi, edi
mov al, byte [ecx]
mov byte [edx], al
add ecx, 1
add edx, 1
test al, al
jne 0x420950
mov edx, dword [esi]
shl edx, 9
lea ecx, [esp + 0x98]
lea edx, [edx + esi + 0x184]
mov al, byte [ecx]
mov byte [edx], al
add ecx, 1
add edx, 1
test al, al
jne 0x420971
jmp 0x4209aa
mov ecx, dword [esi]
shl ecx, 9
mov eax, 0x612f6e
mov dword [ecx + esi + 0x84], eax
mov edx, dword [esi]
shl edx, 9
mov dword [edx + esi + 0x104], eax
mov ecx, dword [esi]
shl ecx, 9
mov dword [ecx + esi + 0x184], eax
add dword [esi], 1
mov ecx, dword [esp + 0x3a4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x390]
xor ecx, esp
call fcn.0053fab2
add esp, 0x3a0
ret
Function at 0x421d00
Capabilities:
Identify system language via api

Disassembly:
sub esp, 0x8c
mov eax, dword [0x60bd28]
xor eax, esp
mov dword [esp + 0x88], eax
cmp dword [0x5fad30], 0xffffff9c
push ebx
mov ebx, dword [esp + 0x94]
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], ebx
jne 0x421d91
cmp dword [esp + 0xa8], 0
je 0x421d91
lea eax, [esp + 0x10]
push eax
call fcn.004ac961
add esp, 4
lea ecx, [esp + 0x10]
call fcn.004ac63f
mov esi, eax
push esi
mov dword [0x5fad30], 0
call fcn.00425f10
add esp, 4
cmp al, 0x88
jne 0x421d77
mov dword [0x5fad30], 0xfffffffe
jmp 0x421d91
push esi
call fcn.00425f10
sub al, 0x86
add esp, 4
neg al
sbb eax, eax
and eax, 2
add eax, 0xfffffffe
mov dword [0x5fad30], eax
lea ecx, [esp + 0x18]
push ecx
call fcn.004ac961
add esp, 4
lea ecx, [esp + 0x18]
call fcn.004ac63f
mov edx, dword [ebx + 0x20]
xor ebp, ebp
push ebp
push ebp
push 0x31
push edx
mov dword [esp + 0x20], eax
call dword [sym.imp.USER32.dll_SendMessageA]
push eax
call fcn.00520b89
mov ebx, dword [sym.imp.GDI32.dll_GetObjectA]
mov esi, eax
cmp esi, ebp
je 0x421e13
cmp dword [edi + 4], ebp
jne 0x421e13
push 8
call fcn.00506f37
add esp, 4
cmp eax, ebp
je 0x421deb
mov dword [eax + 4], ebp
mov dword [eax], vtable.CFont.0
jmp 0x421ded
xor eax, eax
mov dword [edi + 4], eax
mov ecx, dword [esi + 4]
lea eax, [esp + 0x5c]
push eax
push 0x3c
push ecx
call ebx
mov edi, dword [edi + 4]
lea edx, [esp + 0x5c]
push edx
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push eax
mov ecx, edi
call fcn.00520b97
mov ecx, dword [esi + 4]
lea eax, [esp + 0x20]
push eax
push 0x3c
push ecx
call ebx
mov edi, dword [esp + 0xa4]
cmp edi, 0xffffffff
jne 0x421e5e
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x20]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.005208c2
mov ecx, dword [eax + 4]
push 0x48
push 0x5a
push ecx
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov edx, dword [esp + 0x24]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov edi, eax
neg edi
mov eax, dword [esp + 0xa8]
cmp eax, 0xffffffff
je 0x421e73
test eax, eax
jle 0x421e73
mov ebp, 0x2bc
push 8
call fcn.00506f37
add esp, 4
test eax, eax
je 0x421e92
mov dword [eax + 4], 0
mov dword [eax], vtable.CFont.0
mov esi, eax
jmp 0x421e94
xor esi, esi
cmp edi, 0xffffffff
je 0x421e9f
add edi, dword [0x5fad30]
mov eax, dword [esp + 0x10]
push eax
call fcn.00425f10
add esp, 4
lea ecx, [esp + 0x3c]
push ecx
push 0
push 0
push 0
push 0
movzx edx, al
push edx
push 0
push 0
push 0
push ebp
push 0
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_CreateFontA]
push eax
mov ecx, esi
call fcn.00520b97
test esi, esi
jne 0x421ee1
xor eax, eax
jmp 0x421ee4
mov eax, dword [esi + 4]
push 1
push eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x20]
push 0x30
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx + 0x10]
add ecx, 8
push esi
push edx
call fcn.004217a0
mov ecx, dword [esp + 0x98]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
mov eax, 1
call fcn.0053fab2
add esp, 0x8c
ret 0xc
Function at 0x423f80
Capabilities:
Read file on windows

Disassembly:
push ebp
push esi
mov ebp, ecx
xor esi, esi
cmp dword [ebp + 4], esi
jne 0x423f92
pop esi
xor al, al
pop ebp
ret 8
push ebx
mov ebx, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0x18]
push edi
push esi
push ebx
call fcn.0053fd60
mov ecx, dword [ebp + 4]
add esp, 0xc
push esi
lea eax, [esp + 0x1c]
push eax
push edi
push ebx
push ecx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, edi
mov esi, eax
jg 0x423ffa
test eax, eax
jne 0x423fe1
test esi, esi
jg 0x423ffc
jne 0x423fe1
lea edx, [esp + 0x14]
push edx
mov ecx, ebp
call fcn.00423f40
test al, al
jne 0x423ffa
mov ecx, dword [ebp + 4]
push 0
lea eax, [esp + 0x1c]
push eax
push edi
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
add esi, eax
cmp esi, edi
jle 0x423fc7
test esi, esi
pop edi
pop ebx
pop esi
setne al
pop ebp
ret 8

Function at 0x4242f0
Capabilities:
Resume thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
je 0x424304
mov eax, dword [eax + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
cmp dword [esi + 4], eax
pop esi
setne al
ret
Function at 0x4250c0
Capabilities:
Encode data using xor
Read file on windows
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x579198
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x60bd28]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
call fcn.00512f10
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x425103
push 0x80004005
call fcn.00401010
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
cmp dword [esi + 0x3c], 2
mov dword [esp + 0x28], 0
push 2
lea ecx, [esp + 0x1c]
jne 0x42512e
push 0x599fa8
jmp 0x425133
push 0x599fa4
call fcn.00402290
mov eax, dword [esi + 0x38]
push 0x599fa0
push eax
call fcn.00542e5f
mov ebx, dword [esp + 0x20]
mov ebp, eax
mov eax, dword [esi + 0x34]
lea edi, [esi + 0x34]
push ebx
push eax
call fcn.00542e5f
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x42522d
mov eax, dword [edi]
mov ecx, dword [eax - 0xc]
test ecx, ecx
jg 0x425174
or eax, 0xffffffff
jmp 0x42518a
push 0x5c
push eax
call fcn.005425e1
add esp, 8
test eax, eax
jne 0x425188
or eax, 0xffffffff
jmp 0x42518a
sub eax, dword [edi]
add eax, 1
mov ecx, dword [edi]
mov edx, dword [ecx - 0xc]
js 0x42521f
cmp eax, edx
jge 0x42521f
add ecx, eax
push 0x5c
push ecx
call fcn.005425e1
add esp, 8
test eax, eax
je 0x42521f
sub eax, dword [edi]
mov esi, eax
js 0x42521f
push esi
lea ecx, [esp + 0x20]
push ecx
mov ecx, edi
call fcn.00425040
mov ebx, dword [esp + 0x1c]
push ebx
call fcn.00542d6f
mov ecx, dword [edi]
mov edx, dword [ecx - 0xc]
lea eax, [esi + 1]
add esp, 4
test eax, eax
jl 0x4251f8
cmp eax, edx
jge 0x4251f8
add ecx, eax
push 0x5c
push ecx
call fcn.005425e1
add esp, 8
test eax, eax
je 0x4251f8
sub eax, dword [edi]
mov esi, eax
jmp 0x4251fb
or esi, 0xffffffff
lea eax, [ebx - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x425217
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
jge 0x4251b7
mov ebx, dword [esp + 0x18]
mov edi, dword [edi]
push ebx
push edi
call fcn.00542e5f
add esp, 8
mov esi, eax
push ebp
push 1
lea ecx, [esp + 0x1e]
push 1
push ecx
call fcn.00542d54
add esp, 0x10
test eax, eax
je 0x425286
mov dl, byte [0x5fadd4]
xor dl, byte [esp + 0x16]
push esi
push 1
lea eax, [esp + 0x1f]
push 1
push eax
mov byte [esp + 0x27], dl
call fcn.00542a1b
mov cl, byte [esp + 0x26]
push esi
mov byte [0x5fadd4], cl
call fcn.00542860
push ebp
push 1
lea edx, [esp + 0x32]
push 1
push edx
call fcn.00542d54
add esp, 0x24
test eax, eax
jne 0x425243
push ebp
call fcn.00542666
push esi
call fcn.00542666
lea eax, [ebx - 0x10]
add esp, 8
mov dword [esp + 0x28], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4252b9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x4252e0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x5791de
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x60bd28]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], vtable.CFileManipulatorCrypt.0
mov dword [esp + 0x14], 2
call fcn.00424540
cmp dword [esi + 0x3c], 0
je 0x425328
mov ecx, esi
call fcn.004250c0
mov eax, dword [esi + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [esi + 0x38]
sub eax, 0x10
mov byte [esp + 0x14], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x425356
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi + 0x34]
sub eax, 0x10
mov byte [esp + 0x14], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42537a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.00424630
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x4259b0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x48
mov eax, dword [0x60bd28]
xor eax, esp
mov dword [esp + 0x44], eax
mov edx, dword [0x59a018]
mov eax, dword [str.CommonFilesDir]
push ebx
mov ebx, dword [esp + 0x50]
push esi
push edi
mov ecx, 0xa
mov esi, str.SOFTWAREMicrosoftWindowsCurrentVersion
lea edi, [esp + 0x24]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x59a014]
mov dword [esp + 0x1c], edx
lea edx, [esp + 0xc]
push edx
mov dword [esp + 0x18], eax
mov ax, word [0x59a01c]
push 0x20019
mov word [esp + 0x28], ax
push 0
lea eax, [esp + 0x30]
mov dword [esp + 0x24], ecx
mov cl, byte [0x59a01e]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
movsw word es:[edi], word [esi]
mov byte [esp + 0x36], cl
mov dword [esp + 0x24], 1
mov dword [esp + 0x20], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x425a79
lea ecx, [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x10]
push ebx
lea edx, [esp + 0x18]
push edx
push eax
lea eax, [esp + 0x24]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [esp + 0xc]
push edx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
test esi, esi
pop esi
sete al
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.0053fab2
add esp, 0x48
ret
mov ecx, dword [esp + 0x50]
pop edi
pop esi
pop ebx
xor ecx, esp
xor al, al
call fcn.0053fab2
add esp, 0x48
ret
Function at 0x425a90
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x48
mov eax, dword [0x60bd28]
xor eax, esp
mov dword [esp + 0x44], eax
mov edx, dword [0x59a028]
mov eax, dword [str.ProgramFilesDir]
push ebx
mov ebx, dword [esp + 0x50]
push esi
push edi
mov ecx, 0xa
mov esi, str.SOFTWAREMicrosoftWindowsCurrentVersion
lea edi, [esp + 0x24]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x59a024]
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0xc]
push ecx
push 0x20019
mov dword [esp + 0x24], edx
push 0
lea edx, [esp + 0x30]
mov dword [esp + 0x20], eax
mov eax, dword [0x59a02c]
push edx
push reloc.OLEAUT32.dll_SysReAllocString
movsw word es:[edi], word [esi]
mov dword [esp + 0x34], eax
mov dword [esp + 0x24], 1
mov dword [esp + 0x20], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x425b4e
lea eax, [esp + 0x5c]
push eax
mov eax, dword [esp + 0x10]
push ebx
lea ecx, [esp + 0x18]
push ecx
push 0
lea edx, [esp + 0x24]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp + 0xc]
push ecx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
test esi, esi
pop esi
sete al
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.0053fab2
add esp, 0x48
ret
mov ecx, dword [esp + 0x50]
pop edi
pop esi
pop ebx
xor ecx, esp
xor al, al
call fcn.0053fab2
add esp, 0x48
ret

Function at 0x425cd0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov eax, 4
mov dword [esp + 8], eax
mov dword [esp + 4], eax
lea eax, [esp]
push eax
push 0x20019
push 0
push ecx
push edx
mov dword [esp + 0x14], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x425d40
mov ecx, dword [esp + 0x1c]
push esi
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x14]
push edx
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [esp + 4]
push edx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
sete al
pop esi
add esp, 0xc
ret
xor al, al
add esp, 0xc
ret

Function at 0x425d50
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x1c]
push esi
mov esi, dword [esp + 0x1c]
push eax
push 0
push esi
call fcn.0053fd60
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
add esp, 0xc
lea ecx, [esp + 4]
push ecx
push 0x20019
push 0
push edx
push eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x425dcb
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 8]
push esi
lea edx, [esp + 0x10]
push edx
push eax
mov eax, dword [esp + 0x28]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [esp + 4]
push edx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
sete al
pop esi
add esp, 8
ret
xor al, al
pop esi
add esp, 8
ret
Function at 0x4265b0
Capabilities:
Create process on windows

Disassembly:
mov ecx, dword [esp + 4]
xor eax, eax
test ecx, ecx
je 0x4265d1
mov eax, dword [esp + 8]
push eax
push 0
push 0
push ecx
push str.explore
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
ret
Function at 0x428f20
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x579910
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x60bd28]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x18], 0
call fcn.00428d10
push eax
mov dword [esp + 0x30], 0
call fcn.0042b480
movzx ebx, al
mov eax, dword [esp + 0x20]
or edi, 0xffffffff
add eax, 0xfffffff0
add esp, 0xc
mov dword [esp + 0x24], edi
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x428f97
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.00428e20
push eax
mov dword [esp + 0x30], 1
call fcn.0042b480
movzx esi, al
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
add esp, 0xc
mov dword [esp + 0x24], edi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x428fdb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x428ff9
test ebx, ebx
jne 0x428ff9
lea eax, [ebx + 1]
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x18
ret
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x18
ret

Function at 0x4293b0
Capabilities:
Access peb ldr_data
Identify system language via api

Disassembly:
push 0xffffffffffffffff
push 0x5799c8
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push esi
mov eax, dword [0x60bd28]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
lea eax, [esp + 0xc]
push eax
call fcn.004ac961
add esp, 4
lea ecx, [esp + 0xc]
call fcn.004ac63f
push 5
lea ecx, [esp + 0x10]
mov esi, eax
call fcn.004ac4c5
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.00402a30
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.Modal_User_Def
mov dword [esp + 0x60], 0
call fcn.00402a30
lea ecx, [esp + 0x24]
mov dword [esp + 0x5c], 0xffffffff
call fcn.0043bcd0
lea ecx, [esp + 0x18]
call fcn.0043a600
push 5
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push esi
push ecx
call fcn.0043a920
add esp, 4
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.Modal_Code_page
mov dword [esp + 0x60], 1
call fcn.00402a30
lea ecx, [esp + 0x24]
mov dword [esp + 0x5c], 0xffffffff
call fcn.0043bcd0
lea ecx, [esp + 0x18]
call fcn.0043a600
push esi
call fcn.00425f10
add esp, 4
mov bl, al
push 5
push ecx
movzx edx, bl
mov eax, esp
mov dword [esp + 0x1c], esp
push edx
push eax
call fcn.0043a920
add esp, 4
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.Code_page
mov dword [esp + 0x60], 2
call fcn.00402a30
lea ecx, [esp + 0x3c]
mov dword [esp + 0x5c], 0xffffffff
call fcn.0043bcd0
lea ecx, [esp + 0x30]
call fcn.0043a600
cmp bl, 0x80
je 0x4294ee
cmp bl, 0x81
je 0x4294ee
xor eax, eax
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x48
ret
mov eax, 1
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x48
ret