joyce8/EMBER2024-capa huggingface dataset:
Function at 0x501168
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x501196
mov eax, ebx
call fcn.00501c1c
cmp dword [ebx + 0x40], 0
je 0x50118f
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x501207
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x5011f9
cmp dword [ebx + 8], 0
je 0x5011b8
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x5011ca
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x5011f9
cmp dword [ebx + 8], 0
je 0x5011ab
cmp eax, 3
je 0x5011dd
dec eax
jne 0x5011ab
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x5011ab
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x5011ab
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x501225
cmp dword [ebx + 0x14], 0xcc
je 0x501225
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00501230
pop ebx
ret

Function at 0x516044
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
and edx, edx
je 0x516062
and ecx, ecx
jle 0x516062
push ebx
xor al, byte [edx]
imul eax, eax, 0x8088405
inc eax
mov ebx, eax
shr ebx, 0x18
mov byte [edx], bl
inc edx
dec ecx
jne 0x51604d
pop ebx
ret

Function at 0x5160a8
Capabilities:
Encode data using xor

Disassembly:
and edx, edx
je 0x5160cd
and ecx, ecx
jle 0x5160cd
push ebx
push edi
xor ebx, ebx
lea edi, cs:[0x5160cf]
mov bl, byte [edx]
xor bl, al
shr ax, 8
xor ax, word [edi + ebx*2]
inc edx
dec ecx
jne 0x5160bb
pop edi
pop ebx
ret
Function at 0x519944
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x24]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x24]
mov edx, dword [edx + 0x28]
shr edx, 1
add eax, edx
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x24]
mov ecx, dword [eax + 0x28]
shr ecx, 1
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x24]
mov eax, dword [eax + 0x38]
call fcn.0040445c
add dword [ebp - 8], 0x10
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x24]
mov eax, dword [eax + 0x4c]
shl eax, 2
sub eax, 5
test eax, eax
jl 0x519a23
inc eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
shr eax, 8
and eax, 0xff
mov eax, dword [eax*4 + 0x5a3698]
mov edx, 8
call fcn.00515b0c
mov ebx, eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
and eax, 0xff
xor ebx, dword [eax*4 + 0x5a3698]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x5a3698]
mov edx, 0x10
call fcn.00515b0c
xor ebx, eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
shr eax, 0x18
mov eax, dword [eax*4 + 0x5a3698]
mov edx, 0x18
call fcn.00515b0c
xor ebx, eax
mov eax, dword [ebp - 8]
mov dword [eax], ebx
add dword [ebp - 8], 4
inc dword [ebp - 4]
dec dword [ebp - 0xc]
jne 0x5199a6
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x51dc0c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
push ebp
push ecx
mov esi, dword [ebx + 0x2c]
mov edi, dword [ebx + 0x3c]
sub edi, dword [ebx + 0x74]
sub edi, dword [ebx + 0x6c]
jmp 0x51dc39
mov eax, dword [ebx + 0x2c]
sub eax, 0x106
add eax, esi
cmp eax, dword [ebx + 0x6c]
ja 0x51dcb8
push esi
mov eax, dword [ebx + 0x38]
mov edx, eax
mov ebp, esi
add edx, ebp
push edx
push eax
call fcn.0051c6fc
add esp, 0xc
sub dword [ebx + 0x70], esi
sub dword [ebx + 0x6c], esi
sub dword [ebx + 0x5c], ebp
mov eax, dword [ebx + 0x4c]
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x44]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x51dc86
mov cx, word [esp]
sub cx, si
jmp 0x51dc88
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x51dc6f
mov eax, esi
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x40]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x51dcae
mov cx, word [esp]
sub cx, si
jmp 0x51dcb0
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x51dc97
add edi, esi
mov ebp, dword [ebx]
cmp dword [ebp + 4], 0
je 0x51dd15
mov edx, dword [ebx + 0x38]
mov ecx, edi
add edx, dword [ebx + 0x6c]
mov eax, ebp
add edx, dword [ebx + 0x74]
call fcn.0051d8d8
add dword [ebx + 0x74], eax
cmp dword [ebx + 0x74], 3
jb 0x51dd00
mov eax, dword [ebx + 0x38]
mov edx, dword [ebx + 0x6c]
movzx eax, byte [eax + edx]
mov dword [ebx + 0x48], eax
mov ecx, dword [ebx + 0x58]
shl eax, cl
mov edx, dword [ebx + 0x38]
mov ecx, dword [ebx + 0x6c]
movzx edx, byte [edx + ecx + 1]
xor eax, edx
and eax, dword [ebx + 0x54]
mov dword [ebx + 0x48], eax
cmp dword [ebx + 0x74], 0x106
jae 0x51dd15
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x51dc16
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x523a28
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x158
call fcn.004048c8
cmp dword [ebp - 4], 0
je 0x523adc
mov eax, dword [ebp - 4]
mov dword [ebx + 0x154], eax
movzx eax, word [ebp + 8]
mov edx, dword [ebp - 4]
movzx edx, word [edx + 8]
mov word [ebp - 6], dx
cmp ax, word [ebp - 6]
jbe 0x523a98
movzx eax, ax
push eax
lea edx, [ebp - 0x46]
mov ecx, esi
mov eax, dword [ebp - 4]
call fcn.0052397c
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0xa]
movzx ecx, ax
lea edx, [ebx + 0xd4]
lea eax, [ebp - 0x46]
call fcn.0040445c
jmp 0x523aa8
movzx ecx, ax
lea edx, [ebx + 0xd4]
mov eax, esi
call fcn.0040445c
movzx edx, word [ebp - 6]
dec edx
test dx, dx
jb 0x523ac2
inc edx
lea eax, [ebx + 0xd4]
xor byte [eax], 0x36
inc eax
dec dx
jne 0x523ab9
mov eax, ebx
mov esi, dword [ebp - 4]
call dword [esi + 0xc]
movzx ecx, word [ebp - 6]
lea edx, [ebx + 0xd4]
mov eax, ebx
mov ebx, dword [ebp - 4]
call dword [ebx + 0x14]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x523af4
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov dword [esp], edx
mov ebx, eax
mov eax, dword [ebx + 0x154]
test eax, eax
je 0x523b76
movzx edx, word [eax + 8]
mov word [esp + 4], dx
mov esi, eax
mov edx, dword [esp]
mov eax, ebx
call dword [esi + 0x10]
movzx edx, word [esp + 4]
dec edx
test edx, edx
jl 0x523b33
inc edx
lea eax, [ebx + 0xd4]
xor byte [eax], 0x6a
inc eax
dec edx
jne 0x523b2c
mov esi, dword [ebx + 0x154]
mov eax, ebx
call dword [esi + 0xc]
mov esi, dword [ebx + 0x154]
movzx ecx, word [esp + 4]
lea edx, [ebx + 0xd4]
mov eax, ebx
call dword [esi + 0x14]
mov eax, dword [ebx + 0x154]
mov esi, eax
movzx ecx, word [eax + 0xa]
mov edx, dword [esp]
mov eax, ebx
call dword [esi + 0x14]
mov esi, dword [ebx + 0x154]
mov edx, dword [esp]
mov eax, ebx
call dword [esi + 0x10]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x523ba8
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, eax
mov ecx, 0x10
mov eax, dword [edx]
xchg ah, al
rol eax, 0x10
xchg ah, al
mov dword [ebx], eax
add ebx, 4
add edx, 4
dec ecx
jne 0x523bb0
mov ecx, 0x40
mov eax, dword [ebx - 0xc]
xor eax, dword [ebx - 0x20]
xor eax, dword [ebx - 0x38]
xor eax, dword [ebx - 0x40]
rol eax, 1
mov dword [ebx], eax
add ebx, 4
dec ecx
jne 0x523bc9
pop ebx
ret
Function at 0x524338
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
mov word [ebp - 0xa], cx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x52435e
mov dword [ebp - 0x10], 1
jmp 0x5244ae
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0xa]
test ax, ax
jne 0x524376
mov dword [ebp - 0x10], 2
jmp 0x5244ae
xor edx, edx
mov dword [ebp - 0x10], edx
mov word [ebp - 0x14], ax
mov word [ebp - 0x12], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 4
call fcn.004048c8
movzx eax, word [ebp + 8]
dec eax
movzx edx, word [ebp - 0x14]
mov ecx, edx
cdq
idiv ecx
inc eax
test ax, ax
jbe 0x5244ae
mov word [ebp - 0x22], ax
lea eax, [ebp - 0x20]
call fcn.00524324
lea eax, [ebp - 0xa8]
xor ecx, ecx
mov edx, 0x40
call fcn.004048c8
mov eax, dword [ebp + 0x10]
test eax, eax
jle 0x524474
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x18], 1
movzx eax, word [ebp - 0xa]
push eax
lea eax, [ebp - 0x200]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00523a28
cmp dword [ebp - 0x18], 1
jne 0x524428
movzx ecx, word [ebp + 0x14]
lea eax, [ebp - 0x200]
mov edx, dword [ebp + 0x18]
call fcn.00523ae4
lea edx, [ebp - 0x20]
lea eax, [ebp - 0x200]
mov ecx, 4
call fcn.00523ae4
jmp 0x52443a
movzx ecx, word [ebp - 0x14]
lea edx, [ebp - 0x68]
lea eax, [ebp - 0x200]
call fcn.00523ae4
lea edx, [ebp - 0x68]
lea eax, [ebp - 0x200]
call fcn.00523af4
movzx ecx, word [ebp - 0x14]
dec ecx
test cx, cx
jb 0x524468
inc ecx
lea eax, [ebp - 0x68]
lea edx, [ebp - 0xa8]
movzx ebx, byte [eax]
xor byte [edx], bl
inc edx
inc eax
dec cx
jne 0x52445c
inc dword [ebp - 0x18]
dec dword [ebp - 0x28]
jne 0x5243e5
movzx ecx, word [ebp - 0x14]
dec ecx
test cx, cx
jb 0x5244a4
inc ecx
lea eax, [ebp - 0xa8]
movzx edx, word [ebp - 0x12]
cmp dx, word [ebp + 8]
jae 0x52449e
movzx edx, byte [eax]
mov ebx, dword [ebp - 0x1c]
mov byte [ebx], dl
inc word [ebp - 0x12]
inc dword [ebp - 0x1c]
inc eax
dec cx
jne 0x524485
dec word [ebp - 0x22]
jne 0x5243b6
mov eax, dword [ebp - 0x10]
pop ebx
mov esp, ebp
pop ebp
ret 0x14

Function at 0x524b30
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
mov ecx, 8
mov edx, 0x3020100
mov dword [eax], edx
add edx, 0x4040404
mov dword [eax + 4], edx
add edx, 0x4040404
mov dword [eax + 8], edx
add edx, 0x4040404
mov dword [eax + 0xc], edx
add edx, 0x4040404
mov dword [eax + 0x10], edx
add edx, 0x4040404
mov dword [eax + 0x14], edx
add edx, 0x4040404
mov dword [eax + 0x18], edx
add edx, 0x4040404
mov dword [eax + 0x1c], edx
add edx, 0x4040404
add eax, 0x20
dec ecx
jne 0x524b3a
ret

Function at 0x52bb60
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_CopyFileW
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x52c900
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x52c964
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00414db4
mov eax, dword [ebp - 4]
call fcn.0052c850
test al, al
je 0x52c939
mov byte [ebp - 5], 1
jmp 0x52c94e
mov eax, dword [ebp - 0xc]
call fcn.00406e14
push eax
call sub.kernel32.dll_GetDriveTypeW
cmp eax, 2
sete byte [ebp - 5]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52c96b
lea eax, [ebp - 0xc]
call fcn.00406d78
ret

Function at 0x52cc5c
Capabilities:
Encode data using xor

Disassembly:
and edx, edx
je 0x52cc7f
and ecx, ecx
jle 0x52cc7f
push ebx
push edi
xor ebx, ebx
lea edi, cs:[0x52cc85]
mov bl, al
shr eax, 8
xor bl, byte [edx]
xor eax, dword [edi + ebx*4]
inc edx
dec ecx
jne 0x52cc6f
pop edi
pop ebx
ret

Function at 0x52d260
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
dec eax
test eax, eax
jl 0x52d2bd
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
add eax, dword [ebp - 0x18]
mov al, byte [eax]
mov byte [ebp - 0x12], al
mov eax, dword [ebp - 0x10]
call fcn.0052d1b0
xor al, byte [ebp - 0x12]
mov byte [ebp - 0x11], al
mov edx, dword [ebp - 0x10]
mov al, byte [ebp - 0x11]
call fcn.0052d118
mov eax, dword [ebp - 8]
mov eax, dword [eax]
add eax, dword [ebp - 0x18]
mov dl, byte [ebp - 0x11]
mov byte [eax], dl
inc dword [ebp - 0x18]
dec dword [ebp - 0x1c]
jne 0x52d282
mov esp, ebp
pop ebp
ret
Function at 0x52d318
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406710
xor eax, eax
push ebp
push 0x52d3fa
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov dword [eax], 0x12345678
mov dword [eax + 4], 0
mov eax, dword [ebp - 8]
mov dword [eax + 8], 0x23456789
mov dword [eax + 0xc], 0
mov eax, dword [ebp - 8]
mov dword [eax + 0x10], 0x34567890
mov dword [eax + 0x14], 0
lea eax, [ebp - 4]
xor edx, edx
call fcn.00406428
call fcn.004065a0
dec eax
test eax, eax
jl 0x52d3ab
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 4]
call fcn.00406720
add eax, dword [ebp - 0x14]
mov al, byte [eax]
mov edx, dword [ebp - 8]
call fcn.0052d118
inc dword [ebp - 0x14]
dec dword [ebp - 0x1c]
jne 0x52d38e
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
call fcn.0052d1b0
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
xor al, byte [edx + ecx]
mov byte [ebp - 0x15], al
mov edx, dword [ebp - 8]
mov al, byte [ebp - 0x15]
call fcn.0052d118
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov cl, byte [ebp - 0x15]
mov byte [eax + edx], cl
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0xc
jne 0x52d3b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52d401
lea eax, [ebp - 4]
call fcn.004061fc
ret
Function at 0x53a708
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbd8
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x21e]
mov edx, 0x53a794
call fcn.004156e4
mov eax, dword [ebp - 4]
cmp dword [eax + 0x50], 0
je 0x53a743
lea eax, [ebp - 0x208]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x50]
call fcn.004156e4
jmp 0x53a754
lea eax, [ebp - 0x208]
push eax
push 0xff
call sub.kernel32.dll_GetTempPathW
lea eax, [ebp - 0x428]
push eax
push 0
lea eax, [ebp - 0x21e]
push eax
lea eax, [ebp - 0x208]
push eax
call sub.kernel32.dll_GetTempFileNameW
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x428]
mov ecx, 0x105
call fcn.00406f88
mov esp, ebp
pop ebp
ret

Function at 0x544f7c
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x10], ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0xc]
mov edx, dword [0x40d0c8]
call fcn.00407a94
xor eax, eax
push ebp
push 0x5450c6
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x5a789c], 0
jne 0x544fd0
mov ecx, dword [0x5a7b34]
mov dl, 1
mov eax, dword [0x40e98c]
call fcn.004198c0
call fcn.00405a34
lea eax, [ebp - 0x24]
xor ecx, ecx
mov edx, 0x10
call fcn.004048c8
mov eax, ebx
call fcn.00406ae8
mov dword [ebp - 0x20], eax
push esi
mov esi, 0x5450d4
lea edi, [ebp - 0x34]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
lea eax, [ebp - 0x34]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
call fcn.00409e0c
xor eax, eax
mov dword [ebp - 4], eax
mov eax, ebx
test eax, eax
je 0x545017
sub eax, 4
mov eax, dword [eax]
shr eax, 1
test eax, eax
jle 0x54506c
mov dword [ebp - 0x14], 0x20
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x54]
push eax
call sub.kernel32.dll_GetComputerNameW
test eax, eax
je 0x545065
lea eax, [ebp - 0x58]
mov edx, ebx
call fcn.00406ff0
mov eax, dword [ebp - 0x58]
push eax
lea eax, [ebp - 0x5c]
lea edx, [ebp - 0x54]
mov ecx, 0x10
call fcn.00406f88
mov eax, dword [ebp - 0x5c]
pop edx
call fcn.00413638
test eax, eax
jne 0x545065
mov ebx, 0x15
jmp 0x545071
mov ebx, 0x10
jmp 0x545071
mov ebx, 0x15
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x24]
push eax
push ebx
push 0
push esi
call dword [0x5a789c]
call fcn.00544de8
mov eax, dword [ebp - 4]
call fcn.00544de8
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
call fcn.00409e24
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5450cd
lea eax, [ebp - 0x5c]
mov edx, 2
call fcn.00406d80
lea eax, [ebp - 0xc]
mov edx, dword [0x40d0c8]
call fcn.00407b6c
ret
Function at 0x549394
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x549405
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
mov eax, dword [0x5a78cc]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
cmp dword [ebp - 4], 0
je 0x5493ef
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 8]
call fcn.0054937c
mov eax, dword [ebp - 8]
push eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x5461a4]
call fcn.0054a31c
mov dword [0x5a7934], eax
mov eax, dword [ebp - 4]
call fcn.00549204
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x54940c
lea eax, [ebp - 8]
call fcn.00409e0c
ret

Function at 0x5494a4
Capabilities:
Get file system object information

Disassembly:
push esi
add esp, 0xfffffd4c
mov esi, 0x4008
test cl, cl
je 0x5494b7
or esi, 2
test dl, dl
je 0x5494c0
or esi, 0
jmp 0x5494c3
or esi, 1
push esi
push 0x2b4
lea edx, [esp + 8]
push edx
push 0
push eax
call sub.shell32.dll_SHGetFileInfoW
mov eax, dword [esp + 4]
add esp, 0x2b4
pop esi
ret
Function at 0x54a148
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 8], ebx
mov ebx, ecx
mov dword [ebp - 4], edx
mov edi, eax
mov eax, dword [ebp - 4]
call fcn.00406d70
xor eax, eax
push ebp
push 0x54a2fc
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, 1
mov edx, dword [ebx]
mov eax, dword [0x545ddc]
call fcn.004290ac
test eax, eax
jl 0x54a1b2
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebx]
call fcn.00549488
and eax, 0x7f
mov eax, dword [eax*4 + 0x5a78cc]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
mov esi, eax
jmp 0x54a26e
mov eax, dword [ebx]
test eax, eax
je 0x54a1cc
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x54a1cc
mov edx, dword [ebx]
mov eax, ebx
call fcn.004063e8
test eax, eax
je 0x54a1d5
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x54a26e
mov eax, dword [ebx]
test eax, eax
je 0x54a1f7
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x54a1f7
mov edx, dword [ebx]
mov eax, ebx
call fcn.004063e8
test eax, eax
je 0x54a200
sub eax, 4
mov eax, dword [eax]
mov edx, dword [ebx]
cmp word [edx + eax*2 - 2], 0x3a
jne 0x54a216
mov eax, ebx
mov edx, 0x54a318
call fcn.0040719c
mov eax, dword [ebx]
test eax, eax
je 0x54a230
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x54a230
mov edx, dword [ebx]
mov eax, ebx
call fcn.004063e8
test eax, eax
je 0x54a239
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebx]
call fcn.00408268
mov esi, eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push 0
push 0
lea eax, [ebp - 0x18]
call fcn.0054937c
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
mov esi, eax
test esi, esi
je 0x54a2b9
lea eax, [ebp - 8]
push eax
lea edx, [ebp - 0x1c]
mov eax, dword [0x5a7b6c]
call fcn.0040a488
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebx]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0x11
lea edx, [ebp - 0x24]
xor ecx, ecx
pop eax
call fcn.00415b1c
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00406d88
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x40e98c]
call fcn.0041978c
call fcn.00405a34
mov eax, dword [ebp - 0xc]
call fcn.0054a0c0
mov ebx, eax
test edi, edi
je 0x54a2ce
mov eax, edi
call fcn.00404f5c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x54a303
lea eax, [ebp - 0x1c]
call fcn.00406d78
lea eax, [ebp - 0x18]
call fcn.00409e0c
lea eax, [ebp - 8]
call fcn.00406d78
lea eax, [ebp - 4]
call fcn.00406d78
ret

Function at 0x54af00
Capabilities:
Create process on windows

Disassembly:
push ebx
add esp, 0xffffffc4
mov ebx, eax
mov eax, esp
xor ecx, ecx
mov edx, 0x3c
call fcn.004048c8
mov dword [esp], 0x3c
mov eax, dword [0x5a7f54]
mov eax, dword [eax]
mov eax, dword [eax + 0x170]
mov dword [esp + 8], eax
mov dword [esp + 4], 0xc
mov eax, dword [ebx + 8]
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], 5
push esp
call sub.shell32.dll_ShellExecuteExW
add esp, 0x3c
pop ebx
ret
Function at 0x5536d4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor ebx, ebx
mov dword [ebp - 4], ebx
test dl, dl
je 0x5536ec
add esp, 0xfffffff0
call fcn.00405490
mov byte [ebp - 9], dl
mov dword [ebp - 8], eax
mov ebx, dword [ebp + 0xc]
xor eax, eax
push ebp
push 0x553806
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 8]
mov dword [eax + 8], ebx
mov eax, ebx
add eax, eax
add eax, eax
add eax, eax
call fcn.00404254
mov edx, dword [ebp - 8]
mov dword [edx + 0xc], eax
dec ebx
test ebx, ebx
jl 0x5537f0
inc ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x18]
call fcn.00544de8
xor eax, eax
push ebp
push 0x5537dd
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x30]
call fcn.00544de8
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x10]
lea ebx, [eax + edx*8]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
mov dword [ebx], eax
lea eax, [ebx + 4]
mov edx, dword [ebp - 4]
call fcn.00406ff0
jmp 0x5537ae
lea eax, [ebx + 4]
mov ecx, 1
mov edx, 1
call fcn.00407598
mov eax, dword [ebx + 4]
call fcn.004070f8
dec eax
jle 0x5537c2
mov eax, dword [ebx + 4]
cmp word [eax], 0x5f
je 0x55379c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5537e4
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x54]
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x55380d
lea eax, [ebp - 4]
call fcn.0040691c
ret