joyce8/EMBER2024-capa huggingface dataset:
Function at 0x559320
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xd0
mov esi, esp
mov dword [esi + 0xb8], ebp
mov dword [esi + 0x18], edx
mov dword [esi + 0x1c], ecx
lea ecx, [esi + 0xc0]
mov dword [ecx - 4], esp
xor ebx, ebx
dec ebx
mov dword [ecx + 8], ebx
mov dword [ecx + 4], 0x4d1180
mov eax, dword fs:[0]
mov dword [ecx], eax
mov dword fs:[0], ecx
xor eax, eax
lea ecx, [esi + 0x29]
mov dword [ecx + 3], eax
mov dword [ecx - 1], 0x25
mov eax, dword [ebp + 8]
mov edx, 0x5dad77
push dword [eax + 4]
push 1
call fcn.00560930
add esp, 8
mov dword [esi + 0xc], esp
lea edi, [esi + 0x30]
mov dword [edi + 0x14], ebx
mov dword [edi + 0x10], ebx
pcmpeqd xmm0, xmm0
movdqa xmmword [edi], xmm0
sub esp, 0x20
mov ebx, esp
lea ecx, [ebx + 8]
call fcn.0050a6f0
mov dword [ebx], edi
mov dword [ebx + 4], 0x18
lea eax, [esi + 0x28]
mov dword [ebx + 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [ebx + 0x1c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebx + 0x18], eax
call fcn.0040b2d0
add esp, 0x20
mov esp, dword [esi + 0xc]
lea ebx, [esi + eax]
add ebx, 0x30
mov ecx, edi
mov edx, ebx
push dword [ebp + 8]
call fcn.00558e80
add esp, 4
mov dword [esi + 0x20], eax
lea eax, [esi + 0x50]
pcmpeqd xmm0, xmm0
movdqu xmmword [eax + 0x4a], xmm0
movdqa xmmword [eax + 0x40], xmm0
movdqa xmmword [eax + 0x30], xmm0
movdqa xmmword [eax + 0x20], xmm0
movdqa xmmword [eax + 0x10], xmm0
movdqa xmmword [eax], xmm0
lea edx, [esi + 0x14]
xor ecx, ecx
dec ecx
mov dword [edx], ecx
lea edx, [esi + 0x10]
mov dword [edx], ecx
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x1c]
lea edx, [esi + 0x24]
mov dword [edx], ecx
mov dword [esi + 0xc], ecx
lock inc dword [ecx + 4]
lea ecx, [esi + 0xc0]
xor edx, edx
mov dword [ecx + 8], edx
mov ecx, edi
mov edx, dword [esi + 0x20]
lea edi, [esi + 0x24]
push edi
lea edi, [esi + 0x10]
push edi
lea edi, [esi + 0x14]
push edi
push eax
push ebx
call fcn.004cb120
add esp, 0x14
movzx edx, word [ebp + 0xc]
xor eax, eax
dec eax
mov ecx, dword [esi + 0xc]
lock xadd dword [ecx + 4], eax
test eax, eax
jne 0x559483
mov ebx, dword [esi + 0xc]
mov eax, dword [ebx]
mov edi, dword [eax + 4]
mov dword [esi + 0xc8], 0xffffffff
mov ecx, edi
call dword [section..00cfg]
mov ecx, ebx
call edi
movzx edx, word [ebp + 0xc]
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
mov dword [esi + 0xc8], 0xffffffff
movzx edx, dx
push edx
push dword [ebp + 8]
push eax
push ecx
lea eax, [esi + 0x50]
push eax
push dword [esi + 0x18]
mov edi, dword [esi + 0x1c]
push edi
call fcn.0055a360
add esp, 0x1c
mov eax, dword [esi + 0xc0]
mov dword fs:[0], eax
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x559540
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x90
mov esi, esp
mov dword [esi + 0x78], ebp
mov dword [esi + 0x18], edx
mov dword [esi + 0x1c], ecx
lea ecx, [esi + 0x80]
mov dword [ecx - 4], esp
xor ebx, ebx
dec ebx
mov dword [ecx + 8], ebx
mov dword [ecx + 4], 0x4d1190
mov eax, dword fs:[0]
mov dword [ecx], eax
mov dword fs:[0], ecx
xor eax, eax
lea ecx, [esi + 0x29]
mov dword [ecx + 3], eax
mov dword [ecx - 1], 0x25
mov edi, dword [ebp + 8]
mov edx, 0x5dad45
push dword [edi + 4]
push eax
call fcn.00560930
add esp, 8
mov dword [esi + 0xc], esp
lea edi, [esi + 0x30]
mov dword [edi + 8], ebx
mov dword [edi + 4], ebx
mov dword [edi], ebx
mov byte [edi + 0xc], 0xff
sub esp, 0x1c
mov ebx, esp
lea ecx, [ebx + 8]
call fcn.0050a6f0
mov dword [ebx], edi
mov dword [ebx + 4], 0xd
lea eax, [esi + 0x28]
mov dword [ebx + 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [ebx + 0x18], eax
call fcn.0040b2d0
add esp, 0x1c
mov esp, dword [esi + 0xc]
lea edx, [esi + eax]
add edx, 0x30
mov dword [esi + 0x20], edx
mov ecx, edi
push dword [ebp + 8]
call fcn.00558e80
add esp, 4
pcmpeqd xmm0, xmm0
lea ebx, [esi + 0x40]
movdqu xmmword [ebx + 0x1e], xmm0
movdqa xmmword [ebx + 0x10], xmm0
movdqa xmmword [ebx], xmm0
lea edx, [esi + 0x14]
xor ecx, ecx
dec ecx
mov dword [edx], ecx
lea edx, [esi + 0x10]
mov dword [edx], ecx
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x1c]
lea edx, [esi + 0x24]
mov dword [edx], ecx
mov dword [esi + 0xc], ecx
lock inc dword [ecx + 4]
lea ecx, [esi + 0x80]
xor edx, edx
mov dword [ecx + 8], edx
mov ecx, edi
mov edx, eax
lea eax, [esi + 0x24]
push eax
lea eax, [esi + 0x10]
push eax
lea eax, [esi + 0x14]
push eax
push ebx
push dword [esi + 0x20]
call fcn.004cb120
add esp, 0x14
movzx edx, word [ebp + 0xc]
xor eax, eax
dec eax
mov ecx, dword [esi + 0xc]
lock xadd dword [ecx + 4], eax
test eax, eax
jne 0x559687
mov ebx, dword [esi + 0xc]
mov eax, dword [ebx]
mov edi, dword [eax + 4]
mov dword [esi + 0x88], 0xffffffff
mov ecx, edi
call dword [section..00cfg]
mov ecx, ebx
call edi
movzx edx, word [ebp + 0xc]
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
mov dword [esi + 0x88], 0xffffffff
movzx edx, dx
push edx
push dword [ebp + 8]
push eax
push ecx
lea eax, [esi + 0x40]
push eax
push dword [esi + 0x18]
mov edi, dword [esi + 0x1c]
push edi
call fcn.0055a360
add esp, 0x1c
mov eax, dword [esi + 0x80]
mov dword fs:[0], eax
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x559740
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xd0
mov esi, esp
mov dword [esi + 0xb8], ebp
mov dword [esi + 0x18], edx
mov dword [esi + 0x1c], ecx
lea ecx, [esi + 0xc0]
mov dword [ecx - 4], esp
xor ebx, ebx
dec ebx
mov dword [ecx + 8], ebx
mov dword [ecx + 4], 0x4d11a0
mov eax, dword fs:[0]
mov dword [ecx], eax
mov dword fs:[0], ecx
xor eax, eax
lea ecx, [esi + 0x29]
mov dword [ecx + 3], eax
mov dword [ecx - 1], 0x25
mov edi, dword [ebp + 8]
mov edx, 0x5dad77
push dword [edi + 4]
push eax
call fcn.00560930
add esp, 8
mov dword [esi + 0xc], esp
lea edi, [esi + 0x30]
mov dword [edi + 0x14], ebx
mov dword [edi + 0x10], ebx
pcmpeqd xmm0, xmm0
movdqa xmmword [edi], xmm0
sub esp, 0x20
mov ebx, esp
lea ecx, [ebx + 8]
call fcn.0050a6f0
mov dword [ebx], edi
mov dword [ebx + 4], 0x18
lea eax, [esi + 0x28]
mov dword [ebx + 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [ebx + 0x1c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebx + 0x18], eax
call fcn.0040b2d0
add esp, 0x20
mov esp, dword [esi + 0xc]
lea ebx, [esi + eax]
add ebx, 0x30
mov ecx, edi
mov edx, ebx
push dword [ebp + 8]
call fcn.00558e80
add esp, 4
mov dword [esi + 0x20], eax
lea eax, [esi + 0x50]
pcmpeqd xmm0, xmm0
movdqu xmmword [eax + 0x4a], xmm0
movdqa xmmword [eax + 0x40], xmm0
movdqa xmmword [eax + 0x30], xmm0
movdqa xmmword [eax + 0x20], xmm0
movdqa xmmword [eax + 0x10], xmm0
movdqa xmmword [eax], xmm0
lea edx, [esi + 0x14]
xor ecx, ecx
dec ecx
mov dword [edx], ecx
lea edx, [esi + 0x10]
mov dword [edx], ecx
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x1c]
lea edx, [esi + 0x24]
mov dword [edx], ecx
mov dword [esi + 0xc], ecx
lock inc dword [ecx + 4]
lea ecx, [esi + 0xc0]
xor edx, edx
mov dword [ecx + 8], edx
mov ecx, edi
mov edx, dword [esi + 0x20]
lea edi, [esi + 0x24]
push edi
lea edi, [esi + 0x10]
push edi
lea edi, [esi + 0x14]
push edi
push eax
push ebx
call fcn.004cb120
add esp, 0x14
movzx edx, word [ebp + 0xc]
xor eax, eax
dec eax
mov ecx, dword [esi + 0xc]
lock xadd dword [ecx + 4], eax
test eax, eax
jne 0x5598a2
mov ebx, dword [esi + 0xc]
mov eax, dword [ebx]
mov edi, dword [eax + 4]
mov dword [esi + 0xc8], 0xffffffff
mov ecx, edi
call dword [section..00cfg]
mov ecx, ebx
call edi
movzx edx, word [ebp + 0xc]
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
mov dword [esi + 0xc8], 0xffffffff
movzx edx, dx
push edx
push dword [ebp + 8]
push eax
push ecx
lea eax, [esi + 0x50]
push eax
push dword [esi + 0x18]
mov edi, dword [esi + 0x1c]
push edi
call fcn.0055a360
add esp, 0x1c
mov eax, dword [esi + 0xc0]
mov dword fs:[0], eax
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x563e10
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
push 8
call fcn.00510d64
add esp, 4
mov dword [eax], ebx
mov dword [eax + 4], edi
xor ecx, ecx
push ecx
push ecx
push eax
push 0x563e60
push ecx
push ecx
call fcn.00527965
add esp, 0x18
mov dword [esi], eax
test eax, eax
je 0x563e4f
xor eax, eax
pop esi
pop edi
pop ebx
pop ebp
ret
pop esi
pop edi
pop ebx
pop ebp
jmp dword [sym.imp.KERNEL32.dll_GetLastError]

Function at 0x567430
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x18
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov edx, dword [0x5f3418]
xor edx, ebp
mov dword [esp + 0x10], edx
xor esi, esi
mov edi, esp
mov dword [edi + 4], esi
mov dword [edi], esi
mov dword [edi + 8], esi
push edi
push ecx
push eax
call fcn.004fe880
add esp, 0xc
cmp byte [edi + 0xb], 0
jns 0x56746e
mov edi, dword [esp]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov esi, eax
cmp byte [esp + 0xb], 0
jns 0x56748a
push dword [esp]
call fcn.0050fc7c
add esp, 4
test esi, esi
setne bl
mov ecx, dword [esp + 0x10]
xor ecx, ebp
call fcn.00512ee3
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8

Function at 0x569ac0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov eax, dword [ecx]
mov dword [ebp - 0x10], ecx
mov edx, dword [ecx + 4]
sub edx, eax
je 0x569af6
mov ecx, eax
mov ebx, edx
sar ebx, 2
xor esi, esi
movzx edi, bl
movzx eax, byte [ecx + esi]
xor eax, edi
shr ebx, 8
xor ebx, dword [eax*4 + 0x5e32a8]
inc esi
cmp edx, esi
jne 0x569adc
jmp 0x569af8
xor ebx, ebx
mov eax, dword [ebp - 0x10]
cmp ebx, dword [eax + 0xc]
sete al
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x56c320
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x50
mov eax, dword [0x5f3418]
xor eax, ebp
mov dword [esp + 0x48], eax
mov ecx, dword [0x6bedd8]
push str.enable_low_end_device_mode
call fcn.004fd6b0
test al, al
je 0x56c3aa
pcmpeqd xmm0, xmm0
mov eax, esp
movdqa xmmword [eax], xmm0
movdqa xmmword [eax + 0x30], xmm0
movdqa xmmword [eax + 0x20], xmm0
movdqa xmmword [eax + 0x10], xmm0
mov dword [eax], 0x40
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov edi, eax
mov esi, eax
test eax, eax
je 0x56c381
mov edi, dword [esp + 0xc]
mov esi, dword [esp + 8]
call fcn.0057afe0
sub esi, eax
sbb edi, edx
xor eax, eax
xor ebx, ebx
inc ebx
neg esi
sbb ebx, edi
cmovb ebx, eax
cmovb esi, eax
mov ecx, dword [esp + 0x48]
xor ecx, ebp
call fcn.00512ee3
mov eax, esi
mov edx, ebx
jmp 0x56c3c2
call fcn.0057afe0
mov esi, eax
mov edi, edx
mov ecx, dword [esp + 0x48]
xor ecx, ebp
call fcn.00512ee3
mov eax, esi
mov edx, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x56ce00
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x70
mov ebx, dword [ebp + 0xc]
mov eax, dword [0x5f3418]
xor eax, ebp
mov dword [esp + 0x68], eax
pcmpeqd xmm0, xmm0
lea esi, [esp + 0x20]
movdqa xmmword [esi + 0x30], xmm0
movdqa xmmword [esi + 0x20], xmm0
movdqa xmmword [esi + 0x10], xmm0
movdqa xmmword [esi], xmm0
lea edi, [esp + 8]
push 0x58
push str....._base_file_version_info_win.cc
push str.CreateFileVersionInfoWin
push edi
call fcn.004fdcd0
add esp, 0x10
mov ecx, esi
push 0
push edi
mov edi, ebx
call fcn.00420eb0
mov dword [esp + 4], 0xffffffff
cmp byte [ebx + 0xb], 0
jns 0x56ce6a
mov edi, dword [edi]
mov ebx, dword [ebp + 8]
lea eax, [esp + 4]
push eax
push edi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x56cf26
mov dword [esp], edi
js 0x56cf5e
mov esi, eax
push eax
call fcn.00510d64
add esp, 4
mov edi, eax
mov dword [esp + 8], eax
mov ebx, esi
add ebx, eax
mov dword [esp + 0x10], ebx
push esi
push 0
push eax
call fcn.005191b0
add esp, 0xc
mov dword [esp + 0xc], ebx
push edi
push esi
push dword [esp + 0xc]
push dword [esp + 0xc]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x56cef2
lea eax, [esp + 0x1c]
mov dword [eax], 0
lea ecx, [esp + 0x18]
mov dword [ecx], 0xffffffff
push ecx
push eax
push str.VarFileInfoTranslation
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x56cef2
mov ebx, dword [esp + 0x1c]
test ebx, ebx
jne 0x56cf2e
mov ebx, dword [ebp + 8]
mov dword [ebx], 0
test edi, edi
je 0x56cf08
push edi
call fcn.0050fc7c
add esp, 4
lea ecx, [esp + 0x20]
call fcn.00407cb0
mov ecx, dword [esp + 0x68]
xor ecx, ebp
call fcn.00512ee3
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebx], 0
jmp 0x56cf08
push 0x1c
call fcn.00510d64
add esp, 4
mov edi, eax
movzx eax, word [ebx + 2]
movzx esi, word [ebx]
lea ebx, [esp + 8]
mov ecx, edi
mov edx, ebx
push eax
push esi
call fcn.0056cf70
add esp, 8
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov edi, dword [ebx]
mov ebx, eax
jmp 0x56cefb
call fcn.0052ce30
int3
Function at 0x56d220
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x228
mov ebx, ecx
mov edi, dword [ebp + 8]
mov eax, dword [0x5f3418]
xor eax, ebp
mov dword [ebp - 0x10], eax
movzx eax, word [ecx + 0x14]
mov dword [ebp - 0x234], eax
movzx eax, word [ecx + 0x16]
mov dword [ebp - 0x230], eax
mov esi, dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
call esi
mov word [ebp - 0x224], ax
movzx eax, word [ebx + 0x16]
mov dword [ebp - 0x22c], eax
movzx eax, word [ebx + 0x14]
mov dword [ebp - 0x228], eax
call esi
mov esi, edi
mov word [ebp - 0x222], ax
lea edi, [ebp - 0x218]
push 0x208
push 0xff
push edi
call fcn.005191b0
add esp, 0xc
mov eax, 0x104
push esi
push dword [ebp - 0x230]
push dword [ebp - 0x234]
push str.StringFileInfo_04x_04x_ls
push eax
push eax
push edi
call fcn.0054f090
add esp, 0x1c
lea eax, [ebp - 0x21c]
mov dword [eax], 0
lea ecx, [ebp - 0x220]
mov dword [ecx], 0xffffffff
push ecx
push eax
push edi
push dword [ebx + 0x10]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x56d31b
mov edx, dword [ebp - 0x21c]
test edx, edx
je 0x56d31b
mov eax, dword [ebp - 0x220]
test eax, eax
je 0x56d31b
mov ecx, dword [ebp + 0xc]
dec eax
push eax
call fcn.004f9950
add esp, 4
mov bl, 1
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00512ee3
mov eax, ebx
add esp, 0x228
pop esi
pop edi
pop ebx
pop ebp
ret 8
push 0x208
push 0xff
lea edi, [ebp - 0x218]
push edi
call fcn.005191b0
add esp, 0xc
movzx eax, word [ebp - 0x224]
push esi
push dword [ebp - 0x22c]
push eax
push str.StringFileInfo_04x_04x_ls
mov eax, 0x104
push eax
push eax
push edi
call fcn.0054f090
add esp, 0x1c
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x220], 0xffffffff
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x21c]
push eax
push edi
push dword [ebx + 0x10]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x56d39f
mov edx, dword [ebp - 0x21c]
test edx, edx
je 0x56d39f
mov eax, dword [ebp - 0x220]
test eax, eax
jne 0x56d2f3
push 0x208
push 0xff
lea edi, [ebp - 0x218]
push edi
call fcn.005191b0
add esp, 0xc
mov eax, 0x104
push esi
push 0x4e4
push dword [ebp - 0x228]
push str.StringFileInfo_04x_04x_ls
push eax
push eax
push edi
call fcn.0054f090
add esp, 0x1c
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x220], 0xffffffff
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x21c]
push eax
push edi
push dword [ebx + 0x10]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x56d420
mov edx, dword [ebp - 0x21c]
test edx, edx
je 0x56d420
mov eax, dword [ebp - 0x220]
test eax, eax
jne 0x56d2f3
push 0x208
push 0xff
lea edi, [ebp - 0x218]
push edi
call fcn.005191b0
add esp, 0xc
movzx eax, word [ebp - 0x222]
push esi
push 0x4e4
push eax
push str.StringFileInfo_04x_04x_ls
mov eax, 0x104
push eax
push eax
push edi
call fcn.0054f090
add esp, 0x1c
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x220], 0xffffffff
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x21c]
push eax
push edi
push dword [ebx + 0x10]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x56d4a3
mov edx, dword [ebp - 0x21c]
test edx, edx
je 0x56d4a3
mov eax, dword [ebp - 0x220]
test eax, eax
jne 0x56d2f3
xor ebx, ebx
jmp 0x56d302
Function at 0x56d640
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x460
mov edi, dword [ebp + 0xc]
mov eax, dword [0x5f3418]
xor eax, ebp
mov dword [esp + 0x458], eax
pcmpeqd xmm0, xmm0
lea esi, [esp + 0x410]
movdqa xmmword [esi + 0x30], xmm0
movdqa xmmword [esi + 0x20], xmm0
movdqa xmmword [esi + 0x10], xmm0
movdqa xmmword [esi], xmm0
lea ebx, [esp + 0x208]
push 0x194
push str....._base_files_file_util_win.cc
push 0x5deb87
push ebx
call fcn.004fdcd0
add esp, 0x10
mov ecx, esi
push 0
push ebx
call fcn.00420eb0
mov eax, 0x208
mov ecx, 0xff
push eax
push ecx
push ebx
call fcn.005191b0
add esp, 0xc
mov eax, dword [ebp + 8]
cmp byte [eax + 0xb], 0
jns 0x56d6ca
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov esi, 0x104
push esi
push eax
push ebx
call fcn.0056bc30
add esp, 0xc
push ebx
call fcn.004ee170
add esp, 4
mov ebx, esp
mov eax, 0x208
push eax
mov eax, 0xff
push eax
push ebx
call fcn.005191b0
add esp, 0xc
cmp byte [edi + 0xb], 0
mov eax, edi
jns 0x56d704
mov eax, dword [edi]
push esi
push eax
push ebx
call fcn.0056bc30
add esp, 0xc
push ebx
call fcn.004ee170
add esp, 4
mov ecx, dword [ebp + 8]
cmp byte [ecx + 0xb], 0
mov eax, ecx
jns 0x56d725
mov eax, dword [ecx]
cmp byte [edi + 0xb], 0
mov ecx, edi
jns 0x56d72f
mov ecx, dword [edi]
sub esp, 0x18
movaps xmm0, xmmword [0x5deb30]
movups xmmword [esp + 8], xmm0
mov dword [esp + 4], eax
mov dword [esp], ecx
call dword [sym.imp.KERNEL32.dll_ReplaceFileW]
mov bl, 1
test eax, eax
je 0x56d775
lea ecx, [esp + 0x410]
call fcn.00407cb0
mov ecx, dword [esp + 0x458]
xor ecx, ebp
call fcn.00512ee3
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.005828f0
add esp, 4
mov esi, eax
cmp byte [edi + 0xb], 0
mov eax, dword [ebp + 8]
jns 0x56d791
mov edi, dword [edi]
cmp byte [eax + 0xb], 0
jns 0x56d799
mov eax, dword [eax]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
setne bl
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x56d751
test eax, eax
jne 0x56d751
cmp esi, 0xfffffffc
jne 0x56d7bd
call fcn.005828d0
mov esi, eax
mov dword [edi], esi
xor ebx, ebx
jmp 0x56d751

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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x60
mov edi, dword [ebp + 8]
mov eax, dword [0x5f3418]
xor eax, ebp
mov dword [esp + 0x58], eax
pcmpeqd xmm0, xmm0
lea esi, [esp + 0x10]
movdqa xmmword [esi + 0x30], xmm0
movdqa xmmword [esi + 0x20], xmm0
movdqa xmmword [esi + 0x10], xmm0
movdqa xmmword [esi], xmm0
mov ebx, esp
push 0x1ef
push str....._base_files_file_util_win.cc
push str.DirectoryExists
push ebx
call fcn.004fdcd0
add esp, 0x10
mov ecx, esi
push 0
push ebx
call fcn.00420eb0
cmp byte [edi + 0xb], 0
jns 0x56d831
mov edi, dword [edi]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
cmp eax, 0xffffffff
setne al
and ebx, 0x10
shr ebx, 4
and bl, al
mov ecx, esi
call fcn.00407cb0
mov ecx, dword [esp + 0x58]
xor ecx, ebp
call fcn.00512ee3
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x56d870
Capabilities:
Check if file exists
Copy file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
pop ebp
jmp fcn.0056d880
Function at 0x56e790
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, ecx
lea edi, [ecx + 0xc]
lea eax, [ecx + 0x10]
push 0x228
push 0
push eax
call fcn.005191b0
add esp, 0xc
mov dword [esi + 0xc], 0x22c
cmp byte [esi + 8], 0
je 0x56e7cc
push edi
push dword [esi + 4]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
setne al
pop esi
pop edi
pop ebp
ret
mov byte [esi + 8], 1
push edi
push dword [esi + 4]
call sub.KERNEL32.dll_Process32FirstW
jmp 0x56e7c3

Function at 0x56e810
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov esi, ecx
mov edi, dword [ebp + 8]
mov eax, dword [0x5f3418]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp byte [ecx + 4], 0
je 0x56e87a
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x56e882
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [esi + 4], 0
je 0x56e87e
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 0xea60
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x56e892
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00512ee3
mov eax, ebx
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov eax, dword [esi]
jmp 0x56e834
mov eax, dword [esi]
jmp 0x56e852
cmp byte [ebp + 0xc], 0
je 0x56e8cf
cmp byte [esi + 4], 0
jne 0x56e8bd
mov eax, dword [esi]
jmp 0x56e8c3
mov dword [ebp - 0x14], 0xffffffff
cmp byte [esi + 4], 0
jne 0x56e8a3
mov eax, dword [esi]
jmp 0x56e8a9
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x56e8cf
mov edi, dword [ebp - 0x14]
jmp 0x56e8cf
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 0xea60
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, esi
mov edx, edi
call fcn.0056e8e0
mov bl, 1
jmp 0x56e864

Function at 0x56fa60
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov ecx, dword [ecx]
xorps xmm0, xmm0
movups xmmword [esp + 8], xmm0
mov dword [esp + 4], eax
mov dword [esp], ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
sub esp, 0x18
test eax, eax
sete al
add esp, 0x18
pop ebp
ret 4
Function at 0x56fd40
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push esi
push eax
mov eax, dword [ebp + 8]
mov edx, dword [0x5f3418]
xor edx, ebp
mov dword [ebp - 8], edx
mov edx, 4
lea esi, [ebp + 0xc]
push edx
push esi
push edx
push 0
push eax
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00512ee3
mov eax, esi
add esp, 4
pop esi
pop ebp
ret 8

Function at 0x56fd80
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, ecx
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
push ebx
call fcn.00510eb5
add esp, 4
add eax, eax
add eax, 2
push eax
push ebx
push 1
push 0
push edi
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop esi
pop edi
pop ebx
pop ebp
ret 8

Function at 0x56ff60
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x6bfd60]
mov ecx, dword [0x5f75b4]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jle 0x56ffc9
push 0x6bfd60
call fcn.00510c6d
add esp, 4
cmp dword [0x6bfd60], 0xffffffff
jne 0x56ffc9
xorps xmm0, xmm0
movups xmmword [0x6bfd4c], xmm0
movups xmmword [0x6bfd3c], xmm0
mov dword [0x6bfd5c], 0
push 0x6bfd3c
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
push 0x6bfd60
call fcn.00510d9d
add esp, 4
pop ebp
ret