joyce8/EMBER2024-capa huggingface dataset:
Function at 0x466172
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
pushal
mov edx, dword [ebp + 8]
mov ax, word [edx]
cmp ax, 0x5a4d
jne 0x4661a1
mov eax, dword [edx + 0x3c]
add edx, eax
mov eax, dword [edx]
cmp eax, 0x4550
jne 0x4661a1
add edx, 4
mov dword [ebp - 4], edx
popal
mov eax, dword [ebp - 4]
leave
ret 8
popal
sub eax, eax
leave
ret 8

Function at 0x466dff
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov ecx, 3
mov edx, 1
push ecx
push dword [ebp + 8]
call fcn.00466f04
rol eax, 8
push dword [ebp + 0xc]
push eax
call fcn.00466f20
push edx
push dword [ebp + 0x10]
push eax
call fcn.00466eec
inc edx
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.00466f04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.00466ecb
push ecx
push dword [ebp + 8]
call fcn.00466f04
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.00466f04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.00466ecb
push ecx
push dword [ebp + 8]
call fcn.00466f04
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.00466f04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.00466ecb
push ecx
push dword [ebp + 8]
call fcn.00466f04
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.00466f04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.00466ecb
cmp ecx, 0x2b
jne 0x466e0f
leave
ret 0xc

Function at 0x4684b4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
pushal
mov byte [ebp - 0x118], 0x42
mov byte [ebp - 0x117], 0x72
mov byte [ebp - 0x116], 0x75
mov byte [ebp - 0x115], 0x74
mov byte [ebp - 0x114], 0x65
mov byte [ebp - 0x113], 0x66
mov byte [ebp - 0x112], 0x6f
mov byte [ebp - 0x111], 0x72
mov byte [ebp - 0x110], 0x63
mov byte [ebp - 0x10f], 0x69
mov byte [ebp - 0x10e], 0x6e
mov byte [ebp - 0x10d], 0x67
mov byte [ebp - 0x10c], 0x20
mov byte [ebp - 0x10b], 0x4b
mov byte [ebp - 0x10a], 0x65
mov byte [ebp - 0x109], 0x79
mov byte [ebp - 0x108], 0
mov eax, 1
lea edi, [ebp - 0x14]
mov ecx, 0x10
mov al, 0
mov byte [edi], al
inc edi
dec ecx
jne 0x468544
mov eax, dword [ebp + 8]
push 4
push 0x3000
push 0x58920
push 0
call dword [eax + 0x20]
test eax, eax
je 0x4685d6
mov dword [ebp - 4], eax
mov edi, eax
mov esi, dword [ebp + 0xc]
mov ecx, 0x58920
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0xc]
push dword [ebp + 0xc]
push 0x58920
call fcn.004683fa
push 0x58920
push dword [ebp + 0xc]
call fcn.004661a8
test eax, eax
jne 0x4685b8
mov esi, dword [ebp - 4]
mov edi, dword [ebp + 0xc]
mov ecx, 0x58920
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x14]
push eax
call fcn.004685dd
test eax, eax
je 0x4685d6
jmp 0x468574
mov eax, dword [ebp + 8]
push 0x8000
push 0
push dword [ebp - 4]
call dword [eax + 0x28]
test eax, eax
je 0x4685d6
popal
mov eax, 1
leave
ret 8
popal
sub eax, eax
leave
ret 8
Function at 0x40266e
Capabilities:
Create directory

Disassembly:
mov edi, edi
push ebx
mov ebx, dword [esp + 8]
push ebp
mov ebp, dword [esp + 0x10]
push esi
push ebp
push ebx
xor esi, esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x402723
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x402723
movzx eax, word [ebx]
push edi
xor edi, edi
mov ecx, ebx
test ax, ax
je 0x4026c4
movzx eax, ax
cmp ax, 0x5c
jne 0x4026b6
mov edi, ecx
inc ecx
inc ecx
movzx eax, word [ecx]
test ax, ax
jne 0x4026ae
test edi, edi
jne 0x4026d8
mov esi, 0x80070003
push esi
push 0x7e
push 0x410ebe
call fcn.00402f2c
jmp 0x402722
push ebp
xor eax, eax
push ebx
mov word [edi], ax
call fcn.0040266e
mov esi, eax
push 0x5c
pop eax
mov word [edi], ax
test esi, esi
jl 0x402722
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x402720
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x40270e
xor esi, esi
inc esi
jmp 0x402722
test eax, eax
jle 0x40271c
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
jmp 0x402722
xor esi, esi
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret 8

Function at 0x40298a
Capabilities:
Delete file
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
xor edi, edi
push edi
mov dword [ebp - 8], edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edi
call fcn.00402872
mov esi, eax
cmp esi, edi
jl 0x402a79
push ebx
push edi
push 0x80
push dword [ebp + 0x10]
push edi
push edi
push 0x40000000
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x402a11
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, edi
jle 0x4029f8
and esi, 0xffff
or esi, 0x80070000
cmp esi, edi
jl 0x4029ff
mov esi, 0x80004005
push esi
push 0xde
push 0x410ef2
call fcn.00402f2c
jmp 0x402a66
push edi
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 4]
mov dword [ebp - 0xc], 1
push dword [ebp - 8]
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x402a5f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, edi
jle 0x402a48
and esi, 0xffff
or esi, 0x80070000
cmp esi, edi
jl 0x402a4f
mov esi, 0x80004005
push esi
push 0xe4
push 0x410ef2
call fcn.00402f2c
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, edi
pop ebx
jge 0x402a79
cmp dword [ebp - 0xc], edi
je 0x402a79
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop edi
mov eax, esi
pop esi
leave
ret 0xc
Function at 0x402c2e
Capabilities:
Move file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
xor esi, esi
push edi
xor edi, edi
mov dword [ebp - 4], esi
cmp dword [ebp + 0x10], esi
je 0x402c4a
mov dword [ebp - 4], 1
cmp dword [ebp + 0x14], esi
je 0x402c53
or dword [ebp - 4], 2
push dword [ebp - 4]
mov ebx, dword [ebp + 0xc]
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x402d24
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp + 0x10], esi
jne 0x402c8a
cmp eax, 0x50
je 0x402c82
cmp eax, 0xb7
jne 0x402c8a
xor edi, edi
inc edi
jmp 0x402d24
cmp eax, 3
jne 0x402d14
movzx eax, word [ebx]
mov ecx, ebx
test ax, ax
je 0x402d0d
movzx eax, ax
cmp ax, 0x5c
jne 0x402ca8
mov esi, ecx
inc ecx
inc ecx
movzx eax, word [ecx]
test ax, ax
jne 0x402ca0
test esi, esi
je 0x402d0d
xor eax, eax
push eax
push ebx
mov word [esi], ax
call fcn.0040266e
mov edi, eax
push 0x5c
pop eax
mov word [esi], ax
test edi, edi
jl 0x402d24
push dword [ebp - 4]
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x402d24
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test edi, edi
jle 0x402cf9
and edi, 0xffff
or edi, 0x80070000
test edi, edi
jge 0x402d24
push edi
push 0x26d
push 0x410f26
call fcn.00402f2c
jmp 0x402d24
mov edi, 0x80070003
jmp 0x402d24
cmp eax, esi
jle 0x402d22
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x402d2e
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
lea ebp, [esp - 0x1a0]
sub esp, 0x220
mov eax, dword [0x4170a0]
xor eax, ebp
mov dword [ebp + 0x19c], eax
mov eax, dword [ebp + 0x1b0]
and dword [ebp - 0x70], 0
or dword [ebp - 0x74], 0xffffffff
push ebx
mov ebx, dword [ebp + 0x1ac]
push esi
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x1b4]
push edi
mov edi, dword [ebp + 0x1a8]
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x6c]
push eax
push 0x104
mov esi, 0x80004005
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x402dbd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x402da6
and esi, 0xffff
or esi, 0x80070000
test esi, esi
jge 0x402dbd
push esi
push 0x2cc
push 0x410f26
call fcn.00402f2c
jmp 0x402e5c
and dword [ebp - 0x78], 0
cmp dword [ebp - 0x74], 0xffffffff
jne 0x402e40
push ebx
push dword [ebp - 0x78]
lea eax, [ebp - 0x6c]
push edi
push eax
lea eax, [ebp - 0x70]
push 0x410f5a
push eax
call fcn.0040265a
mov esi, eax
add esp, 0x18
test esi, esi
jl 0x402e75
push 0
push 0x80
push 1
push 0
push 1
push 0x40000000
push dword [ebp - 0x70]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x74], eax
cmp eax, 0xffffffff
jne 0x402e34
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x402e22
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
cmp esi, 0x80070050
jne 0x402e30
xor esi, esi
jmp 0x402e34
test esi, esi
jl 0x402e75
inc dword [ebp - 0x78]
cmp dword [ebp - 0x78], 0x3e8
jl 0x402dc1
mov eax, dword [ebp - 0x7c]
test eax, eax
je 0x402e4c
mov ecx, dword [ebp - 0x74]
mov dword [eax], ecx
mov eax, dword [ebp - 0x80]
test eax, eax
je 0x402e5c
mov ecx, dword [ebp - 0x70]
and dword [ebp - 0x70], 0
mov dword [eax], ecx
test esi, esi
jl 0x402e66
cmp dword [ebp - 0x7c], 0
jne 0x402e75
cmp dword [ebp - 0x74], 0xffffffff
je 0x402e75
push dword [ebp - 0x74]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x70], 0
je 0x402e83
push dword [ebp - 0x70]
call fcn.00401f52
mov ecx, dword [ebp + 0x19c]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.00403633
add ebp, 0x1a0
leave
ret 0x10

Function at 0x403633
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4170a0]
jne 0x40363d
repz ret
jmp fcn.00404dba
Function at 0x40bacc
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00407319
and dword [ebp - 4], 0
cmp dword [0x418a28], 0
mov ebx, eax
jne 0x40bb7d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40bc2e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40bc2e
push eax
call fcn.004072a7
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x418a28], eax
call esi
push eax
call fcn.004072a7
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x418a2c], eax
call esi
push eax
call fcn.004072a7
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x418a30], eax
call esi
push eax
call fcn.004072a7
pop ecx
mov dword [0x418a38], eax
test eax, eax
je 0x40bb7d
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004072a7
pop ecx
mov dword [0x418a34], eax
mov eax, dword [0x418a34]
cmp eax, ebx
je 0x40bbd5
cmp dword [0x418a38], ebx
je 0x40bbd5
push eax
call fcn.00407322
push dword [0x418a38]
mov esi, eax
call fcn.00407322
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40bbd5
test edi, edi
je 0x40bbd5
call esi
test eax, eax
je 0x40bbcc
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40bbcc
test byte [ebp - 0xc], 1
jne 0x40bbd5
or dword [ebp + 0x10], 0x200000
jmp 0x40bc0e
mov eax, dword [0x418a2c]
cmp eax, ebx
je 0x40bc0e
push eax
call fcn.00407322
pop ecx
test eax, eax
je 0x40bc0e
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40bc0e
mov eax, dword [0x418a30]
cmp eax, ebx
je 0x40bc0e
push eax
call fcn.00407322
pop ecx
test eax, eax
je 0x40bc0e
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x418a28]
call fcn.00407322
pop ecx
test eax, eax
je 0x40bc2e
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40bc30
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40df40
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0xffffffff
jne 0x40df64
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov word [ebp - 8], ax
movzx eax, word [ebp - 8]
mov dword [ebp + 8], eax
cmp dword [ebp + 0x10], 0
je 0x40df7d
mov ecx, dword [ebp + 8]
xor edx, edx
cmp ecx, dword [ebp + 0xc]
sete dl
mov dword [ebp - 4], edx
jmp 0x40e015
movzx eax, word [ebp + 8]
and eax, 0x3ff
cmp eax, 4
jne 0x40dff7
mov ecx, dword [ebp + 8]
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0xc], 0xc04
ja 0x40dfb7
cmp dword [ebp - 0xc], 0xc04
je 0x40dfdc
cmp dword [ebp - 0xc], 0x404
je 0x40dfd8
cmp dword [ebp - 0xc], 0x804
je 0x40dfcb
jmp 0x40dfe7
cmp dword [ebp - 0xc], 0x1004
je 0x40dfcf
cmp dword [ebp - 0xc], 0x1404
je 0x40dfe0
jmp 0x40dfe7
xor edx, edx
jne 0x40dfcb
mov dword [ebp + 8], 0x804
jmp 0x40dfe7
xor eax, eax
jne 0x40dfd8
xor ecx, ecx
jne 0x40dfdc
mov dword [ebp + 8], 0x404
mov edx, dword [ebp + 8]
xor eax, eax
cmp edx, dword [ebp + 0xc]
sete al
mov dword [ebp - 4], eax
jmp 0x40e015
movzx ecx, word [ebp + 8]
and ecx, 0x3ff
movzx edx, word [ebp + 0xc]
and edx, 0x3ff
xor eax, eax
cmp ecx, edx
sete al
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x40e520
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b4
mov eax, dword [0x4170a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x2b4], 0
mov eax, dword [ebp + 0x10]
neg eax
sbb eax, eax
and eax, 7
add eax, 0x1c
mov dword [ebp - 0x54], eax
lea ecx, [ebp - 0x260]
push ecx
push 0
push 0
mov edx, dword [ebp - 0x54]
or edx, 0x8000
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov dword [ebp - 0x2b4], eax
cmp dword [ebp - 0x2b4], 0
jge 0x40e583
jmp 0x40e69c
push 0x27
lea eax, [ebp - 0x2b0]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x8c
push ecx
call dword [sym.imp.ole32.dll_StringFromGUID2]
mov dword [ebp - 0x2b4], eax
cmp dword [ebp - 0x2b4], 0
jge 0x40e5b5
jmp 0x40e69c
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xa0]
and eax, 0xffff
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xa0]
shr edx, 0x10
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x9c]
and ecx, 0xffff
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x9c]
shr eax, 0x10
push eax
push str._d._d._d._d
push 0x24
lea ecx, [ebp - 0x50]
push ecx
call fcn.00401e80
add esp, 0x1c
mov dword [ebp - 0x2b4], eax
cmp dword [ebp - 0x2b4], 0
jge 0x40e61a
jmp 0x40e69c
lea edx, [ebp - 0x50]
push edx
lea eax, [ebp - 0x2b0]
push eax
lea ecx, [ebp - 0x260]
push ecx
push str._lsApplicationsCache_lsv_ls.mst
mov edx, dword [ebp + 0x14]
push edx
call fcn.0040265a
add esp, 0x14
mov dword [ebp - 0x2b4], eax
cmp dword [ebp - 0x2b4], 0
jge 0x40e650
jmp 0x40e69c
push 1
push 1
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.00402c2e
mov dword [ebp - 0x2b4], eax
cmp dword [ebp - 0x2b4], 0
jge 0x40e69c
cmp dword [ebp + 0x10], 1
jne 0x40e69c
mov eax, dword [ebp + 0x14]
push eax
xor ecx, ecx
cmp dword [ebp + 0x10], 0
sete cl
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0040e520
add esp, 0x10
mov dword [ebp - 0x2b4], eax
mov eax, dword [ebp - 0x2b4]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00403633
mov esp, ebp
pop ebp
ret
Function at 0x40e6b0
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b4
mov eax, dword [0x4170a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x2b4], 0
mov eax, dword [ebp + 0x10]
neg eax
sbb eax, eax
and eax, 7
add eax, 0x1c
mov dword [ebp - 0x54], eax
lea ecx, [ebp - 0x260]
push ecx
push 0
push 0
mov edx, dword [ebp - 0x54]
or edx, 0x8000
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov dword [ebp - 0x2b4], eax
cmp dword [ebp - 0x2b4], 0
jge 0x40e713
jmp 0x40e82c
push 0x27
lea eax, [ebp - 0x2b0]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x8c
push ecx
call dword [sym.imp.ole32.dll_StringFromGUID2]
mov dword [ebp - 0x2b4], eax
cmp dword [ebp - 0x2b4], 0
jge 0x40e745
jmp 0x40e82c
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xa0]
and eax, 0xffff
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xa0]
shr edx, 0x10
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x9c]
and ecx, 0xffff
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x9c]
shr eax, 0x10
push eax
push 0x413f9c
push 0x24
lea ecx, [ebp - 0x50]
push ecx
call fcn.00401e80
add esp, 0x1c
mov dword [ebp - 0x2b4], eax
cmp dword [ebp - 0x2b4], 0
jge 0x40e7aa
jmp 0x40e82c
lea edx, [ebp - 0x50]
push edx
lea eax, [ebp - 0x2b0]
push eax
lea ecx, [ebp - 0x260]
push ecx
push str._lsApplicationsCache_lsv_ls.msi
mov edx, dword [ebp + 0x14]
push edx
call fcn.0040265a
add esp, 0x14
mov dword [ebp - 0x2b4], eax
cmp dword [ebp - 0x2b4], 0
jge 0x40e7e0
jmp 0x40e82c
push 1
push 1
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.00402c2e
mov dword [ebp - 0x2b4], eax
cmp dword [ebp - 0x2b4], 0
jge 0x40e82c
cmp dword [ebp + 0x10], 1
jne 0x40e82c
mov eax, dword [ebp + 0x14]
push eax
xor ecx, ecx
cmp dword [ebp + 0x10], 0
sete cl
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0040e6b0
add esp, 0x10
mov dword [ebp - 0x2b4], eax
mov eax, dword [ebp - 0x2b4]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00403633
mov esp, ebp
pop ebp
ret
Function at 0x410d30
Capabilities:
Get common file path
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x4170a0]
xor eax, ebp
mov dword [ebp - 4], eax
call fcn.00410610
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], 0
je 0x410d6a
mov eax, dword [ebp - 0x220]
push eax
call fcn.004037c1
add esp, 4
test eax, eax
jne 0x410d7d
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
jmp 0x410e7a
mov dword [ebp - 0x214], 0
mov eax, dword [ebp - 0x220]
push eax
push str._sSoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
lea ecx, [ebp - 0x214]
push ecx
call fcn.0040265a
add esp, 0xc
mov dword [ebp - 0x218], 0
xor edx, edx
mov word [ebp - 0x210], dx
push 0x206
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.004037e0
add esp, 0xc
mov dword [ebp - 0x21c], 0x206
mov dword [ebp - 0x224], 1
lea ecx, [ebp - 0x218]
push ecx
push 0x20019
push 0
mov edx, dword [ebp - 0x214]
push edx
push 0x80000003
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x410e63
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x210]
push ecx
lea edx, [ebp - 0x224]
push edx
push 0
push str.Local_AppData
mov eax, dword [ebp - 0x218]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x410e56
lea ecx, [ebp - 0x210]
push ecx
push str._sTemp
lea edx, [ebp + 0xc]
push edx
call fcn.0040265a
add esp, 0xc
mov eax, dword [ebp + 0xc]
push eax
call fcn.004037c1
add esp, 4
jmp 0x410e7a
mov ecx, dword [ebp - 0x218]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x220], 0
je 0x410e78
mov edx, dword [ebp - 0x220]
push edx
call fcn.00401f52
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00403633
mov esp, ebp
pop ebp
ret

Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..pdata
nop
nop
mov ebx, 0x408f6c
nop
mov ecx, 0x3dac3052
nop
nop
nop
nop
test eax, eax
nop
je 0x43004e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..pdata_1
nop
mov ebx, 0x42e3d0
mov ecx, 0x7602099d
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x430084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x41d180
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x491b3b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.0048420c
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x41d202
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004817e0
mov eax, dword [eax]
push 0xe17210
push eax
call fcn.00474264
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00484497
test bl, bl
je 0x41d202
push 0xe17210
lea ecx, [esp + 0xc]
call fcn.00484873
push 0xe1ada0
lea ecx, [esp + 0xc]
call fcn.00484873
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x41d23e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00484497
jmp 0x41d309
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x41d2c2
lea edx, [esp + 0x7c]
push 0xe1ad9c
push edx
call fcn.00474264
add esp, 8
test eax, eax
je 0x41d2c2
lea eax, [esp + 0x7c]
push 0xe1ad98
push eax
call fcn.00474264
add esp, 8
test eax, eax
je 0x41d2c2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x41d252
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.00484497
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x41db00
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x41db62
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc