joyce8/EMBER2024-capa huggingface dataset:
Function at 0x426c89
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [esi + 4]
call fcn.004147fa
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x426cc5
call fcn.00426ea8
mov dword [esi + 0xc], 1
jmp 0x426cca
call fcn.00426ea8
cmp dword [esi], 0
je 0x426d13
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x426ced
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.00409ec0
jmp 0x426cfe
push 0xff
mov ecx, esi
call fcn.00402b80
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.00403da0
jmp 0x426d37
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x426d37
push dword [esi]
push dword [ebp - 4]
call fcn.004201af
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x426dfd
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.00426ea8
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x426e45
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00409ec0
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00403da0
jmp 0x426e50
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.004201af
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x42b9ee
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x42ba29
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x42ba10
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x42ba21
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x42ba2b
inc edi
add eax, 0x28
cmp edi, esi
jb 0x42ba06
xor eax, eax
pop edi
pop esi
ret

Function at 0x42d6b8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
in eax, dx
and byte [ebp - 0x7a9], 0
mov byte [ebp - 0x7a8], 0x4e
mov byte [ebp - 0x7a7], 0x55
mov byte [ebp - 0x7a6], 0x56
mov byte [ebp - 0x7a5], 0x7e
mov byte [ebp - 0x7a4], 0x21
mov byte [ebp - 0x7a3], 0x20
mov byte [ebp - 0x7a2], 0x3c
mov byte [ebp - 0x7a1], 0x76
mov byte [ebp - 0x7a0], 0x7e
mov byte [ebp - 0x79f], 0x7e
mov byte [ebp - 0x79e], 0x12
push 0xb
lea eax, [ebp - 0x7ac]
push eax
call fcn.0042b9be
pop ecx
push eax
mov eax, dword [ebp - 0x338]
lea eax, [ebp + eax - 0x230]
push eax
call fcn.0042b91f
add esp, 0xc
jmp 0x42d926
Function at 0x4c9322
Capabilities:
Get file system object information

Disassembly:
push 0x4c8
mov eax, 0x5a98c6
call fcn.0052d215
mov ebx, ecx
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.00403660
pop ecx
lea esi, [eax + 0x10]
mov dword [ebp - 0x4d0], esi
and dword [ebp - 4], 0
lea ecx, [ebp - 0x4d0]
push 0
push 0x5ec790
call fcn.004056a0
cmp eax, 0xffffffff
jne 0x4c93d6
push 0
push 0x5be7e0
lea ecx, [ebp - 0x4d0]
call fcn.004056a0
cmp eax, 0xffffffff
jne 0x4c93d6
push 0
push 0x5b96fc
lea ecx, [ebp - 0x4d0]
call fcn.004056a0
cmp eax, 0xffffffff
jne 0x4c93d6
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.00403660
pop ecx
lea edi, [eax + 0x10]
mov dword [ebp - 0x4d4], edi
xor ecx, ecx
mov byte [ebp - 4], 1
push ecx
lea eax, [ebp - 0x218]
push eax
push 0x104
push ecx
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
jne 0x4c93b2
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x14]
lea ecx, [edi - 0x10]
mov ebx, eax
call fcn.00402760
jmp 0x4c9405
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x4d0]
call fcn.00403560
lea ecx, [edi - 0x10]
mov byte [ebp - 4], 0
call fcn.00402760
mov esi, dword [ebp - 0x4d0]
push 0x105
push 0x2b4
lea eax, [ebp - 0x4cc]
push eax
push 0
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x4c93fc
mov ebx, dword [ebp - 0x4cc]
jmp 0x4c9405
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x14]
mov ebx, eax
lea ecx, [esi - 0x10]
call fcn.00402760
mov eax, ebx
call fcn.0052d1c4
ret
Function at 0x49fdd0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4ea933
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004db538
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], 0x9253f8
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], 0x85c178
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [0x4ed058]
push eax
mov ecx, edi
call fcn.004e0ca8
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.004e233d
test eax, eax
je 0x49feec
mov ecx, dword [esp + 0x3c]
call fcn.004e0cd5
mov ecx, dword [esi + 0x1c]
mov ebp, dword [0x4ed58c]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x49feb0
push edi
mov ecx, esi
call fcn.004de29b
mov ecx, esi
call fcn.004a0050
cmp dword [esp + 0x38], 1
jne 0x49fee5
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.004de405
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28

Function at 0x4a2920
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x4a2953
push esi
call fcn.004a5a30
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x4a294c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x4a29d9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4a29c2
mov eax, dword [esi + 8]
test eax, eax
je 0x4a2977
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x4a29be
cmp eax, 2
je 0x4a29c2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4a296a
cmp eax, 3
je 0x4a299d
cmp eax, 1
jne 0x4a296a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x4a296a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4a296a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.004a2a00
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x4a29e8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.004a2a00
add esp, 4
pop esi
ret
Function at 0x402320
Capabilities:
Get file size

Disassembly:
push ecx
cmp byte [ecx + 0x10], 0
push esi
je 0x402366
mov eax, dword [esp + 0xc]
push edi
xor edi, edi
mov dword [eax], 0
mov dword [eax + 4], 0
cmp dword [ecx + 0x18], edi
jbe 0x40235e
xor edx, edx
push ebx
mov esi, dword [ecx + 0x14]
mov ebx, dword [esi + edx + 8]
add dword [eax], ebx
mov esi, dword [esi + edx + 0xc]
adc dword [eax + 4], esi
inc edi
add edx, 0x10
cmp edi, dword [ecx + 0x18]
jb 0x402344
pop ebx
pop edi
mov al, 1
pop esi
pop ecx
ret 4
mov ecx, dword [ecx + 8]
lea eax, [esp + 4]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40238d
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x40238d
xor al, al
pop esi
pop ecx
ret 4
mov edx, dword [esp + 4]
push 1
push 0
push 0
push edx
call fcn.004e07b0
mov ecx, eax
xor eax, eax
add ecx, esi
adc edx, eax
mov eax, dword [esp + 0xc]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov al, 1
pop esi
pop ecx
ret 4
Function at 0x402dd4
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x14
push ebx
push esi
mov esi, ecx
cmp byte [esi + 0x10], 0
push edi
je 0x402eb6
mov edx, dword [esi + 0x18]
xor eax, eax
mov dword [esp + 0xc], eax
test edx, edx
jbe 0x402e05
mov edi, dword [esi + 8]
mov ecx, dword [esi + 0x14]
cmp edi, dword [ecx]
je 0x402e01
inc eax
add ecx, 0x10
cmp eax, edx
jb 0x402df5
mov dword [esp + 0xc], eax
cmp eax, edx
jb 0x402e14
pop edi
pop esi
xor al, al
pop ebx
add esp, 0x14
ret 0xc
mov ebx, dword [esp + 0x28]
push ebp
mov ebp, eax
mov dword [esp + 0x14], 0
mov edi, eax
shl ebp, 4
jmp 0x402e34
mov eax, dword [esp + 0x10]
test ebx, ebx
jbe 0x402e94
mov ecx, dword [esi + 0x14]
mov edx, dword [ecx + ebp]
mov dword [esi + 8], edx
mov byte [esi + 0x10], 0
cmp edi, eax
jbe 0x402e5b
lea eax, [esp + 0x1c]
push eax
push 0
push 0
push 0
mov ecx, esi
call fcn.004023c0
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x2c]
push ecx
push ebx
push edx
mov ecx, esi
mov dword [esp + 0x38], 0
call fcn.00402dd0
mov byte [esi + 0x10], 1
test al, al
je 0x402eaa
mov eax, dword [esp + 0x2c]
add dword [esp + 0x14], eax
add dword [esp + 0x28], eax
inc edi
sub ebx, eax
add ebp, 0x10
cmp edi, dword [esi + 0x18]
jb 0x402e30
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x14]
pop ebp
pop edi
pop esi
mov dword [eax], ecx
mov al, 1
pop ebx
add esp, 0x14
ret 0xc
pop ebp
pop edi
pop esi
xor al, al
pop ebx
add esp, 0x14
ret 0xc
mov edi, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
mov ecx, dword [esi + 8]
push 0
push edi
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
mov eax, dword [0x510f00]
setne bl
add eax, dword [edi]
mov dword [0x510f00], eax
cmp eax, 0x186a0
jbe 0x402f27
lea edx, [esp + 0x10]
push edx
mov ecx, esi
call fcn.004022a0
mov esi, dword [esi + 0xc]
mov eax, dword [esi + 0x201c]
mov ecx, dword [esi + 0x2018]
mov edx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x14]
push ecx
push edx
push eax
push 0
push 0
push 0
push 0
call fcn.00468750
mov dword [0x510f00], 0
pop edi
pop esi
mov al, bl
pop ebx
add esp, 0x14
ret 0xc

Function at 0x402f46
Capabilities:
Write file on windows

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
mov esi, ecx
add dword [esi + 0x20], ebp
mov edx, dword [esi + 0x20]
push edi
adc dword [esi + 0x24], 0
mov eax, dword [esi + 0x24]
jne 0x402f5d
test edx, edx
jbe 0x402f7e
mov ecx, dword [esi + 0x2c]
mov edi, dword [esi + 0x28]
cmp eax, ecx
ja 0x402f7e
jb 0x402f6d
cmp edx, edi
jae 0x402f7e
push 0
push 0
push 0
push 0
push ecx
push edi
push eax
push edx
call fcn.00468750
cmp byte [esi + 5], 0
mov edi, dword [esp + 0x14]
mov bl, 1
je 0x402f92
mov eax, dword [esp + 0x1c]
mov dword [eax], ebp
jmp 0x402faa
mov ecx, dword [esp + 0x1c]
mov edx, dword [esi + 8]
push 0
push ecx
push ebp
push edi
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
setne bl
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 4]
push ebp
push edi
push ecx
call fcn.0040e100
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
ret 0xc
Function at 0x405120
Capabilities:
Delete file

Disassembly:
push ecx
push ebp
push esi
mov esi, ecx
xor eax, eax
lea ebp, [esi + 0x100e]
mov word [ebp], ax
mov eax, dword [esi + 4]
lea ecx, [esp + 0xb]
push ecx
lea edx, [eax + 0x5024]
push edx
add eax, 0xb40a
push eax
mov ecx, esi
mov byte [esi + 0xc], 0
call fcn.00404d40
test al, al
jne 0x405172
cmp byte [esp + 0xb], al
jne 0x4051b4
mov eax, dword [esi + 4]
add eax, 0xb40a
push eax
mov ecx, 0x5275b8
call fcn.0043dba0
pop esi
pop ebp
pop ecx
ret
mov ecx, dword [esi + 8]
mov edx, dword [ecx + 4]
push edi
push edx
mov ecx, esi
call fcn.004042e0
mov edi, dword [esi + 8]
test edi, edi
je 0x405198
mov ecx, edi
call fcn.00403180
push edi
call fcn.004dfa86
add esp, 4
cmp byte [esi + 0xc], 0
mov dword [esi + 8], 0
pop edi
je 0x4051b4
cmp word [ebp], 0
je 0x4051b4
push ebp
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop esi
pop ebp
pop ecx
ret

Function at 0x406ca0
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 0xc]
push esi
push edi
mov edi, dword [esp + 0xc]
push eax
mov esi, ecx
mov ecx, dword [esp + 0x14]
push ecx
push 1
push edi
call fcn.004e11c1
mov edx, dword [esi + 0x410]
add dword [esi + 0x424], eax
add esp, 0x10
push eax
push edi
push edx
call fcn.00438d20
pop edi
mov dword [esi + 0x410], eax
pop esi
ret 0xc

Function at 0x406d60
Capabilities:
Read file on windows

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x14]
push edi
mov esi, ecx
call fcn.004e148a
push 2
push 0
push edi
mov ebp, eax
call fcn.004e1268
push edi
call fcn.004e148a
mov ebx, eax
sub ebx, 2
add esp, 0x14
cmp ebx, 0x20000
mov dword [esp + 0x14], ebx
jle 0x406da2
mov dword [esp + 0x14], 0x20000
mov ebx, dword [esp + 0x14]
cmp ebp, ebx
jge 0x406dee
push 0
push ebp
push edi
call fcn.004e1268
push edi
call fcn.004e0e1d
add esp, 0x10
and eax, 0xff
lea ecx, [ecx]
push edi
cmp eax, 0x60
je 0x406dd5
call fcn.004e0e1d
add esp, 4
and eax, 0xff
jmp 0x406de9
call fcn.004e0e1d
and eax, 0xff
add esp, 4
cmp eax, 0xea
je 0x406df8
inc ebp
cmp ebp, ebx
jl 0x406dc0
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret 4
cmp ebp, ebx
jge 0x406dee
push edi
call fcn.004e0e1d
mov ebx, eax
push edi
and ebx, 0xff
call fcn.004e0e1d
and eax, 0xff
shl eax, 8
add eax, ebx
mov ecx, 0xa28
add esp, 8
mov word [esi + 0x1a64], ax
cmp ax, cx
ja 0x406e7c
movzx eax, ax
push edi
push eax
lea ebx, [esi + 0x42d]
push 1
push ebx
mov dword [esi + 0x410], 0xffffffff
call fcn.004e11c1
mov edx, dword [esi + 0x410]
add dword [esi + 0x424], eax
add esp, 0x10
push eax
push ebx
push edx
call fcn.00438d20
push edi
mov ecx, esi
mov dword [esi + 0x410], eax
call fcn.00406c40
mov ecx, dword [esi + 0x410]
not ecx
cmp ecx, eax
je 0x406e90
inc ebp
cmp ebp, dword [esp + 0x14]
jge 0x406dee
mov ebx, dword [esp + 0x14]
jmp 0x406da6
push 0
push ebp
push edi
call fcn.004e1268
add esp, 0xc
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
ret 4
Function at 0x4072a0
Capabilities:
Read file on windows

Disassembly:
push ebx
push esi
push edi
push 0x1000
mov esi, ecx
call fcn.004dfec6
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x4072c2
mov ecx, 0x5275b8
call fcn.0043d5c0
mov eax, dword [esi + 0x418]
push eax
call fcn.004e148a
and eax, 0xfff
mov edi, 0x1000
sub edi, eax
mov eax, dword [esi + 0x420]
add esp, 4
cmp eax, edi
jg 0x4072e9
mov edi, eax
test eax, eax
jle 0x40737c
mov ecx, dword [esi + 0x418]
push ecx
push edi
push 1
push ebx
call fcn.004e11c1
add esp, 0x10
cmp eax, edi
jne 0x407367
mov edx, dword [esi + 4]
sub dword [esi + 0x420], edi
push edi
push ebx
push edx
call fcn.0040e100
mov eax, dword [esi + 0x410]
push edi
push ebx
push eax
call fcn.00438d20
mov ecx, dword [esi + 0x414]
mov dword [esi + 0x410], eax
test ecx, ecx
je 0x40733e
push edi
push ebx
call fcn.00442340
mov edi, dword [esi + 0x420]
cmp edi, 0x1000
jbe 0x407351
mov edi, 0x1000
cmp dword [esi + 0x420], 0
jg 0x4072f1
push ebx
call fcn.004df66f
add esp, 4
pop edi
pop esi
pop ebx
ret
mov esi, dword [esi + 4]
lea eax, [esi + 0xb40a]
push eax
push eax
mov ecx, 0x5275b8
call fcn.0043daa0
push ebx
call fcn.004df66f
add esp, 4
pop edi
pop esi
pop ebx
ret

Function at 0x408f10
Capabilities:
Hash data using crc32b

Disassembly:
xor ecx, ecx
mov eax, ecx
shl eax, 0x18
test eax, eax
jns 0x408f24
add eax, eax
xor eax, 0x4c11db7
jmp 0x408f26
add eax, eax
test eax, eax
jns 0x408f33
add eax, eax
xor eax, 0x4c11db7
jmp 0x408f35
add eax, eax
test eax, eax
jns 0x408f42
add eax, eax
xor eax, 0x4c11db7
jmp 0x408f44
add eax, eax
test eax, eax
jns 0x408f51
add eax, eax
xor eax, 0x4c11db7
jmp 0x408f53
add eax, eax
test eax, eax
jns 0x408f60
add eax, eax
xor eax, 0x4c11db7
jmp 0x408f62
add eax, eax
test eax, eax
jns 0x408f6f
add eax, eax
xor eax, 0x4c11db7
jmp 0x408f71
add eax, eax
test eax, eax
jns 0x408f7e
add eax, eax
xor eax, 0x4c11db7
jmp 0x408f80
add eax, eax
test eax, eax
jns 0x408f8d
add eax, eax
xor eax, 0x4c11db7
jmp 0x408f8f
add eax, eax
mov dword [ecx*4 + 0x510fa0], eax
inc ecx
cmp ecx, 0x100
jl 0x408f12
ret

Function at 0x40cca0
Capabilities:
Read file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
mov edi, dword [esp + 0x10]
push 0
lea eax, [esp + 0xc]
push eax
push 1
lea ecx, [esp + 0x1c]
push ecx
push edi
call ebx
test eax, eax
je 0x40cd07
push ebp
mov ebp, dword [esp + 0x1c]
push esi
mov esi, dword [esp + 0x1c]
lea esp, [esp]
cmp dword [esp + 0x10], 1
jne 0x40ccfc
mov al, byte [esp + 0x18]
mov byte [esi], al
test al, al
je 0x40ccfc
dec ebp
test ebp, ebp
jle 0x40ccfc
push 0
lea edx, [esp + 0x14]
push edx
push 1
lea eax, [esp + 0x24]
push eax
push edi
inc esi
call ebx
test eax, eax
jne 0x40ccd0
mov byte [esi], 0
pop esi
pop ebp
pop edi
pop ebx
pop ecx
ret 0xc
mov ecx, dword [esp + 0x14]
pop edi
mov byte [ecx], 0
pop ebx
pop ecx
ret 0xc
Function at 0x40e190
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0x18]
push edi
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push esi
call fcn.00451140
mov ebx, dword [esp + 0x10]
push edi
push ebx
xor ecx, ecx
push esi
mov word [eax], cx
call fcn.00466ba0
push esi
call fcn.00443510
test al, al
je 0x40e1ce
pop edi
pop esi
mov al, 1
pop ebx
ret 0xc
lea eax, [esp + 0x18]
push eax
push 1
xor edx, edx
push edx
push str.SoftwareMicrosoftWindowsCurrentVersionApp_Pathswinrar.exe
push reloc.OLEAUT32.dll_SysReAllocString
mov word [esi], dx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40e21b
lea edx, [esp + 0x14]
push edx
push esi
lea eax, [esp + 0x18]
push eax
lea ecx, [edi + edi]
push 0
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x28]
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call fcn.00451140
push edi
push ebx
xor ecx, ecx
push esi
mov word [eax], cx
call fcn.00466ba0
push esi
call fcn.00443510
pop edi
pop esi
pop ebx
ret 0xc
Function at 0x415af0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 8]
test edx, edx
jbe 0x415b2d
push esi
mov esi, dword [esp + 8]
push edi
mov edi, edi
movzx eax, word [ecx + 0x8510]
movsx edi, byte [esi]
xor edi, eax
and edi, 0xff
shr ax, 8
xor ax, word [ecx + edi*2 + 8]
dec edx
inc esi
mov word [ecx + 0x8510], ax
test edx, edx
ja 0x415b00
pop edi
pop esi
ret 8
mov ax, word [ecx + 0x8510]
ret 8

Function at 0x41c590
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 8]
xor eax, eax
test edx, edx
jbe 0x41c5c4
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
movzx ebx, byte [esi]
mov edi, eax
shr edi, 8
xor edi, ebx
and edi, 0xff
shl eax, 8
xor eax, dword [ecx + edi*4 + 0x1a90]
dec edx
inc esi
test edx, edx
ja 0x41c5a1
pop edi
pop esi
pop ebx
movzx eax, ax
ret 8
Function at 0x429d50
Capabilities:
Check if file exists

Disassembly:
mov byte [ecx + 0x63b4], 0
jmp fcn.00441f90
Function at 0x432500
Capabilities:
Hash data using sha256

Disassembly:
cmp dword [0x531858], 2
push esi
push edi
mov edi, eax
mov esi, ecx
jl 0x432514
call fcn.004313a0
push 0xf0
push 0
push esi
call fcn.004e0730
mov dword [esi + 0x100], 0
mov byte [esi + 0x104], 0
mov eax, dword [esi + 0xf4]
mov dword [eax], 0x6a09e667
mov ecx, dword [esi + 0xf4]
mov dword [ecx + 4], 0xbb67ae85
mov edx, dword [esi + 0xf4]
mov dword [edx + 8], 0x3c6ef372
mov eax, dword [esi + 0xf4]
mov dword [eax + 0xc], 0xa54ff53a
mov ecx, dword [esi + 0xf4]
mov dword [ecx + 0x10], 0x510e527f
mov edx, dword [esi + 0xf4]
mov dword [edx + 0x14], 0x9b05688c
mov eax, dword [esi + 0xf4]
mov edx, dword [esp + 0x18]
mov dword [eax + 0x18], 0x1f83d9ab
mov ecx, dword [esi + 0xf4]
mov dword [ecx + 0x1c], 0x5be0cd19
mov eax, dword [esi + 0xf4]
xor dword [eax], 0x2080020
mov eax, dword [esi + 0xf4]
xor dword [eax + 8], edx
mov esi, dword [esi + 0xf4]
or edi, 0x2000
shl edi, 0x10
xor dword [esi + 0xc], edi
add esp, 0xc
pop edi
pop esi
ret 4
Function at 0x433660
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4f4deb
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x50fb70]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
lea edi, [esi + 0x14]
mov ecx, edi
call fcn.004547a0
xor ebx, ebx
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x24]
mov dword [esi], eax
mov dword [esi + 0x3c], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], 1
call fcn.00467c20
mov ecx, dword [esi]
push 0x40000
push ecx
push 0x4342f0
mov ecx, edi
mov dword [esi + 4], eax
call fcn.004547c0
mov ecx, edi
call fcn.00454770
mov dword [esi + 0x10], ebx
mov dword [esp + 0x1c], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4

Function at 0x433de0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4f4e5b
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x50fb70]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esp + 0x18], 0
mov eax, dword [esi + 8]
push eax
call fcn.004e07e4
mov eax, dword [esi + 0x30]
add esp, 4
test eax, eax
je 0x433e44
mov ecx, dword [eax - 4]
lea edi, [eax - 4]
push 0x433700
push ecx
push 0x8a4
push eax
call fcn.004e2ba6
push edi
call fcn.004e07e4
add esp, 4
mov edx, dword [esi + 4]
push edx
call fcn.00467df0
mov dword [esp + 0x18], 0xffffffff
lea ecx, [esi + 0x14]
call fcn.00454760
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret

Function at 0x438a70
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x14], ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov ebp, eax
mov byte [esp + 0x13], 1
push 0
push 0
push ebp
call fcn.00466ce0
test eax, eax
je 0x438afd
sub eax, ebp
sar eax, 1
add eax, 2
mov edi, eax
lea eax, [edi + edi]
push eax
call fcn.004dfec6
mov esi, eax
add esp, 4
test esi, esi
je 0x438afd
push edi
push esi
push ebp
call fcn.00466ce0
mov ebp, eax
test ebp, ebp
je 0x438afd
cmp byte [esp + 0x13], 0
mov bl, 1
jne 0x438ae2
cmp byte [esp + 0x1c], 0
mov ecx, dword [esp + 0x14]
push esi
je 0x438add
call fcn.00438950
mov bl, al
jmp 0x438ae2
call fcn.00438690
push esi
call fcn.004df66f
add esp, 4
cmp byte [esp + 0x1c], 0
je 0x438af6
test bl, bl
je 0x438afd
mov byte [esp + 0x13], 0
jmp 0x438a88
cmp byte [esp + 0x1c], 0
pop edi
pop esi
pop ebp
pop ebx
jne 0x438b11
mov ecx, dword [esp + 4]
call fcn.00436b00
add esp, 8
ret 0xc