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

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x539d98
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00537ccf
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00537ca7
jmp 0x539da4
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x53b6da
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x53b71c
call fcn.0054240e
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x53b71c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x53b713
xor eax, eax
jmp 0x53b724
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0053b72a
pop edi
pop esi
pop ebx
ret 4

Function at 0x54293e
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x54296c
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x54298a
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.005428a4
jmp 0x54298a
mov eax, dword [esi + 0x14]
test eax, eax
je 0x54298a
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.005428a4
test edi, edi
mov eax, edi
jne 0x542974
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x545737
Capabilities:
Check for time delay via gettickcount
Log keystrokes via polling

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor ebx, ebx
push 1
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
call edi
test ax, ax
jge 0x54575f
or dword [esi + 0x38], 1
or dword [esi + 0x34], 2
jmp 0x545770
push 2
call edi
test ax, ax
jge 0x545770
or dword [esi + 0x38], 2
or dword [esi + 0x34], 1
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebp
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x34]
push dword [eax + 0x1c]
call dword [sym.imp.USER32.dll_SetCapture]
push eax
call fcn.00539395
cmp dword [esi + 0x30], ebx
jne 0x54584a
mov edi, dword [sym.imp.USER32.dll_PeekMessageA]
mov ebx, 0x100
call dword [sym.imp.USER32.dll_GetCapture]
push eax
call fcn.00539395
cmp eax, dword [esp + 0x34]
jne 0x54584a
push 1
push 0x209
push 0x200
lea eax, [esp + 0x20]
push 0
push eax
call edi
test eax, eax
jne 0x5457e6
push 1
push pe_nt_image_headers32
push ebx
push eax
lea eax, [esp + 0x24]
push eax
call edi
test eax, eax
je 0x54582b
mov eax, dword [esp + 0x18]
cmp eax, 0x202
je 0x54584a
cmp eax, 0x205
je 0x54584a
cmp eax, 0x201
je 0x54584a
cmp eax, 0x204
je 0x54584a
cmp eax, ebx
jne 0x545811
cmp dword [esp + 0x1c], 0x1b
je 0x54584a
push dword [esp + 0x2c]
lea eax, [esi + 0x20]
push dword [esp + 0x2c]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x30], eax
call ebp
sub eax, dword [esp + 0x10]
cmp eax, dword [0x614354]
jbe 0x545840
mov dword [esi + 0x30], 1
cmp dword [esi + 0x30], 0
je 0x5457a3
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [esi + 0x30]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4
Function at 0x5df6cc
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edi, 0x5e1168
sub eax, eax
test esi, esi
je 0x5df7a4
sub eax, 1
test ecx, ecx
je 0x5df7a2
test esi, 3
je 0x5df70a
xor al, byte [esi]
inc esi
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x5df6ef
mov edx, ecx
and edx, 7
shr ecx, 3
je 0x5df789
xor eax, dword [esi]
add esi, 4
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
xor eax, dword [esi]
add esi, 4
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x5df714
mov ecx, edx
test ecx, ecx
je 0x5df7a2
xor al, byte [esi]
inc esi
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x5df78f
not eax
mov dword [esp + 0x1c], eax
popal
ret

Function at 0x5df7ac
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
xor ebx, ebx
movsb byte es:[edi], byte [esi]
mov bl, 2
call fcn.005df82f
jae 0x5df7ba
xor ecx, ecx
call fcn.005df82f
jae 0x5df7e9
xor eax, eax
call fcn.005df82f
jae 0x5df7f9
mov bl, 2
inc ecx
mov al, 0x10
call fcn.005df82f
adc al, al
jae 0x5df7db
jne 0x5df825
stosb byte es:[edi], al
jmp 0x5df7bd
call fcn.005df83b
sub ecx, ebx
jne 0x5df802
call fcn.005df839
jmp 0x5df821
lodsb al, byte [esi]
shr eax, 1
je 0x5df84b
adc ecx, ecx
jmp 0x5df81e
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.005df839
cmp eax, 0x7d00
jae 0x5df81e
cmp ah, 5
jae 0x5df81f
cmp eax, 0x7f
ja 0x5df820
inc ecx
inc ecx
xchg ebp, eax
mov eax, ebp
mov bl, 1
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x5df7bd
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret
Function at 0x4011ae
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x459210]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov esi, ecx
push 0xc35
push dword [esi + 4]
call dword [0x448298]
mov edi, eax
test edi, edi
je 0x401214
push 0x800
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.00435420
add esp, 0xc
push 0x400
lea eax, [ebp - 0x804]
push eax
push edi
call dword [0x448290]
test eax, eax
je 0x401214
add esi, 0x10
lea eax, [ebp - 0x804]
call fcn.00401248
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004351af
leave
ret

Function at 0x401681
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x19c]
sub esp, 0x21c
mov eax, dword [0x459210]
xor eax, ebp
mov dword [ebp + 0x198], eax
mov eax, dword [ebp + 0x1a4]
cmp dword [eax + 0x18], 8
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
jb 0x4016b4
mov eax, dword [eax + 4]
jmp 0x4016b7
add eax, 4
lea ecx, [ebp - 0x7c]
push ecx
lea ecx, [ebp - 0x74]
push ecx
xor ebx, ebx
push ebx
push 0xf003f
push ebx
push 0x449dac
push ebx
push eax
push 0x80000001
call dword [0x448004]
test eax, eax
jne 0x401743
cmp dword [ebp - 0x74], ebx
je 0x401743
mov eax, 0x208
push eax
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x70]
push ebx
push eax
call fcn.00435420
add esp, 0xc
cmp dword [edi + 0x18], 8
jb 0x401704
mov edi, dword [edi + 4]
jmp 0x401707
add edi, 4
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x80]
push eax
push ebx
push edi
push dword [ebp - 0x74]
call dword [0x448008]
mov edi, eax
cmp edi, ebx
jne 0x40172c
lea eax, [ebp - 0x70]
call fcn.00401248
cmp dword [ebp - 0x74], ebx
je 0x40173a
push dword [ebp - 0x74]
call dword [section..rdata]
xor eax, eax
cmp edi, ebx
sete al
jmp 0x401745
xor al, al
mov ecx, dword [ebp + 0x198]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004351af
add ebp, 0x19c
leave
ret 4

Function at 0x40175f
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
cmp dword [eax + 0x18], 8
push ebx
push esi
mov esi, ecx
jb 0x401773
mov eax, dword [eax + 4]
jmp 0x401776
add eax, 4
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 4]
push ecx
xor ebx, ebx
push ebx
push 0xf003f
push ebx
push 0x449dac
push ebx
push eax
push 0x80000001
call dword [0x448004]
test eax, eax
jne 0x4017eb
cmp dword [ebp - 4], ebx
je 0x4017eb
mov eax, dword [esi + 0x14]
add eax, eax
cmp dword [esi + 0x18], 8
jb 0x4017b2
mov esi, dword [esi + 4]
jmp 0x4017b5
add esi, 4
cmp dword [edi + 0x18], 8
jb 0x4017c0
mov ecx, dword [edi + 4]
jmp 0x4017c3
lea ecx, [edi + 4]
push eax
push esi
push 1
push ebx
push ecx
push dword [ebp - 4]
call dword [0x44800c]
cmp dword [ebp - 4], ebx
mov esi, eax
je 0x4017e2
push dword [ebp - 4]
call dword [section..rdata]
xor eax, eax
cmp esi, ebx
sete al
jmp 0x4017ed
xor al, al
pop esi
pop ebx
leave
ret
Function at 0x403bd3
Capabilities:
Accept command line arguments

Disassembly:
push 0x28
mov eax, 0x44563b
call fcn.004372b5
mov eax, dword [ebp + 8]
xor esi, esi
cmp dword [eax + 0x18], 8
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], esi
jb 0x403bf5
mov eax, dword [eax + 4]
jmp 0x403bf8
add eax, 4
lea ecx, [ebp - 0x30]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ebx, eax
cmp ebx, esi
jne 0x403c0d
xor al, al
jmp 0x403c60
xor edi, edi
cmp dword [ebp - 0x30], esi
jle 0x403c4c
jmp 0x403c18
xor esi, esi
mov eax, dword [ebx + edi*4]
lea ecx, [ebp - 0x2c]
call fcn.00401222
mov dword [ebp - 4], esi
cmp dword [ebp - 0x18], esi
je 0x403c37
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x34]
call fcn.00403cbd
or dword [ebp - 4], 0xffffffff
push esi
push 1
lea esi, [ebp - 0x2c]
call fcn.004012b6
inc edi
cmp edi, dword [ebp - 0x30]
jl 0x403c16
push ebx
call dword [0x448038]
mov eax, dword [ebp - 0x34]
call fcn.00403ca7
test eax, eax
setne al
call fcn.00437338
ret 4
Function at 0x40608a
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b8
mov eax, dword [0x459210]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x18], 8
jb 0x4060ab
mov eax, dword [eax + 4]
jmp 0x4060ae
add eax, 4
push 0x100
push 0x2b4
lea ecx, [ebp - 0x2b8]
push ecx
push 0
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x4060d5
mov eax, dword [ebp - 0x2b8]
mov dword [esi + 0x18], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004351af
leave
ret 4

Function at 0x408b24
Capabilities:
Get graphical window text

Disassembly:
push 0x274
mov eax, 0x44636b
call fcn.004372b5
lea eax, [ebp - 0x258]
mov edi, ecx
push 0x5087
push eax
mov dword [ebp - 0x264], edi
call fcn.00402c83
pop ecx
pop ecx
and dword [ebp - 4], 0
cmp dword [ebp - 0x240], 8
mov eax, dword [ebp - 0x254]
jae 0x408b67
lea eax, [ebp - 0x254]
mov esi, dword [0x448294]
push eax
push dword [edi + 4]
call esi
push 0x20a
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.00435420
add esp, 0xc
push 0x3ec
push dword [edi + 4]
call dword [0x448298]
test eax, eax
mov ebx, dword [0x448268]
mov dword [ebp - 0x25c], eax
je 0x408be2
push eax
call ebx
test eax, eax
je 0x408be2
push 0x104
lea eax, [ebp - 0x220]
push eax
push dword [ebp - 0x25c]
call dword [0x448290]
test eax, eax
je 0x408be2
and word [ebp - 0x18], 0
lea esi, [edi + 0x298]
lea eax, [ebp - 0x220]
call fcn.00401248
jmp 0x408c0b
push dword [ebp - 0x25c]
call ebx
test eax, eax
je 0x408c0b
lea eax, [edi + 0x298]
cmp dword [eax + 0x18], 8
jb 0x408bff
mov eax, dword [eax + 4]
jmp 0x408c02
add eax, 4
push eax
push dword [ebp - 0x25c]
call esi
add edi, 0x298
lea ecx, [ebp - 0x280]
mov dword [ebp - 0x25c], edi
call fcn.0042d3c0
push 0xffffffffffffffff
push edi
xor ebx, ebx
mov byte [ebp - 4], 1
call fcn.00401322
push ebx
push 1
lea esi, [ebp - 0x280]
mov byte [ebp - 4], bl
call fcn.004012b6
push 0x44a09c
mov eax, edi
call fcn.0040c1c0
mov edi, dword [ebp - 0x264]
cmp byte [edi + 0x90], bl
pop ecx
je 0x408d32
cmp dword [edi + 0x88], ebx
je 0x408d32
mov eax, dword [ebp - 0x25c]
lea esi, [edi + 0x74]
call fcn.0040bf70
test eax, eax
je 0x408d32
lea eax, [edi + 0x324]
lea esi, [ebp - 0x23c]
call fcn.00403d1d
mov ebx, esi
mov byte [ebp - 4], 2
call fcn.0040c2c0
push 0x25
push 0x3a
mov edi, esi
call fcn.0040c0f0
push 0x25
push 0x5c
call fcn.0040c0f0
mov edi, str.SoftwareHaoZip_SFX
add esp, 0x10
mov eax, edi
lea ecx, [ebp - 0x280]
call fcn.00401222
lea eax, [ebp - 0x280]
call fcn.0040162e
xor ebx, ebx
push ebx
push 1
lea esi, [ebp - 0x280]
mov byte [ebp - 0x25d], al
call fcn.004012b6
cmp byte [ebp - 0x25d], bl
je 0x408d22
mov eax, edi
lea ecx, [ebp - 0x280]
call fcn.00401222
mov ecx, dword [ebp - 0x25c]
lea edi, [ebp - 0x23c]
lea eax, [ebp - 0x280]
call fcn.0040175f
push ebx
push 1
lea esi, [ebp - 0x280]
call fcn.004012b6
push ebx
push 1
lea esi, [ebp - 0x23c]
call fcn.004012b6
xor ebx, ebx
push ebx
push 1
lea esi, [ebp - 0x258]
call fcn.004012b6
call fcn.00437338
ret
Function at 0x40e8e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x444d48
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
mov eax, dword [0x459210]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
xor ebx, ebx
mov eax, 0x44a4b4
lea esi, [esp + 0xc]
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], ebx
mov word [esp + 0x10], bx
call fcn.00401248
mov dword [esp + 0x30], ebx
cmp byte [edi], bl
je 0x40e955
lea esi, [edi + 4]
push esi
call fcn.0040d7d0
add esp, 4
push esi
call fcn.0040d4f0
add esp, 4
test al, al
setne al
cmp al, bl
mov byte [edi], al
jne 0x40e955
mov eax, esi
call fcn.00407cf3
lea eax, [edi + 4]
push eax
lea ecx, [esp + 0x10]
push ecx
call fcn.0040ba80
add esp, 8
cmp dword [esp + 0x24], 8
mov bl, al
mov byte [edi], bl
jb 0x40e97e
mov edx, dword [esp + 0x10]
push edx
call fcn.00435578
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x28
ret

Function at 0x40ef40
Capabilities:
Create thread

Disassembly:
push ebp
push edi
mov edi, eax
lea ebp, [edi + 0xc]
test ebp, ebp
je 0x40ef59
mov eax, dword [ebp]
test eax, eax
je 0x40ef59
push eax
call dword [0x4480ec]
mov eax, dword [edi + 8]
test eax, eax
jne 0x40ef77
test ebp, ebp
je 0x40ef72
mov ebp, dword [ebp]
test ebp, ebp
je 0x40ef72
push ebp
call dword [0x4480e8]
pop edi
xor al, al
pop ebp
ret
cmp dword [eax + 4], 0
je 0x40ef60
push esi
add eax, 0xc
push eax
push 4
push edi
push 0x40ebc0
push 0
push 0
call fcn.0043658f
mov ecx, dword [edi + 8]
mov dword [ecx + 0x10], eax
mov edx, dword [edi + 8]
add esp, 0x18
cmp dword [edx + 0x10], 0
jne 0x40efe4
mov eax, edx
or esi, 0xffffffff
mov dword [eax + 0x10], esi
mov edi, dword [edi + 8]
mov eax, dword [edi + 0x10]
cmp eax, esi
je 0x40efc1
push eax
call dword [0x448030]
mov dword [edi + 0x10], esi
test ebp, ebp
mov byte [edi + 8], 0
mov dword [edi + 0xc], 0
je 0x40efde
mov ebp, dword [ebp]
test ebp, ebp
je 0x40efde
push ebp
call dword [0x4480e8]
pop esi
pop edi
xor al, al
pop ebp
ret
mov ecx, edx
mov byte [ecx + 8], 1
mov edx, dword [edi + 8]
mov eax, dword [edx + 0x10]
push eax
call dword [0x4480b4]
cmp eax, 0xffffffff
jne 0x40f00b
mov esi, dword [edi + 8]
call fcn.0040edc0
mov ecx, dword [edi + 8]
mov byte [ecx + 8], 0
test ebp, ebp
je 0x40f01d
mov ebp, dword [ebp]
test ebp, ebp
je 0x40f01d
push ebp
call dword [0x4480e8]
pop esi
pop edi
mov al, 1
pop ebp
ret
Function at 0x410250
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ecx
xor edx, edx
mov eax, edx
and eax, 1
sub eax, 1
not eax
and eax, 0xedb88320
mov ecx, edx
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov dword [edx*4 + 0x461240], ecx
add edx, 1
cmp edx, 0x100
jb 0x410253
cmp edx, 0x800
jae 0x41033b
nop
mov eax, dword [edx*4 + 0x460e40]
mov ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x461240]
add edx, 1
cmp edx, 0x800
mov dword [edx*4 + 0x46123c], eax
jb 0x410310
mov dword [0x45da14], 0x4103a0
call fcn.00410570
test eax, eax
jne 0x410358
mov dword [0x45da14], 0x410450
pop ecx
ret
Function at 0x41f04b
Capabilities:
Hash data using crc32b

Disassembly:
xor ecx, ecx
mov eax, ecx
push 8
shl eax, 0x18
pop edx
test eax, eax
jns 0x41f062
add eax, eax
xor eax, 0x4c11db7
jmp 0x41f064
add eax, eax
dec edx
test edx, edx
jg 0x41f055
mov dword [ecx*4 + 0x45da18], eax
inc ecx
cmp ecx, 0x100
jb 0x41f04d
ret
Function at 0x42d2b6
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x398]
sub esp, 0x418
mov eax, dword [0x459210]
xor eax, ebp
mov dword [ebp + 0x394], eax
push esi
push edi
xor edi, edi
push 0x40e
lea eax, [ebp - 0x7a]
push edi
push eax
mov esi, ecx
mov word [ebp - 0x7c], di
call fcn.00435420
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
push dword [ebp + 0x3a0]
mov dword [ebp - 0x80], edi
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
je 0x42d309
xor al, al
jmp 0x42d342
lea eax, [ebp - 0x7c]
push eax
push dword [ebp - 0x80]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
jne 0x42d32a
cmp dword [ebp - 0x80], edi
je 0x42d305
push dword [ebp - 0x80]
call dword [0x4482b0]
jmp 0x42d305
lea eax, [ebp - 0x7c]
call fcn.00401248
cmp dword [ebp - 0x80], edi
je 0x42d340
push dword [ebp - 0x80]
call dword [0x4482b0]
mov al, 1
mov ecx, dword [ebp + 0x394]
pop edi
xor ecx, ebp
pop esi
call fcn.004351af
add ebp, 0x398
leave
ret

Function at 0x42d359
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push esi
push 0x38
xor esi, esi
lea eax, [ebp - 0x38]
push esi
push eax
call fcn.00435420
add esp, 0xc
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], esi
call dword [0x448230]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], str.regedit
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], 1
mov dword [ebp - 4], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
pop esi
je 0x42d3bc
push 0x20
pop eax
cmp eax, dword [ebp - 0x1c]
sbb eax, eax
neg eax
leave
ret
xor al, al
leave
ret
Function at 0x43247b
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x10]
mov edx, dword [edx]
sub esp, 0xc
xor eax, eax
and edx, 7
cmp ecx, 5
push edi
mov edi, dword [ebp + 8]
jb 0x4325c7
add dword [ebp + 0xc], 5
or dword [ebp - 4], 0xffffffff
lea ecx, [edi + ecx - 4]
push ebx
mov dword [ebp - 8], ecx
push esi
lea esi, [eax + edi]
jmp 0x4324b7
mov al, byte [esi]
and al, 0xfe
cmp al, 0xe8
je 0x4324bc
inc esi
cmp esi, dword [ebp - 8]
jb 0x4324ae
mov eax, esi
sub eax, edi
cmp esi, dword [ebp - 8]
jae 0x4325a8
mov ecx, eax
sub ecx, dword [ebp - 4]
cmp ecx, 3
jbe 0x43253b
xor edx, edx
mov cl, byte [esi + 4]
test cl, cl
mov dword [ebp - 4], eax
je 0x4324e8
cmp cl, 0xff
jne 0x43256a
xor ebx, ebx
mov bh, cl
movzx ecx, byte [esi + 2]
mov bl, byte [esi + 3]
shl ebx, 8
or ebx, ecx
movzx ecx, byte [esi + 1]
shl ebx, 8
or ebx, ecx
mov edi, ebx
sub edi, eax
sub edi, dword [ebp + 0xc]
test edx, edx
mov ebx, edi
mov dword [ebp - 0xc], ebx
je 0x43257b
movzx edi, byte [edx + 0x44b510]
push 0x18
shl edi, 3
pop ecx
sub ecx, edi
shr ebx, cl
test bl, bl
je 0x43252b
cmp bl, 0xff
jne 0x432578
push 0x20
pop ecx
sub ecx, edi
xor edi, edi
inc edi
shl edi, cl
dec edi
xor edi, dword [ebp - 0xc]
jmp 0x432503
dec ecx
shl edx, cl
and edx, 7
je 0x4324d5
movzx ecx, byte [edx + 0x44b510]
mov ebx, esi
sub ebx, ecx
cmp byte [edx + 0x44b508], 0
mov cl, byte [ebx + 4]
je 0x432567
test cl, cl
je 0x432567
cmp cl, 0xff
jne 0x4324d5
mov dword [ebp - 4], eax
and edx, 3
add edx, edx
or edx, 1
inc eax
jmp 0x4324a9
mov ebx, dword [ebp - 0xc]
mov edi, dword [ebp + 8]
mov ecx, ebx
shr ecx, 0x18
and cl, 1
dec cl
not cl
mov byte [esi + 4], cl
mov ecx, ebx
shr ecx, 0x10
mov byte [esi + 3], cl
mov ecx, ebx
shr ecx, 8
mov byte [esi + 2], cl
mov byte [esi + 1], bl
add eax, 5
jmp 0x4324a9
mov esi, eax
sub esi, dword [ebp - 4]
push 3
lea ecx, [esi - 1]
shl edx, cl
pop edi
and edx, 7
cmp edi, esi
sbb ecx, ecx
not ecx
and ecx, edx
mov edx, dword [ebp + 0x10]
pop esi
mov dword [edx], ecx
pop ebx
pop edi
leave
ret

Function at 0x43277e
Capabilities:
Hash data using sha256

Disassembly:
and dword [eax + 0x20], 0
and dword [eax + 0x24], 0
mov dword [eax], 0x6a09e667
mov dword [eax + 4], 0xbb67ae85
mov dword [eax + 8], 0x3c6ef372
mov dword [eax + 0xc], 0xa54ff53a
mov dword [eax + 0x10], 0x510e527f
mov dword [eax + 0x14], 0x9b05688c
mov dword [eax + 0x18], 0x1f83d9ab
mov dword [eax + 0x1c], 0x5be0cd19
ret
Function at 0x432c95
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
lea edi, [eax + 0x1c]
shr eax, 2
mov esi, eax
shr esi, 1
add esi, 3
mov dword [ecx], esi
add ecx, 0x10
xor esi, esi
test eax, eax
mov dword [ebp - 0xc], edi
mov dword [ebp + 8], eax
jbe 0x432ccc
mov ebx, dword [edx]
mov dword [ecx + esi*4], ebx
inc esi
add edx, 4
cmp esi, eax
jb 0x432cbf
cmp esi, edi
jae 0x432d9c
mov edx, esi
sub edx, eax
lea eax, [ecx + edx*4]
mov dword [ebp - 4], eax
xor edx, edx
mov eax, esi
div dword [ebp + 8]
mov ebx, dword [ecx + esi*4 - 4]
test edx, edx
mov dword [ebp - 8], eax
jne 0x432d3c
mov edi, 0xff
mov eax, ebx
and eax, edi
mov dh, byte [eax + str.cw]
mov eax, ebx
shr eax, 0x18
mov dl, byte [eax + str.cw]
mov eax, ebx
shr eax, 0x10
and eax, edi
movzx eax, byte [eax + str.cw]
mov edi, dword [ebp - 8]
movzx edi, byte [edi + 0x45a178]
shl edx, 8
or edx, eax
movzx eax, bh
movzx eax, byte [eax + str.cw]
shl edx, 8
xor eax, edi
or edx, eax
mov ebx, edx
jmp 0x432d84
cmp dword [ebp + 8], 6
jbe 0x432d84
cmp edx, 4
jne 0x432d84
mov eax, ebx
shr eax, 0x10
mov edi, 0xff
and eax, edi
movzx eax, byte [eax + str.cw]
mov edx, ebx
shr edx, 0x18
mov ah, byte [edx + str.cw]
movzx edx, bh
movzx edx, byte [edx + str.cw]
shl eax, 8
and ebx, edi
or eax, edx
movzx edx, byte [ebx + str.cw]
shl eax, 8
or eax, edx
mov ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
add dword [ebp - 4], 4
xor eax, ebx
mov dword [ecx + esi*4], eax
inc esi
cmp esi, dword [ebp - 0xc]
jb 0x432cde
pop edi
pop esi
pop ebx
leave
ret 4