joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a1cb0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x4a1d14
push dword fs:[edx]
mov dword fs:[edx], esp
push 6
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00405974
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_GetACP
mov edx, eax
pop eax
call fcn.0040c45c
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a1d1b
lea eax, [ebp - 0xc]
call fcn.00405704
ret

Function at 0x4a1d78
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffec
mov esi, edx
lea edi, [esp + 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, dword [esp + 8]
test ebx, ebx
je 0x4a1dd4
push esp
push 0x40
push 6
push ebx
call sub.KERNEL32.DLL_VirtualProtect
test eax, eax
jne 0x4a1da3
call fcn.004118f4
mov edx, dword [esp + 8]
lea eax, [esp + 0xc]
mov ecx, 6
call fcn.004035d8
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 4]
push eax
push 6
mov eax, dword [esp + 0x14]
push eax
call sub.KERNEL32.DLL_VirtualProtect
test eax, eax
jne 0x4a1dd4
call fcn.004118f4
add esp, 0x14
pop edi
pop esi
pop ebx
ret

Function at 0x4a90bc
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, dword [0x50c644]
cmp byte [eax], 0
jne 0x4a90ea
mov ecx, 0xaf
mov edx, 0x4a9138
mov eax, 0x4a9184
call fcn.00405634
mov eax, ebx
call fcn.00405e2c
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyW
shl eax, 0x10
test eax, eax
je 0x4a9129
push 0x200
lea edx, [ebp - 0x202]
push edx
push eax
call sub.user32.dll_GetKeyNameTextW
mov eax, ebx
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.00405fc0
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4a9198
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
mov eax, dword [0x50c644]
cmp byte [eax], 0
jne 0x4a91bb
mov ecx, 0xbd
mov edx, 0x4a91fc
mov eax, 0x4a9248
call fcn.00405634
push 2
movzx eax, bx
push eax
call sub.user32.dll_MapVirtualKeyW
mov edi, eax
mov eax, ebx
add eax, 0xffffffd0
sub ax, 0xa
jae 0x4a91ee
mov esi, ebx
sub si, 0x30
add si, 0x30
cmp si, di
je 0x4a91ee
push esi
call sub.user32.dll_VkKeyScanW
cmp al, bl
jne 0x4a91ee
mov edi, esi
mov eax, edi
pop edi
pop esi
pop ebx
ret
Function at 0x4b1164
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov esi, dword [ebp + 0xc]
xor eax, eax
push ebp
push 0x4b12e8
push dword fs:[eax]
mov dword fs:[eax], esp
mov al, byte [ebx + 0x2be]
sub al, 2
jb 0x4b12cd
cmp byte [ebx + 0x2b0], 0
je 0x4b12cd
mov eax, dword [ebp - 4]
call fcn.004ab560
mov word [ebp - 6], ax
xor eax, eax
push ebp
push 0x4b12c6
push dword fs:[eax]
mov dword fs:[eax], esp
mov ax, word [ebp - 6]
sub ax, 8
je 0x4b120a
dec ax
je 0x4b11e0
sub ax, 0x12
jne 0x4b1224
call fcn.004050fc
jmp 0x4b12cd
cmp byte [ebx + 0x2b1], 0
je 0x4b12ac
mov eax, ebx
call fcn.00441a0c
test al, al
je 0x4b12ac
xor edx, edx
mov eax, ebx
call fcn.00441a30
jmp 0x4b12ac
mov eax, dword [esi]
call fcn.00406068
mov edx, eax
mov eax, esi
mov ecx, 1
call fcn.00406254
jmp 0x4b12ac
cmp byte [ebx + 0x2b1], 0
je 0x4b1241
mov eax, ebx
call fcn.00441a0c
test al, al
jne 0x4b1241
mov dl, 1
mov eax, ebx
call fcn.00441a30
call sub.KERNEL32.DLL_GetTickCount
mov edx, dword [ebp + 8]
sub eax, dword [edx]
cmp eax, 0x4e2
jb 0x4b1259
mov eax, esi
call fcn.00405e2c
call sub.KERNEL32.DLL_GetTickCount
mov edx, dword [ebp + 8]
mov dword [edx], eax
push 0
push 1
lea eax, [ebp - 0x10]
mov dx, word [ebp - 6]
call fcn.00405f44
mov ecx, dword [ebp - 0x10]
mov edx, dword [esi]
lea eax, [ebp - 0xc]
call fcn.004060d4
mov ecx, dword [ebp - 0xc]
mov edx, edi
mov eax, ebx
call fcn.004b0f94
test al, al
je 0x4b12ac
lea eax, [ebp - 0x14]
mov dx, word [ebp - 6]
call fcn.00405f44
mov edx, dword [ebp - 0x14]
mov eax, esi
call fcn.00406074
mov word [ebp - 6], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b12cd
mov eax, dword [ebp - 4]
mov dx, word [ebp - 6]
call fcn.004ab594
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b12ef
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00405e44
ret
Function at 0x4b477c
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 0x4b47ab
mov eax, dword [ebx + 0x2c]
sub eax, 0x106
add eax, esi
cmp eax, dword [ebx + 0x6c]
ja 0x4b482a
push esi
mov eax, dword [ebx + 0x38]
mov edx, eax
mov ebp, esi
add edx, ebp
push edx
push eax
call fcn.004b27b0
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 0x4b47f8
mov cx, word [esp]
sub cx, si
jmp 0x4b47fa
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x4b47e1
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 0x4b4820
mov cx, word [esp]
sub cx, si
jmp 0x4b4822
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x4b4809
add edi, esi
mov ebp, dword [ebx]
cmp dword [ebp + 4], 0
je 0x4b490b
mov edx, dword [ebx + 0x38]
mov ecx, edi
add edx, dword [ebx + 0x6c]
mov eax, ebp
add edx, dword [ebx + 0x74]
call fcn.004b44f0
add dword [ebx + 0x74], eax
cmp dword [ebx + 0x74], 3
jb 0x4b4876
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
mov eax, dword [ebx + 0x74]
cmp eax, 0x106
jae 0x4b488c
mov edx, dword [ebx]
cmp dword [edx + 4], 0
jne 0x4b4786
mov ecx, dword [ebx + 0x3c]
mov edx, dword [ebx + 0x16c0]
cmp ecx, edx
jbe 0x4b490b
mov esi, dword [ebx + 0x6c]
add esi, eax
cmp esi, edx
jbe 0x4b48ce
mov edi, ecx
sub edi, esi
cmp edi, 0x102
jbe 0x4b48b3
mov edi, 0x102
push edi
push 0
mov eax, dword [ebx + 0x38]
add eax, esi
push eax
call fcn.004b2798
add esp, 0xc
add edi, esi
mov dword [ebx + 0x16c0], edi
jmp 0x4b490b
lea edx, [esi + 0x102]
mov eax, dword [ebx + 0x16c0]
cmp edx, eax
jbe 0x4b490b
mov edi, edx
mov edx, dword [ebx + 0x3c]
sub edx, eax
sub edi, eax
cmp edi, edx
jbe 0x4b48f4
mov edi, dword [ebx + 0x3c]
sub edi, dword [ebx + 0x16c0]
push edi
push 0
mov edx, dword [ebx + 0x38]
add edx, eax
push edx
call fcn.004b2798
add esp, 0xc
add dword [ebx + 0x16c0], edi
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4bab08
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x512bc8
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x4bab2a
shr eax, 1
xor eax, 0xedb88320
jmp 0x4bab2c
shr eax, 1
dec edx
jne 0x4bab18
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x4bab11
mov byte [0x512fc8], 1
pop esi
pop ebx
ret
Function at 0x4bab48
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x512fc8], 0
jne 0x4bab5f
call fcn.004bab08
mov eax, edi
dec eax
test eax, eax
jl 0x4bab88
inc eax
xor edx, edx
xor ecx, ecx
mov cl, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x512bc8]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x4bab69
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x4bd6a4
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov al, byte [eax]
dec al
je 0x4bd6d5
dec al
je 0x4bd711
dec al
je 0x4bd755
dec al
je 0x4bd7c0
jmp 0x4bd84a
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x4bd84a
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
mov dl, byte [ecx + edx]
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x4bd6e5
jmp 0x4bd84a
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4bd84a
mov esi, 1
mov al, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov dl, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x4bd721
jmp 0x4bd84a
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4bd84a
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x4bd783
xor ebp, ebp
jmp 0x4bd794
mov ecx, esi
sub ecx, edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x4bd79d
adc eax, 0
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x4bd765
jmp 0x4bd84a
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4bd84a
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x4bd818
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
mov dl, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
mov cl, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.004bab90
add al, byte [esp]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x4bd7d4
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4c2874
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.KERNEL32.DLL_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x4c28c5
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x4c28ac
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x4c289c
jmp 0x4c28c5
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x4c28ad
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4d3388
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4d33b6
mov eax, ebx
call fcn.004d3e3c
cmp dword [ebx + 0x40], 0
je 0x4d33af
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4d3427
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4d3419
cmp dword [ebx + 8], 0
je 0x4d33d8
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 0x4d33ea
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4d3419
cmp dword [ebx + 8], 0
je 0x4d33cb
cmp eax, 3
je 0x4d33fd
dec eax
jne 0x4d33cb
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 0x4d33cb
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4d33cb
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4d3445
cmp dword [ebx + 0x14], 0xcc
je 0x4d3445
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.004d3450
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
mov edi, eax
or ebx, 0xffffffff
mov eax, edi
call fcn.004059e0
dec eax
test eax, eax
jl 0x4e9b50
inc eax
xor esi, esi
mov dl, byte [edi + esi]
xor dl, bl
and edx, 0xff
mov edx, dword [edx*4 + 0x50c0c8]
shr ebx, 8
xor edx, ebx
mov ebx, edx
inc esi
dec eax
jne 0x4e9b33
xor ebx, 0xffffffff
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x4e9cdc
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffefc
mov esi, edx
lea edi, [esp + 0xc]
push ecx
mov ecx, 0x3e
rep movsd dword es:[edi], dword [esi]
pop ecx
mov esi, ecx
mov dword [esp], eax
lea ebp, [esp + 8]
mov eax, dword [esi]
push eax
call fcn.004e9c74
mov dword [ebp], eax
mov eax, dword [esi]
movzx ebx, word [eax + 6]
dec ebx
test ebx, ebx
jl 0x4e9dda
inc ebx
mov eax, dword [ebp]
cmp dword [eax + 0x10], 0
jne 0x4e9d70
mov edi, dword [esp + 0x44]
test edi, edi
jle 0x4e9d63
push 0x40
push 0x1000
push edi
mov eax, dword [ebp]
mov eax, dword [eax + 0xc]
xor edx, edx
push edx
push eax
mov eax, dword [esi + 4]
call fcn.004e9bc4
push eax
call sub.KERNEL32.DLL_VirtualAlloc
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
mov edx, dword [ebp]
mov dword [edx + 8], eax
mov edx, edi
mov eax, dword [esp + 4]
call fcn.00408c10
push 0
push 0x28
mov eax, ebp
call fcn.004e9b94
jmp 0x4e9dd3
push 0x40
push 0x1000
mov eax, dword [ebp]
mov eax, dword [eax + 0x10]
push eax
mov eax, dword [ebp]
mov eax, dword [eax + 0xc]
xor edx, edx
push edx
push eax
mov eax, dword [esi + 4]
call fcn.004e9bc4
push eax
call sub.KERNEL32.DLL_VirtualAlloc
mov dword [esp + 4], eax
mov eax, dword [ebp]
mov eax, dword [eax + 0x14]
xor edx, edx
push edx
push eax
mov eax, dword [esp + 8]
call fcn.004e9bc4
mov edx, eax
mov eax, dword [ebp]
mov ecx, dword [eax + 0x10]
mov eax, dword [esp + 4]
call fcn.00408c08
mov eax, dword [esp + 4]
mov edx, dword [ebp]
mov dword [edx + 8], eax
push 0
push 0x28
mov eax, ebp
call fcn.004e9b94
dec ebx
jne 0x4e9d19
add esp, 0x104
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4ea1e0
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
test eax, 0x4000000
je 0x4ea1f5
or edx, 0x200
test eax, 0x20000000
je 0x4ea228
test eax, 0x40000000
je 0x4ea214
test eax, 0x80000000
je 0x4ea20f
or edx, 0x40
jmp 0x4ea24f
or edx, 0x20
jmp 0x4ea24f
test eax, 0x80000000
je 0x4ea223
or edx, 0x80
jmp 0x4ea24f
or edx, 0x10
jmp 0x4ea24f
test eax, 0x40000000
je 0x4ea240
test eax, 0x80000000
je 0x4ea23b
or edx, 4
jmp 0x4ea24f
or edx, 2
jmp 0x4ea24f
test eax, 0x80000000
je 0x4ea24c
or edx, 8
jmp 0x4ea24f
or edx, 1
mov eax, edx
pop ebp
ret 4
Function at 0x4eff30
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4effc3
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
call sub.shell32.dll_SHGetMalloc
test eax, eax
je 0x4eff65
mov eax, esi
call fcn.00405704
jmp 0x4effad
lea eax, [ebp - 8]
push eax
push ebx
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
call fcn.0041f730
test al, al
je 0x4effad
mov eax, 0x104
call fcn.0040330c
mov ebx, eax
push ebx
mov eax, dword [ebp - 8]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
mov eax, esi
mov edx, ebx
call fcn.004058fc
mov eax, ebx
call fcn.00403328
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x14]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4effca
lea eax, [ebp - 4]
call fcn.004074f4
ret
Function at 0x4f25ec
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x4f26d8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [esi]
call fcn.004059e0
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
call fcn.004059e0
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 8]
jg 0x4f26c2
mov edi, dword [ebp - 0xc]
test edi, edi
jle 0x4f264d
mov ebx, 1
mov eax, dword [esi]
mov al, byte [eax + ebx - 1]
mov edx, dword [ebp - 4]
cmp al, byte [edx + ebx - 1]
jne 0x4f26c2
inc ebx
dec edi
jne 0x4f263a
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov edx, 1
call fcn.00405c80
mov eax, dword [ebp - 0xc]
sub dword [ebp - 8], eax
mov ebx, 0x777
cmp ebx, dword [ebp - 8]
jge 0x4f269b
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esi]
mov ecx, 7
mov edx, ebx
call fcn.00405c40
mov eax, esi
mov ecx, 7
mov edx, ebx
call fcn.00405c80
sub dword [ebp - 8], 7
add ebx, 0x777
cmp ebx, dword [ebp - 8]
jl 0x4f266c
mov edi, dword [ebp - 8]
test edi, edi
jle 0x4f26c2
mov ebx, 1
mov eax, esi
call fcn.00405c38
mov edx, dword [esi]
movzx edx, byte [edx + ebx - 1]
xor edx, ebx
xor edx, dword [ebp - 8]
mov byte [eax + ebx - 1], dl
inc ebx
dec edi
jne 0x4f26a7
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f26df
lea eax, [ebp - 0x10]
call fcn.00405704
ret
Function at 0x30030e08
Capabilities:
Terminate process

Disassembly:
push 0x10
push 0x30034158
call fcn.3003107e
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov dword [ebp - 0x1c], ebx
mov edi, 0x3006bf28
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, ebx
je 0x30030bf8
cmp eax, esi
jne 0x30030beb
xor esi, esi
inc esi
mov dword [ebp - 0x1c], esi
jmp 0x30030bfb
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x30030bd2
xor esi, esi
inc esi
mov eax, dword [0x3006bf24]
cmp eax, esi
jne 0x30030c0e
push 0x1f
call fcn.301a8000
pop ecx
jmp 0x30030c49
mov eax, dword [0x3006bf24]
test eax, eax
jne 0x30030c43
mov dword [0x3006bf24], esi
push 0x30001378
push 0x3000136c
call sub.MSVCR80.dll__initterm_e
pop ecx
pop ecx
test eax, eax
je 0x30030c49
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x30030d20
mov dword [0x3006bbd0], esi
mov eax, dword [0x3006bf24]
cmp eax, esi
jne 0x30030c6d
push 0x30001368
push 0x30001350
call sub.MSVCR80.dll__initterm
pop ecx
pop ecx
mov dword [0x3006bf24], 2
cmp dword [ebp - 0x1c], ebx
jne 0x30030c7a
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x3006bf34], ebx
je 0x30030c9b
push 0x3006bf34
call fcn.3003143c
pop ecx
test eax, eax
je 0x30030c9b
push ebx
push 2
push ebx
call dword [0x3006bf34]
mov eax, dword [0x3006bbb8]
mov ecx, dword [sym.imp.MSVCR80.dll___winitenv]
mov dword [ecx], eax
push dword [0x3006bbb8]
push dword [0x3006bbbc]
push dword [0x3006bbb4]
call fcn.3001c6cd
add esp, 0xc
mov dword [0x3006bbcc], eax
cmp dword [0x3006bbc0], ebx
jne 0x30030d06
push eax
call dword [sym.imp.MSVCR80.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x20], ecx
push eax
push ecx
call sub.MSVCR80.dll__XcptFilter
pop ecx
pop ecx
ret
cmp dword [0x3006bbd0], ebx
jne 0x30030d14
call dword [sym.imp.MSVCR80.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x3006bbcc]
call fcn.300310c3
ret
call fcn.3003051e
jmp 0x30030bb0

Function at 0x30031694
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp + 0xc]
push eax
push 0x20019
push 0
push dword [ebp + 0xc]
xor esi, esi
push dword [ebp + 8]
inc esi
mov dword [ebp - 4], 4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x300316c2
xor eax, eax
jmp 0x300316ea
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x14]
push 0
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x300316df
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret 0x10

Function at 0x300316ef
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop ebp
ret 4
Function at 0x438c92
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x495c58
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4c87c0]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
mov eax, dword [0x4c87c0]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x4c]
mov esi, ecx
mov ecx, dword [esp + 8]
push ecx
push edx
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], 0
call fcn.004388a2
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
lea eax, [esp + 0xc]
push eax
mov eax, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x44]
push edx
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x48], 0
call fcn.00438a52
cmp dword [esp + 0x24], 8
jb 0x438d2e
mov edx, dword [esp + 0x10]
push edx
call fcn.0044df5f
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004925fa
add esp, 0x30
ret 0x1c
Function at 0x43f112
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x496808
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x4c87c0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
call fcn.00444b82
xor ebx, ebx
push 0x412910
push 0x412900
push 0x3fd
push 0xc
lea eax, [esi + 0x38]
push eax
mov dword [esp + 0x2c], ebx
mov dword [esi], 0x49fcc8
mov byte [esi + 8], 1
mov dword [esi + 0xc], 0xffffffff
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
call fcn.004936e6
mov dword [esi + 0x3014], ebx
mov dword [esi + 0x3018], ebx
mov dword [esi + 0x301c], ebx
mov dword [esi + 0x3020], ebx
mov dword [esi + 0x3024], ebx
mov byte [esi + 0x3028], 1
mov dword [esi + 0x302c], ebx
mov byte [esi + 0x3030], bl
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret

Function at 0x440c88
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [esp + 0x18], ecx
lea ebx, [ebx]
cmp ebx, dword [eax + 0xc]
movzx edx, word [eax]
mov edi, dword [esp + 0x20]
mov edx, dword [edi + edx*4]
mov byte [esp + 0x70], 1
mov dword [esp + 0x34], edx
jae 0x440e75
lea esp, [esp]
lea eax, [esi + 4]
cmp eax, ebp
ja 0x440eb2
mov esi, dword [esi]
lea edi, [esi + eax]
add ebx, 4
cmp edi, ebp
ja 0x440ec0
mov ecx, dword [esp + 0x78]
push ecx
push esi
push eax
lea ecx, [esp + 0x58]
mov edx, dword [esp + 0x24]
add edx, 1
add eax, 8
cmp edx, dword [esp + 0x38]
mov dword [esp + 0x24], edx
mov dword [esp + 0x18], eax
jl 0x440c92
push ecx
call fcn.0044df69
add esp, 4
or eax, 0xffffffff
jmp 0x440e9c
mov eax, dword [esp + 0x14]
push eax
call fcn.0044df69
add esp, 4
or eax, 0xffffffff
jmp 0x440e9c