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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x628144]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
test edi, edi
jne 0x411542
pop edi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042578a
mov esp, ebp
pop ebp
ret 4
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], ebx
push 0
push eax
call fcn.00442fd0
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push 0x109
push 0
push str.SYSTEMCurrentControlSetServices_
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4115df
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
lea eax, [ebp - 0x20c]
push esi
push 0x104
push eax
xor esi, esi
push esi
push dword [ebp - 0x210]
call ebx
test eax, eax
jne 0x4115d0
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.0044eba9
add esp, 8
test eax, eax
je 0x4115f3
push 0x104
lea eax, [ebp - 0x20c]
inc esi
push eax
push esi
push dword [ebp - 0x210]
call ebx
test eax, eax
je 0x4115a2
xor ebx, ebx
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
xor ecx, ebp
pop ebx
call fcn.0042578a
mov esp, ebp
pop ebp
ret 4
mov ebx, 1
jmp 0x4115d2
Function at 0x411c20
Capabilities:
Check if file exists
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59f97b
mov eax, dword fs:[0]
push eax
sub esp, 0x840
mov eax, dword [0x628144]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
push 0
push eax
call fcn.00442fd0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor eax, eax
mov dword [ebp - 0x834], 7
mov dword [ebp - 0x838], 0
mov word [ebp - 0x848], ax
cmp word [ebp - 0x218], ax
jne 0x411ca5
xor ecx, ecx
jmp 0x411cbf
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x411cb0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x848]
call fcn.00402400
push 0x3e
push str.MicrosoftInternet_ExplorerQuick_LaunchUser_PinnedTaskBar_
lea ecx, [ebp - 0x848]
mov dword [ebp - 4], 0
call fcn.00404910
cmp word [esi], 0
jne 0x411cf5
xor ecx, ecx
jmp 0x411d0f
mov ecx, esi
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x411d00
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x848]
call fcn.00404910
push 4
push str..lnk
lea ecx, [ebp - 0x848]
call fcn.00404910
cmp dword [ebp - 0x834], 8
lea eax, [ebp - 0x848]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmovae eax, dword [ebp - 0x848]
push eax
call esi
test eax, eax
je 0x411e3c
push 0x208
lea eax, [ebp - 0x830]
push 0
push eax
call fcn.00442fd0
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.00442fd0
add esp, 0x18
lea ecx, [ebp - 0x848]
cmp dword [ebp - 0x834], 8
lea edx, [ebp - 0x830]
cmovae ecx, dword [ebp - 0x848]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx], ax
lea edx, [edx + 2]
test ax, ax
jne 0x411d96
lea eax, [ebp - 0x628]
mov ecx, edi
push eax
lea eax, [ebp - 0x830]
push eax
call fcn.0040fce0
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.00442fd0
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x104
push eax
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x411df4
sub ecx, edx
sar ecx, 1
jne 0x411e28
xor ecx, ecx
nop word [eax + eax]
movzx eax, word [ebp + ecx - 0x628]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x422], ax
test ax, ax
jne 0x411e10
lea eax, [ebp - 0x420]
push eax
call esi
test eax, eax
je 0x411e3c
mov esi, 1
jmp 0x411e3e
xor esi, esi
mov ecx, dword [ebp - 0x834]
cmp ecx, 8
jb 0x411e5c
inc ecx
push ecx
push dword [ebp - 0x848]
lea ecx, [ebp - 0x848]
call fcn.00402500
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042578a
mov esp, ebp
pop ebp
ret 4
Function at 0x411e80
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x628144]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [0x62d0e0]
test al, al
jne 0x411f23
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00442fd0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 1
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x411f1e
lea eax, [ebp - 0x20c]
push eax
call fcn.0044eec7
lea eax, [ebp - 0x20c]
push str.config_systemprofile
push eax
call fcn.004431dd
add esp, 0xc
test eax, eax
jne 0x411f09
lea eax, [ebp - 0x20c]
push str.documents_and_settingslocalservice
push eax
call fcn.004431dd
add esp, 8
test eax, eax
je 0x411f1e
mov al, 1
mov byte [0x62d0e0], al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042578a
mov esp, ebp
pop ebp
ret
mov al, byte [0x62d0e0]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042578a
mov esp, ebp
pop ebp
ret
Function at 0x412e20
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x628144]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push esi
push 0x208
push 0
push eax
mov esi, ecx
call fcn.00442fd0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0
push 0x17
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x412ea6
push edi
lea edi, [ebp - 0x20c]
add edi, 0xfffffffe
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x412e71
mov eax, dword [0x5a3994]
mov ecx, esi
mov dword [edi], eax
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.00411f40
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042578a
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
pop ebx
call fcn.0042578a
mov esp, ebp
pop ebp
ret 4
Function at 0x4181e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a00a5
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x628144]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x30]
call fcn.00404c30
lea ecx, [esi + 0x160]
mov dword [ebp - 4], 0
call fcn.0040b850
lea ecx, [esi + 0x21c]
mov byte [ebp - 4], 1
call fcn.00413f80
lea ecx, [esi + 0x224]
mov byte [ebp - 4], 2
call fcn.00402be0
push 0x2710
push 1
mov byte [ebp - 4], 3
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
call fcn.0042a88b
dec eax
add esp, 8
cmp eax, 0x63
ja 0x4182a7
mov dword [esi + 0x2c], 1
mov dword [esi + 0x218], 0
mov eax, esi
mov byte [esi + 0x2a4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x419160
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a02ea
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x628144]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0xd
xor eax, eax
mov dword [ebp - 0x44], 7
push str.WinUpdate.exe
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
call fcn.00402400
cmp dword [ebp - 0x48], 0
mov dword [ebp - 4], 0
je 0x41933f
xor eax, eax
mov dword [ebp - 0x2c], 7
push eax
push 0x5a355c
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call fcn.00402400
xor eax, eax
mov byte [ebp - 4], 1
push eax
push 0x5a355c
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00402400
mov eax, dword [0x62d0d0]
mov byte [ebp - 4], 2
test eax, eax
jne 0x419241
push 0x120
call fcn.0042579b
add esp, 4
mov dword [ebp - 0x5c], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x419236
mov ecx, eax
call fcn.0041a1a0
jmp 0x419238
xor eax, eax
mov byte [ebp - 4], 2
mov dword [0x62d0d0], eax
mov ecx, eax
call fcn.0042d79f
mov edx, eax
cmp word [edx], 0
jne 0x419254
xor ecx, ecx
jmp 0x41926f
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x419260
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00402400
push 0xd
push str.WinUpdate.exe
lea ecx, [ebp - 0x28]
call fcn.00404910
push 1
push 0x5a54f4
lea ecx, [ebp - 0x40]
call fcn.00402400
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x40]
call fcn.00404800
push 2
push 0x5a54f8
lea ecx, [ebp - 0x40]
call fcn.00404910
push 6
push str.0d7f10
lea ecx, [ebp - 0x40]
call fcn.00404910
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x419301
cmp dword [ebp - 0x2c], 8
lea esi, [ebp - 0x40]
cmovae esi, dword [ebp - 0x40]
call fcn.00430fd0
push esi
test eax, eax
je 0x4192f9
mov ecx, edi
call fcn.00419f30
jmp 0x419301
call fcn.004387f3
add esp, 4
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x419316
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00402500
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
cmp eax, 8
jb 0x41933f
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00402500
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x419354
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00402500
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042578a
mov esp, ebp
pop ebp
ret
Function at 0x419f30
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
lea eax, [ebp - 8]
push str.EXPLORER.EXE
push eax
call fcn.004197d0
test eax, eax
jne 0x419f50
xor eax, eax
mov esp, ebp
pop ebp
ret 4
push 0x44
lea eax, [ebp - 0x5c]
push 0
push eax
call fcn.00442fd0
add esp, 0xc
mov dword [ebp - 0x5c], 0x44
lea eax, [ebp - 4]
mov dword [ebp - 0x54], str.winsta0default
mov dword [ebp - 4], 0
push 1
push dword [ebp - 8]
push eax
call sub.USERENV.dll_CreateEnvironmentBlock
test eax, eax
je 0x419f48
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x5c]
push eax
push 0
push dword [ebp - 4]
push 0x420
push 0
push 0
push 0
push dword [ebp + 8]
push 0
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov esp, ebp
pop ebp
ret 4

Function at 0x41adc0
Capabilities:
Create thread

Disassembly:
push esi
push 4
push 0x5a5710
mov esi, ecx
call fcn.0041b7f0
lea eax, [esi + 0x34]
push eax
push 0
push esi
push 0x41ae40
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x30], eax
pop esi
ret 8

Function at 0x41b740
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x628144]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
push dword [ebp + 0xc]
mov edi, ecx
push eax
push str._s_Failed_error_0x_08lx
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0041b6c0
add esp, 0x14
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x210], 0
push dword [edi + 4]
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov esi, eax
test esi, esi
je 0x41b7d4
mov ecx, dword [edi + 4]
lea eax, [ebp - 0x20c]
push 0
mov dword [ebp - 0x210], eax
lea eax, [ebp - 0x214]
push eax
push 0
push 2
push 0
push 0
push 0
push 1
push esi
mov dword [ebp - 0x214], ecx
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0042578a
mov esp, ebp
pop ebp
ret 8

Function at 0x41b7f0
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
mov edi, ecx
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
push dword [edi + 4]
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov esi, eax
test esi, esi
je 0x41b846
mov ecx, dword [edi + 4]
lea eax, [ebp - 8]
push 0
push eax
push 0
push 2
push 0
push 0
push 0
push dword [ebp + 0xc]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp + 8]
push esi
mov dword [ebp - 4], ecx
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x41bbc0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a0803
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x628144]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 8], 0xffffffff
mov dword [esi + 4], 0xffffffff
mov dword [esi + 0xc], 0
mov dword [esi + 0x20], 0x62d440
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
lea ecx, [esi + 0x34]
mov dword [esi], vtable.TiXmlDocument.0
mov dword [ebp - 4], 0
mov dword [ecx], 0x62d440
mov dword [esi + 0x40], 0xffffffff
mov dword [esi + 0x3c], 0xffffffff
push 0
push 0x5a35fd
mov byte [ebp - 4], 1
mov dword [esi + 0x38], 4
mov byte [esi + 0x44], 0
mov byte [esi + 0x2c], 0
mov dword [esi + 0x30], 0
call fcn.0041f710
mov dword [esi + 0x40], 0
mov eax, esi
mov dword [esi + 0x3c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

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

Disassembly:
xor eax, eax
mov edx, eax
mov ecx, eax
and edx, 1
shr ecx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov dword [eax*4 + 0x631bc0], ecx
inc eax
cmp eax, 0x100
jb 0x422332
cmp eax, 0x800
jae 0x422403
nop
mov edx, dword [eax*4 + 0x6317c0]
movzx ecx, dl
shr edx, 8
xor edx, dword [ecx*4 + 0x631bc0]
mov dword [eax*4 + 0x631bc0], edx
inc eax
cmp eax, 0x800
jb 0x4223e0
mov dword [0x62d44c], 0x4231a0
call fcn.00422fd0
mov ecx, dword [0x62d44c]
test eax, eax
mov edx, 0x423240
cmove ecx, edx
mov dword [0x62d44c], ecx
ret
Function at 0x423520
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x14]
sub esp, 0x10
mov ecx, dword [ebp + 0xc]
mov eax, dword [eax]
push ebx
xor ebx, ebx
and eax, 7
cmp ecx, 5
jae 0x423540
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
add dword [ebp + 0x10], 5
lea edx, [ecx - 4]
push esi
mov esi, dword [ebp + 8]
push edi
or edi, 0xffffffff
add edx, esi
mov dword [ebp - 4], edx
add esi, ebx
mov dword [ebp + 0xc], esi
cmp esi, edx
jae 0x423572
nop dword [eax]
mov cl, byte [esi]
and cl, 0xfe
cmp cl, 0xe8
je 0x42356f
inc esi
cmp esi, edx
jb 0x423560
mov dword [ebp + 0xc], esi
mov ebx, esi
sub ebx, dword [ebp + 8]
mov ecx, ebx
sub ecx, edi
cmp esi, edx
jae 0x42369c
cmp ecx, 3
jbe 0x4235b2
xor eax, eax
mov cl, byte [esi + 4]
mov edi, ebx
mov dword [ebp - 0x10], edi
test cl, cl
je 0x4235f0
cmp cl, 0xff
je 0x4235f0
mov edx, dword [ebp - 4]
and eax, 3
mov esi, dword [ebp + 8]
add eax, eax
mov ecx, 1
or eax, 1
add ebx, ecx
jmp 0x423554
dec ecx
shl eax, cl
and eax, 7
je 0x42358a
movzx ecx, byte [eax + 0x5a615c]
mov edx, esi
sub edx, ecx
cmp byte [eax + 0x5a6154], 0
mov cl, byte [edx + 4]
je 0x4235da
test cl, cl
je 0x4235da
cmp cl, 0xff
jne 0x42358a
mov edx, dword [ebp - 4]
and eax, 3
mov esi, dword [ebp + 8]
add eax, eax
mov edi, ebx
or eax, 1
inc ebx
jmp 0x423554
movzx edi, cl
movzx ecx, byte [esi + 3]
shl edi, 8
or edi, ecx
movzx ecx, byte [esi + 2]
shl edi, 8
or edi, ecx
movzx ecx, byte [esi + 1]
mov esi, dword [ebp + 0x10]
shl edi, 8
or edi, ecx
cmp dword [ebp + 0x18], 0
je 0x42361e
lea edx, [edi + ebx]
add edx, esi
jmp 0x423624
mov edx, edi
sub edx, ebx
sub edx, esi
test eax, eax
je 0x423662
movzx edi, byte [eax + 0x5a615c]
mov ecx, 0x18
shl edi, 3
sub ecx, edi
mov dword [ebp - 0xc], edi
mov edi, edx
shr edi, cl
mov ecx, edi
mov dword [ebp - 8], edi
test cl, cl
je 0x42364e
cmp cl, 0xff
jne 0x423662
mov ecx, 0x20
mov edi, 1
sub ecx, dword [ebp - 0xc]
shl edi, cl
dec edi
xor edi, edx
jmp 0x423611
mov esi, dword [ebp + 0xc]
mov ecx, edx
mov edi, dword [ebp - 0x10]
shr ecx, 0x18
and cl, 1
dec cl
mov byte [esi + 1], dl
not cl
mov byte [esi + 4], cl
mov ecx, edx
shr ecx, 0x10
mov byte [esi + 3], cl
mov ecx, edx
mov edx, dword [ebp - 4]
shr ecx, 8
mov byte [esi + 2], cl
mov ecx, 5
mov esi, dword [ebp + 8]
add ebx, ecx
jmp 0x423554
pop edi
pop esi
cmp ecx, 3
jbe 0x4236b1
mov ecx, dword [ebp + 0x14]
xor eax, eax
mov dword [ecx], eax
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
dec ecx
shl eax, cl
mov ecx, dword [ebp + 0x14]
and eax, 7
mov dword [ecx], eax
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x429151
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
je 0x429232
call fcn.00426bd0
test al, al
je 0x42919e
pop eax
push ebx
pop ecx
push ebx
pop ebp
push edx
pop ebp
pop edx
pop edi
pop eax
pop esp
push edi
push ecx
push edx
push ebx
push eax
push esp
pop esi
pop ecx
push edx
push esp
call fcn.00426489
test al, al
je 0x4291b9
pop edi
push ebp
push edx
pop esp
push esp
pop esi
pop ebx
pop ebp
pop eax
pop ebx
pop esp
pop edi
pop edx
pop edx
pop ebx
pop ebx
push ebx
push ebp
call fcn.00426c15
test al, al
je 0x4291e0
pop esi
push edi
pop edi
pop edi
pop ebx
push eax
push ebx
pop edi
push edi
push esi
push eax
pop ebx
push ebp
push ecx
push ebp
push ebp
push ecx
pop ecx
pop edx
pop ebp
pop eax
pop eax
pop edx
push edi
push ebx
push eax
push edx
push ecx
pop esp
push edi
mov ebx, dword [ebp + 0x10]
lea eax, [ebp - 4]
mov esi, dword [ebp - 8]
and dword [ebp - 4], 0
push 0
push eax
push ebx
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.0042673b
test al, al
je 0x429222
push edi
pop ecx
push edi
push edi
push esi
push ebp
pop ebp
push ebx
push eax
pop eax
pop eax
push edx
pop esp
pop edi
push edx
pop edi
pop edi
pop eax
pop edi
pop edi
cmp dword [ebp - 8], 0
je 0x429232
cmp ebx, dword [ebp - 4]
jne 0x429232
xor eax, eax
inc eax
jmp 0x429234
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x42c76f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x42c7ee
push ebx
push edi
xor edi, edi
push str.958a208fcb7062e5cb0b4133fd0e8da3
mov dword [ebp + 8], edi
call fcn.00453210
mov ebx, dword [ebp + 0xc]
mov edx, edi
pop ecx
test ebx, ebx
je 0x42c7ab
mov cl, byte [edi + str.958a208fcb7062e5cb0b4133fd0e8da3]
xor byte [edx + esi], cl
inc edi
xor ecx, ecx
cmp edi, eax
cmovge edi, ecx
inc edx
cmp edx, ebx
jb 0x42c795
cmp ebx, 1
jle 0x42c7e2
cmp byte [esi], 0x37
jne 0x42c7e2
mov al, byte [esi + 1]
cmp al, 0x7a
je 0x42c7c0
cmp al, 0x5a
jne 0x42c7e2
lea eax, [ebp + 8]
push eax
push ebx
push esi
call fcn.0041f940
test eax, eax
je 0x42c7e2
mov edx, dword [ebp + 8]
test edx, edx
je 0x42c7e2
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov eax, dword [ebp + 0x14]
mov dword [eax], edx
jmp 0x42c7ec
mov eax, dword [ebp + 0x10]
mov dword [eax], esi
mov eax, dword [ebp + 0x14]
mov dword [eax], ebx
pop edi
pop ebx
pop esi
pop ebp
ret
Function at 0x42d80a
Capabilities:
Read .ini file

Disassembly:
push 0x864
mov eax, 0x5a144d
call fcn.00598680
mov ebx, ecx
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cdq
push edx
push eax
lea eax, [ebp - 0x828]
push eax
call fcn.00429d7f
add esp, 0xc
and dword [ebp - 4], 0
lea eax, [ebp - 0x828]
push eax
lea ecx, [ebp - 0x858]
call fcn.00402b50
push 0x800
lea eax, [ebp - 0x810]
mov byte [ebp - 4], 1
push 0
push eax
call fcn.00442fd0
lea ecx, [ebx + 0xd4]
add esp, 0xc
cmp dword [ecx + 0x14], 8
jb 0x42d874
mov ecx, dword [ecx]
cmp dword [ebp - 0x814], 8
lea eax, [ebp - 0x828]
push ecx
cmovae eax, dword [ebp - 0x828]
lea ecx, [ebp - 0x810]
push 0x400
push ecx
push eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
and dword [ebp - 0x830], 0
xor eax, eax
mov dword [ebp - 0x82c], 7
mov word [ebp - 0x840], ax
cmp word [ebp - 0x810], ax
je 0x42d8ce
lea eax, [ebp - 0x810]
push eax
call fcn.0045329b
pop ecx
push eax
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x840]
call fcn.00402400
lea eax, [ebp - 0x828]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x840]
call fcn.004295fe
test eax, eax
jne 0x42d93e
cmp dword [ebp - 0x814], 8
lea eax, [ebp - 0x828]
mov ecx, ebx
cmovae eax, dword [ebp - 0x828]
push eax
push edi
push esi
lea eax, [ebp - 0x870]
push eax
call fcn.0042da36
push eax
lea ecx, [ebp - 0x858]
call fcn.00402d90
xor ebx, ebx
lea ecx, [ebp - 0x870]
push ebx
push 1
call fcn.00427631
jmp 0x42d955
push 0xffffffffffffffff
xor ebx, ebx
lea eax, [ebp - 0x840]
push ebx
push eax
lea ecx, [ebp - 0x858]
call fcn.004022e0
cmp dword [ebp - 0x844], 8
lea eax, [ebp - 0x858]
cmovae eax, dword [ebp - 0x858]
push eax
call fcn.00446849
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x840]
mov esi, eax
call fcn.00427631
push ebx
push 1
lea ecx, [ebp - 0x858]
call fcn.00427631
push ebx
push 1
lea ecx, [ebp - 0x828]
call fcn.00427631
mov eax, esi
call fcn.0059863b
ret 0xc