joyce8/EMBER2024-capa huggingface dataset:
Function at 0xd4ad20
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov edx, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
lea eax, [esp + 4]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
mov dword [esp + 0x1c], 8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0xd4ad58
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esi], ecx
mov dword [esi + 4], edx
pop esi
pop ecx
ret 0x10

Function at 0xd4ad60
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0xd4ad94
mov eax, dword [esp + 0x14]
test eax, eax
je 0xd4ad94
push eax
push esi
call fcn.00d4d20b
add esp, 8
pop esi
ret 0x10

Function at 0xd4ada0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x24
lea eax, [esp + 0x28]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0xd4ae22
push ebx
mov ebx, dword [esp + 0x30]
push esi
xor esi, esi
test ebx, ebx
jbe 0xd4ae15
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov edi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x18]
push 0xd63320
push ecx
mov dword [esp + 0x1c], 4
call fcn.00d4cdff
mov ecx, dword [esp + 0x44]
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push edi
push 0
push 0
push eax
push ecx
call ebp
inc esi
add edi, 4
cmp esi, ebx
jb 0xd4adda
pop edi
pop ebp
mov edx, dword [esp + 0x30]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
add esp, 0x24
ret 0xc

Function at 0xd4ae30
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x28
lea eax, [esp + 0x2c]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0xd4aec2
push ebp
mov ebp, dword [esp + 0x34]
push esi
xor esi, esi
test ebp, ebp
jbe 0xd4aeb5
push ebx
mov ebx, dword [esp + 0x40]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
lea ecx, [esp + 0x1c]
push 0xd63320
push ecx
mov dword [esp + 0x1c], 4
call fcn.00d4cdff
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x40]
push eax
push 0
push 0
push ecx
push edx
call edi
test eax, eax
jne 0xd4aeab
mov ax, word [esp + 0x14]
mov word [ebx], ax
inc esi
add ebx, 2
cmp esi, ebp
jb 0xd4ae6a
pop edi
pop ebx
mov ecx, dword [esp + 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebp
add esp, 0x28
ret 0xc
Function at 0xd4b000
Capabilities:
Get file version info

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0xd4b131
push esi
call fcn.00d4e145
add esp, 4
mov edi, eax
push edi
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push ebx
call fcn.00d3d080
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0xd4b131
push 0
push ebp
call fcn.00d3d3a0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ebx, eax
call fcn.00d3d260
add esp, 0x20
mov dword [esp + 0x18], eax
test eax, eax
jne 0xd4b08b
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 0
push 0
push 0
push 6
push eax
call fcn.00d3d2f0
mov esi, eax
add esp, 0x14
test esi, esi
je 0xd4b121
push 0xd63918
push edi
call fcn.00d4c3f0
push eax
push ebx
push esi
call fcn.00d4af60
push 0xd638f8
push edi
call fcn.00d4c3f0
push eax
push ebx
push esi
call fcn.00d4af60
push 0xd638d8
push edi
call fcn.00d4c3f0
push eax
push ebx
push esi
call fcn.00d4af60
push 0xd638c0
push edi
call fcn.00d4c3f0
add esp, 0x44
push eax
push ebx
push esi
call fcn.00d4af60
push 0xd638a0
push edi
call fcn.00d4c3f0
push eax
push ebx
push esi
call fcn.00d4af60
push 0xd63888
push edi
call fcn.00d4c3f0
push eax
push ebx
push esi
call fcn.00d4af60
add esp, 0x34
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
push ebp
call esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0xd4c1b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.00d4c140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.00d4c140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.00d4c140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.00d4c140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0xd4cbfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0xd4cc50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0xd5e87c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0xd4cc43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0xd4cc52
xor eax, eax
pop esi
leave
ret 4
Function at 0x40af70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [ebp + 0x14]
test edi, edi
jle 0x40b084
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
sub eax, 0xffffff80
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0xc]
lea esi, [ecx + 2]
sub ecx, eax
add ecx, 0xfffffffe
lea edx, [eax + 2]
mov dword [esp + 0x18], ecx
lea eax, [edi - 1]
mov dword [esp + 0x10], edx
shr eax, 3
inc eax
mov dword [esp + 0x14], eax
movzx eax, byte [edx - 2]
add ecx, edx
push ecx
mov byte [ecx], al
movzx eax, byte [edx - 1]
mov byte [esi - 1], al
movzx eax, byte [edx]
mov byte [esi], al
movzx eax, byte [edx + 1]
mov byte [esi + 1], al
movzx eax, byte [edx + 2]
mov byte [esi + 2], al
movzx eax, byte [edx + 3]
mov byte [esi + 3], al
movzx eax, byte [edx + 4]
mov byte [esi + 4], al
movzx eax, byte [edx + 5]
mov byte [esi + 5], al
mov edi, dword [edx - 2]
mov ebx, dword [edx + 2]
mov edx, ecx
mov ecx, dword [esp + 0x20]
call fcn.0040a630
mov ecx, dword [ebp + 8]
lea esi, [esi + 8]
mov edx, dword [esp + 0x14]
add esp, 4
movzx eax, byte [ecx + 0x100]
mov ecx, dword [esp + 0x18]
xor byte [edx + ecx], al
add edx, 8
mov ecx, dword [ebp + 8]
mov dword [esp + 0x10], edx
movzx eax, byte [ecx + 0x101]
xor byte [esi - 9], al
movzx eax, byte [ecx + 0x102]
xor byte [esi - 8], al
movzx eax, byte [ecx + 0x103]
xor byte [esi - 7], al
movzx eax, byte [ecx + 0x104]
xor byte [esi - 6], al
movzx eax, byte [ecx + 0x105]
xor byte [esi - 5], al
movzx eax, byte [ecx + 0x106]
xor byte [esi - 4], al
movzx eax, byte [ecx + 0x107]
xor byte [esi - 3], al
sub dword [esp + 0x14], 1
mov dword [ecx + 0x100], edi
mov dword [ecx + 0x104], ebx
mov ecx, dword [esp + 0x18]
jne 0x40afb5
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x413259
Capabilities:
Read .ini file

Disassembly:
push 0x838
mov eax, 0x592e39
call fcn.0056644b
mov edi, ecx
mov ecx, dword [ebp + 0xc]
lea eax, [edi + 0x8c]
cmp dword [eax + 0x14], 8
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x844], ecx
jb 0x413284
mov eax, dword [eax]
push eax
push dword [ebp + 0x10]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
cmp esi, dword [ebp + 0x10]
jne 0x413341
push 0x612278
lea ecx, [ebp - 0x828]
call fcn.00401650
and dword [ebp - 4], 0
lea eax, [ebp - 0x810]
push 0x800
push 0
push eax
call fcn.0056c460
push dword [ebp + 0x10]
lea eax, [ebp - 0x810]
push 0x6130e8
push eax
call fcn.004078e0
add esp, 0x18
lea eax, [ebp - 0x810]
cmp byte [edi + 5], 0
mov ecx, edi
push eax
push dword [ebp - 0x844]
lea eax, [ebp - 0x840]
push ebx
push eax
je 0x4132fd
call fcn.0041318a
jmp 0x413302
call fcn.00413236
push eax
lea ecx, [ebp - 0x828]
call fcn.00403150
lea ecx, [ebp - 0x840]
call fcn.004015f0
cmp dword [ebp - 0x814], 8
lea eax, [ebp - 0x828]
cmovae eax, dword [ebp - 0x828]
push eax
call fcn.0056f6bc
pop ecx
lea ecx, [ebp - 0x828]
mov esi, eax
call fcn.004015f0
mov eax, esi
call fcn.00566406
ret 0xc

Function at 0x41334b
Capabilities:
Read .ini file

Disassembly:
push 0x82c
mov eax, 0x592e83
call fcn.0056644b
mov edi, ecx
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x830], eax
mov eax, dword [ebp + 0x10]
push 0x800
mov dword [ebp - 0x82c], eax
lea eax, [ebp - 0x810]
push ecx
mov dword [ebp - 0x838], esi
push eax
mov dword [ebp - 4], ecx
mov dword [ebp - 0x834], ecx
call fcn.0056c460
lea eax, [edi + 0x8c]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x4133a8
mov eax, dword [eax]
push eax
push 0x400
lea eax, [ebp - 0x810]
push eax
push ebx
push dword [ebp - 0x82c]
push dword [ebp - 0x830]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x810]
mov ecx, esi
push eax
call fcn.00401650
and dword [ebp - 4], 0
mov eax, esi
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x834], 1
jb 0x4133ee
mov eax, dword [esi]
push ebx
push eax
call fcn.0057807c
pop ecx
pop ecx
test eax, eax
jne 0x413436
cmp byte [edi + 5], 0
lea eax, [ebp - 0x828]
push ebx
push dword [ebp - 0x82c]
mov ecx, edi
push dword [ebp - 0x830]
push eax
je 0x41341e
call fcn.0041318a
jmp 0x413423
call fcn.00413236
push eax
mov ecx, esi
call fcn.00403150
lea ecx, [ebp - 0x828]
call fcn.004015f0
mov eax, esi
call fcn.00566406
ret 0x10
Function at 0x4144bb
Capabilities:
Read .ini file

Disassembly:
push 0x23c
mov eax, 0x592f48
call fcn.0056644b
mov ebx, ecx
call fcn.0041311c
mov esi, eax
push esi
call fcn.005780de
pop ecx
push eax
lea edi, [ebx + 0xd4]
push esi
mov ecx, edi
call fcn.00401730
mov esi, str.BKPDFReader.ini
push esi
call fcn.005780de
pop ecx
push eax
push esi
mov ecx, edi
call fcn.00407000
push str.BKpdf
push 0x5978cc
push str.BKApp
lea eax, [ebp - 0x230]
mov ecx, ebx
push eax
call fcn.0041334b
lea esi, [ebx + 0xec]
push eax
mov ecx, esi
call fcn.00403150
lea ecx, [ebp - 0x230]
call fcn.004015f0
push str.BKpdf
mov ecx, esi
call fcn.00412af9
test al, al
je 0x4145a3
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0056c460
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x414562
mov edi, dword [edi]
push edi
push 0x104
lea eax, [ebp - 0x218]
mov edi, str.BKpdf
push eax
push edi
push 0x5978cc
push str.BKApp
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x218]
push eax
call fcn.005780de
pop ecx
push eax
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.00401730
jmp 0x4145a8
mov edi, str.BKpdf
push edi
mov ecx, esi
call fcn.00412af9
test al, al
je 0x414668
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0056c460
and dword [ebp - 0x220], 0
lea eax, [ebx + 0x5c]
and dword [ebp - 0x21c], 0
lea ecx, [ebp - 0x230]
add esp, 0xc
push eax
call fcn.00403280
and dword [ebp - 4], 0
push str.BKPDFReader.ini
call fcn.005780de
pop ecx
push eax
push str.BKPDFReader.ini
lea ecx, [ebp - 0x230]
call fcn.00407000
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
push edi
push 0x5978cc
push str.BKApp
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x218]
push eax
call fcn.005780de
pop ecx
push eax
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.00401730
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.004015f0
push edi
mov ecx, esi
call fcn.00412af9
test al, al
je 0x4146a0
push edi
push 0x5978cc
push str.BKApp
lea eax, [ebp - 0x248]
mov ecx, ebx
push eax
call fcn.00413213
push eax
mov ecx, esi
call fcn.00403150
lea ecx, [ebp - 0x248]
call fcn.004015f0
call fcn.00566406
ret
Function at 0x414f09
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2014
call fcn.00566840
mov eax, dword [0x61ea64]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x2008], eax
call fcn.00414cf3
test eax, eax
je 0x41503a
push esi
push edi
xor edi, edi
push edi
call fcn.0056f78f
mov dword [ebp - 0x2014], eax
lea eax, [ebp - 0x2014]
push eax
mov dword [ebp - 0x2010], edx
call fcn.00578fce
pop ecx
pop ecx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push dword [ebp - 0x2008]
mov ecx, dword [esi + 0x10]
push eax
push dword [esi]
mov eax, dword [esi + 0x14]
inc ecx
push dword [esi + 4]
add eax, 0x76c
push dword [esi + 8]
push dword [esi + 0xc]
push ecx
push eax
lea eax, [ebp - 0x2004]
push str.__d__d__d__d__d__d___d_:_s
push eax
call fcn.00414ab0
push ebx
call fcn.004160cb
xor ecx, ecx
inc ecx
test al, al
push 0x5979a4
push ebx
cmovne edi, ecx
call fcn.00578990
mov esi, eax
add esp, 0x34
test esi, esi
je 0x415038
test edi, edi
jne 0x414fdb
push esi
push 2
lea eax, [ebp - 0x200c]
mov dword [ebp - 0x200c], 0xfeff
push 1
push eax
call fcn.00578cec
add esp, 0x10
lea eax, [ebp - 0x2004]
push eax
call fcn.005780de
push esi
add eax, eax
push eax
lea eax, [ebp - 0x2004]
push 1
push eax
call fcn.00578cec
push esi
push 2
lea eax, [ebp - 0x2008]
mov dword [ebp - 0x2008], 0xd
push 1
push eax
call fcn.00578cec
push esi
push 2
lea eax, [ebp - 0x2008]
mov dword [ebp - 0x2008], 0xa
push 1
push eax
call fcn.00578cec
push esi
call fcn.00578a34
add esp, 0x38
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00565c59
leave
ret

Function at 0x4151cd
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
mov esi, ecx
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub eax, 0xb7
neg eax
sbb eax, eax
inc eax
mov dword [esi + 4], eax
pop esi
pop ebp
ret 4
Function at 0x415e71
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0xb0
mov eax, 0x593250
call fcn.0056644b
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0xb8], eax
xor esi, esi
lea ecx, [ebp - 0x28]
push 0x612278
mov dword [ebp - 4], esi
call fcn.00401650
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], 1
call fcn.0042267c
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
mov edi, esi
cmovae eax, dword [ebp + 8]
push eax
call fcn.004160cb
pop ecx
test al, al
je 0x415f39
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
push esi
cmovae eax, dword [ebp + 8]
push 0x80
push 4
push esi
push 1
push connect
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x415f3b
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [ebp - 0xb8]
push eax
mov dword [ecx], eax
call fcn.00565f6a
mov edi, eax
pop ecx
test edi, edi
je 0x415f3b
mov eax, dword [ebp - 0xb8]
push dword [eax]
push esi
push edi
call fcn.0056c460
add esp, 0xc
lea eax, [ebp - 0xbc]
push esi
push eax
mov eax, dword [ebp - 0xb8]
push dword [eax]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, edi
lea ecx, [ebp - 0x28]
call fcn.004015f0
lea ecx, [ebp + 8]
call fcn.004015f0
mov eax, esi
call fcn.00566406
ret
Function at 0x415f53
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0xe4
mov eax, 0x593298
call fcn.0056644b
mov esi, dword [ebp + 8]
mov dword [ebp - 0xe8], esi
mov edi, 0x612278
lea ecx, [ebp - 0x28]
xor ebx, ebx
push edi
mov dword [ebp - 4], ebx
call fcn.00401650
lea ecx, [ebp - 0xe4]
mov byte [ebp - 4], 1
call fcn.0042267c
cmp dword [ebp + 0x20], 8
lea eax, [ebp + 0xc]
cmovae eax, dword [ebp + 0xc]
push eax
call fcn.004160cb
pop ecx
test al, al
je 0x416096
cmp dword [ebp + 0x20], 8
lea eax, [ebp + 0xc]
push ebx
cmovae eax, dword [ebp + 0xc]
push 0x80
push 4
push ebx
push 1
push connect
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x415fdd
push edi
mov ecx, esi
call fcn.00401650
jmp 0x4160b3
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0xec], eax
inc eax
push eax
mov dword [ebp - 0xe8], eax
call fcn.00565f6a
mov edi, eax
pop ecx
test edi, edi
jne 0x416007
push 0x612278
jmp 0x415fd1
push dword [ebp - 0xe8]
push 0
push edi
call fcn.0056c460
add esp, 0xc
lea eax, [ebp - 0xf0]
push 0
push eax
push dword [ebp - 0xec]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0xec]
lea ecx, [ebp - 0xe4]
push edi
call fcn.00423036
push edi
call fcn.00565f65
pop ecx
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0xe4]
call fcn.00422887
push eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 2
push eax
call fcn.00412608
pop ecx
pop ecx
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 4
call fcn.004016a0
cmp dword [ebp - 0x30], 0
jbe 0x41608c
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.00406fd0
lea ecx, [ebp - 0x40]
call fcn.004015f0
xor ebx, ebx
mov byte [ebp - 0xe8], bl
lea eax, [ebp - 0x28]
push dword [ebp - 0xe8]
mov ecx, esi
mov dword [esi + 0x10], ebx
push eax
mov dword [esi + 0x14], ebx
call fcn.004033b0
lea ecx, [ebp - 0x28]
call fcn.004015f0
lea ecx, [ebp + 0xc]
call fcn.004015f0
mov eax, esi
call fcn.00566406
ret

Function at 0x41611d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor esi, esi
xor edi, edi
push esi
push 0x80
push 2
push esi
inc edi
push edi
push 0x40000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x41614c
xor eax, eax
jmp 0x41617a
push esi
lea eax, [ebp - 4]
mov dword [ebp - 4], esi
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x416176
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp - 4]
je 0x416178
xor edi, edi
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x416d27
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
cmp dword [ebp + 8], 0
je 0x416dd2
push ebx
push esi
push edi
xor ebx, ebx
push str.b69749abbfffc7f6494ec5c0eb4c7d2c
mov dword [ebp - 4], ebx
call fcn.005786a0
mov edi, dword [ebp + 0xc]
push edi
mov dword [ebp - 8], eax
call fcn.00565f6a
push edi
push dword [ebp + 8]
mov esi, eax
push esi
call fcn.0056b960
add esp, 0x14
mov edx, ebx
test edi, edi
je 0x416d82
mov ecx, ebx
mov al, byte [ecx + str.b69749abbfffc7f6494ec5c0eb4c7d2c]
xor byte [edx + esi], al
inc ecx
xor eax, eax
cmp ecx, dword [ebp - 8]
cmovge ecx, eax
inc edx
cmp edx, edi
jb 0x416d6b
cmp edi, 1
jle 0x416da4
cmp byte [esi], 0x37
jne 0x416da4
mov al, byte [esi + 1]
cmp al, 0x7a
je 0x416d97
cmp al, 0x5a
jne 0x416da4
lea eax, [ebp - 4]
push eax
push edi
push esi
call fcn.005600c0
mov ebx, eax
push esi
call fcn.00565f65
pop ecx
test ebx, ebx
je 0x416dc2
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x416dc2
mov eax, dword [ebp + 0x10]
mov dword [eax], ebx
mov eax, dword [ebp + 0x14]
mov dword [eax], ecx
jmp 0x416dcf
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
mov dword [eax], ecx
mov eax, dword [ebp + 0x14]
mov dword [eax], edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x419207
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x30
mov eax, 0x593851
call fcn.00566417
xor esi, esi
mov dword [ebp - 0x18], 0x104
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
call fcn.0042306a
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], esi
call fcn.0042309e
test eax, eax
mov edi, 0xf013f
lea eax, [ebp - 0x10]
push eax
jne 0x419247
mov edi, 0xf003f
push edi
push esi
push str.SoftWare
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4192a7
push esi
lea eax, [ebp - 0x14]
push eax
push esi
push edi
push esi
push esi
push esi
push dword [ebp + 8]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x419282
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4192a7
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 0x10]
push esi
push esi
push dword [ebp + 0xc]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x14]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x10]
call esi
lea ecx, [ebp - 0x3c]
call fcn.0042307d
call fcn.005663f1
ret 0xc
Function at 0x4196cc
Capabilities:
Get common file path

Disassembly:
push 0x240
mov eax, 0x5938ec
call fcn.0056644b
mov ebx, ecx
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
xor esi, esi
mov dword [ebp - 0x24c], edi
push esi
push eax
call fcn.0056c460
add esp, 0xc
lea eax, [ebp - 0x218]
push esi
push 0x19
push eax
push esi
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
call esi
test eax, eax
je 0x41978a
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00401650
and dword [ebp - 4], 0
push 0x613124
call fcn.005780de
pop ecx
push eax
push 0x613124
lea ecx, [ebp - 0x230]
call fcn.00407000
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push edi
cmovae eax, dword [ebp - 0x230]
mov ecx, ebx
push eax
call fcn.00419390
mov edi, eax
lea ecx, [ebp - 0x230]
test edi, edi
je 0x41977b
call fcn.004015f0
mov eax, edi
jmp 0x419803
or dword [ebp - 4], 0xffffffff
call fcn.004015f0
mov edi, dword [ebp - 0x24c]
push 0
push 0x10
lea eax, [ebp - 0x218]
push eax
push 0
call esi
test eax, eax
je 0x419801
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x248]
call fcn.00401650
mov esi, 0x613124
mov dword [ebp - 4], 1
push esi
call fcn.005780de
pop ecx
push eax
push esi
lea ecx, [ebp - 0x248]
call fcn.00407000
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
push edi
cmovae eax, dword [ebp - 0x248]
mov ecx, ebx
push eax
call fcn.00419390
lea ecx, [ebp - 0x248]
mov esi, eax
call fcn.004015f0
test esi, esi
je 0x419801
mov eax, esi
jmp 0x419803
xor eax, eax
call fcn.00566406
ret 4