joyce8/EMBER2024-capa huggingface dataset:
Function at 0x432e59
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x47bbb0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
xor eax, eax
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
inc eax
push 3
pop esi
mov dword [ebp - 0x110], eax
xor ecx, ecx
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x10c], 0x104
push eax
push 0x20019
push ecx
push str.SystemCurrentControlSetControlNetwork4D36E972_E325_11CE_BFC1_08002BE10318
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x118], ecx
mov dword [ebp - 0x114], ecx
call edi
test eax, eax
jne 0x433008
push ebx
push str._sConnection
lea eax, [ebp - 0x108]
push 0x103
push eax
call fcn.00432b1a
add esp, 0x10
lea eax, [ebp - 0x118]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x108]
push eax
push dword [ebp - 0x11c]
call edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x433000
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push 4
pop eax
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x10c], eax
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x110]
push eax
push 0
push str.MediaSubType
push dword [ebp - 0x118]
call ebx
test eax, eax
jne 0x432ff8
push 0x104
push eax
lea eax, [ebp - 0x108]
mov dword [ebp - 0x110], 1
push eax
mov dword [ebp - 0x10c], 0x103
call fcn.00439ae0
add esp, 0xc
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x110]
push eax
push 0
push str.PnpInstanceID
push dword [ebp - 0x118]
call ebx
test eax, eax
jne 0x432ff8
mov eax, dword [ebp - 0x114]
xor ebx, ebx
inc ebx
cmp eax, ebx
jne 0x432ff2
push esi
lea eax, [ebp - 0x108]
push 0x467dc8
push eax
call fcn.00447d50
add esp, 0xc
test eax, eax
jne 0x432fc4
xor esi, esi
jmp 0x432ff8
mov eax, dword [ebp - 0x114]
cmp eax, ebx
jne 0x432ff2
push esi
lea eax, [ebp - 0x108]
push 0x467dc8
push eax
call fcn.00447d50
add esp, 0xc
test eax, eax
je 0x432fec
push 2
pop esi
jmp 0x432ff8
mov eax, dword [ebp - 0x114]
cmp eax, 2
cmove esi, ebx
push dword [ebp - 0x118]
call edi
push dword [ebp - 0x11c]
call edi
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043834d
mov esp, ebp
pop ebp
ret
Function at 0x43322e
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2aa0
call fcn.00438470
mov eax, dword [0x47bbb0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push esi
push edi
mov edi, 0x208
xor esi, esi
push edi
push esi
push eax
call fcn.00439ae0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0x43327e
sub ecx, edx
sar ecx, 1
test ecx, ecx
jle 0x4332bf
push 0x5c
pop eax
cmp ax, word [ebp + ecx*2 - 0x20e]
je 0x4332bf
mov word [ebp + ecx*2 - 0x20c], ax
lea ecx, [ecx*2 + 2]
cmp ecx, edi
jae 0x433421
xor eax, eax
mov word [ebp + ecx - 0x20c], ax
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0x4332c8
sub ecx, edx
mov edx, 0x104
sar ecx, 1
mov eax, edx
sub eax, ecx
push eax
push str.iphlpapi.dll
push edx
lea eax, [ebp - 0x20c]
push eax
call fcn.00447d3c
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x2aa0], eax
test eax, eax
jne 0x433314
xor al, al
jmp 0x433410
push str.GetAdaptersInfo
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4333e0
lea ecx, [ebp - 0x2a9c]
mov dword [ebp - 0x2a9c], 0x2880
push ecx
lea ecx, [ebp - 0x2a8c]
push ecx
call eax
test eax, eax
jne 0x4333e0
push 3
lea esi, [ebp - 0x2a8c]
pop edi
lea eax, [esi + 8]
push eax
call fcn.00432e59
mov dword [ebp - 0x2a98], eax
xor eax, eax
pop ecx
mov dword [ebp - 0x2a94], eax
mov ecx, ebx
mov word [ebp - 0x2a90], ax
lea eax, [ebp - 0x2a94]
push eax
call fcn.00432cbc
test al, al
jne 0x433399
cmp dword [esi + 0x1a0], 6
jne 0x4333d6
mov ecx, dword [ebp - 0x2a98]
cmp edi, ecx
jle 0x4333d6
jmp 0x43339f
mov ecx, dword [ebp - 0x2a98]
mov al, byte [esi + 0x194]
mov edi, ecx
mov byte [ebx], al
mov al, byte [esi + 0x195]
mov byte [ebx + 1], al
mov al, byte [esi + 0x196]
mov byte [ebx + 2], al
mov al, byte [esi + 0x197]
mov byte [ebx + 3], al
mov al, byte [esi + 0x198]
mov byte [ebx + 4], al
mov al, byte [esi + 0x199]
mov byte [ebx + 5], al
mov esi, dword [esi]
test esi, esi
jne 0x433353
push dword [ebp - 0x2aa0]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x2a94]
mov dword [ebp - 0x2a94], esi
push eax
mov ecx, ebx
mov word [ebp - 0x2a90], si
call fcn.00432cbc
xor ecx, ecx
test al, al
sete cl
mov al, cl
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043834d
mov esp, ebp
pop ebp
ret
call fcn.0043803f
int3
Function at 0x433992
Capabilities:
Query environment variable
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x304
mov eax, dword [0x47bbb0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x2ec]
call fcn.0040b880
lea eax, [ebp - 0x2ec]
push eax
push 0x6d
call fcn.0040ac30
pop ecx
pop ecx
test al, al
jne 0x4339d3
push 0x474fbc
jmp 0x433a87
push ecx
push ecx
mov esi, esp
mov eax, str.TencentDeskUpdateGlobalMgr.db
push eax
mov dword [esi], eax
call fcn.00405140
pop ecx
mov dword [esi + 4], eax
lea ecx, [ebp - 0x2ec]
lea eax, [ebp - 0x304]
push eax
call fcn.0040bf40
push eax
lea ecx, [ebp - 0x2ec]
call fcn.00408b60
lea ecx, [ebp - 0x304]
call fcn.00404640
cmp dword [ebp - 0x2d8], 8
lea ecx, [ebp - 0x2d4]
push 0x104
lea eax, [ebp - 0x2ec]
cmovae eax, dword [ebp - 0x2ec]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x4339c9
push 0xc8
lea eax, [ebp - 0xcc]
push 0
push eax
call fcn.00439ae0
add esp, 0xc
lea eax, [ebp - 0x2d4]
mov esi, 0x474fbc
push eax
push 0x64
lea eax, [ebp - 0xcc]
push eax
push esi
push str.config1
push str.Profile
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp eax, 0x20
jb 0x433a86
lea eax, [ebp - 0xcc]
push eax
jmp 0x433a87
push esi
mov ecx, edi
call fcn.00405d80
lea ecx, [ebp - 0x2ec]
call fcn.00404640
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.0043834d
mov esp, ebp
pop ebp
ret 4
Function at 0x433ea3
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd3c
mov eax, dword [0x47bbb0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0xd34], eax
xor bl, bl
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0xd38], eax
xor esi, esi
mov eax, dword [ebp + 0x10]
push edi
mov dword [ebp - 0xd3c], eax
test bl, bl
jne 0x434103
push 0x200
lea eax, [ebp - 0x504]
push 0
push eax
call fcn.00439ae0
push esi
push str..PhysicalDrive_d
lea eax, [ebp - 0x504]
push 0xff
push eax
call fcn.00432b3b
add esp, 0x1c
lea eax, [ebp - 0x504]
xor edi, edi
push edi
push edi
push 3
push edi
push 3
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0xd30], eax
cmp eax, 0xffffffff
je 0x4340f9
mov dword [ebp - 0xd2c], edi
xor eax, eax
lea edi, [ebp - 0xd10]
stosd dword es:[edi], eax
push 0x800
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0xd04]
xor edi, edi
push edi
push eax
mov dword [ebp - 0xd10], edi
mov dword [ebp - 0xd0c], edi
call fcn.00439ae0
add esp, 0xc
lea eax, [ebp - 0xd2c]
push edi
mov edi, dword [ebp - 0xd30]
push eax
push 0x800
lea eax, [ebp - 0xd04]
push eax
push 0xc
lea eax, [ebp - 0xd10]
push eax
push 0x2d1400
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x4340ec
push 0x100
lea eax, [ebp - 0x104]
push 0
push eax
call fcn.00439ae0
push 0x100
lea eax, [ebp - 0x204]
push 0
push eax
call fcn.00439ae0
push 0x100
lea eax, [ebp - 0x304]
push 0
push eax
call fcn.00439ae0
lea eax, [ebp - 0x204]
push eax
push 0
push dword [ebp - 0xcf4]
lea eax, [ebp - 0xd04]
push eax
call fcn.00434178
lea eax, [ebp - 0x304]
push eax
push 0
push dword [ebp - 0xcf0]
lea eax, [ebp - 0xd04]
push eax
call fcn.00434178
add esp, 0x44
call fcn.00406ce0
cmp eax, 5
lea ecx, [ebp - 0x104]
push ecx
setl al
movzx eax, al
push eax
push dword [ebp - 0xcec]
lea eax, [ebp - 0xd04]
push eax
call fcn.00434178
movsx eax, byte [ebp - 0x104]
push eax
call fcn.00447f1e
add esp, 0x14
test eax, eax
jne 0x434062
movsx eax, byte [ebp - 0xf1]
push eax
call fcn.00447f1e
pop ecx
test eax, eax
je 0x4340f2
lea eax, [ebp - 0x104]
push eax
lea ecx, [ebp - 0xd28]
call fcn.00401e40
mov ecx, dword [ebp - 0xd34]
push eax
call fcn.00403bd0
xor ebx, ebx
lea ecx, [ebp - 0xd28]
push ebx
push 1
call fcn.00402710
lea eax, [ebp - 0x204]
push eax
lea ecx, [ebp - 0xd28]
call fcn.00401e40
mov ecx, dword [ebp - 0xd38]
push eax
call fcn.00403bd0
push ebx
push 1
lea ecx, [ebp - 0xd28]
call fcn.00402710
lea eax, [ebp - 0x304]
push eax
lea ecx, [ebp - 0xd28]
call fcn.00401e40
mov ecx, dword [ebp - 0xd3c]
push eax
call fcn.00403bd0
push ebx
push 1
lea ecx, [ebp - 0xd28]
call fcn.00402710
mov bl, 1
jmp 0x4340f2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, 0x10
jl 0x433ed8
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043834d
mov esp, ebp
pop ebp
ret
Function at 0x43445e
Capabilities:
Encode data using xor
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov eax, edx
shr eax, 4
xor eax, ecx
mov dword [ebp - 4], 8
and eax, 0xf0f0f0f
xor ecx, eax
shl eax, 4
xor edx, eax
mov eax, edx
shr eax, 0x10
xor eax, ecx
movzx eax, ax
xor ecx, eax
shl eax, 0x10
xor edx, eax
mov eax, ecx
shr eax, 2
xor eax, edx
and eax, 0x33333333
xor edx, eax
shl eax, 2
xor ecx, eax
mov edi, ecx
shr edi, 8
xor edi, edx
and edi, 0xff00ff
xor edx, edi
shl edi, 8
xor edi, ecx
rol edi, 1
mov ebx, edi
xor ebx, edx
and ebx, 0xaaaaaaaa
xor edi, ebx
xor ebx, edx
rol ebx, 1
mov eax, dword [ebp + 0xc]
mov edx, edi
ror edx, 4
xor edx, dword [eax]
add eax, 4
mov dword [ebp + 0xc], eax
mov ecx, edx
shr ecx, 0x18
mov eax, edx
shr eax, 0x10
and ecx, 0x3f
and eax, 0x3f
mov esi, dword [ecx*4 + 0x468118]
or esi, dword [eax*4 + 0x468318]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
or esi, dword [eax*4 + 0x468518]
or esi, dword [edx*4 + 0x468718]
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
add eax, 4
mov dword [ebp + 0xc], eax
xor edx, edi
mov ecx, edx
mov eax, edx
shr eax, 0x10
shr ecx, 0x18
and eax, 0x3f
and ecx, 0x3f
mov ecx, dword [ecx*4 + 0x468218]
or ecx, dword [eax*4 + 0x468418]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
or ecx, dword [eax*4 + 0x468618]
or ecx, dword [edx*4 + 0x468818]
mov eax, dword [ebp + 0xc]
or ecx, esi
xor ebx, ecx
mov edx, ebx
ror edx, 4
xor edx, dword [eax]
add eax, 4
mov dword [ebp + 0xc], eax
mov ecx, edx
shr ecx, 0x18
mov eax, edx
shr eax, 0x10
and ecx, 0x3f
and eax, 0x3f
mov esi, dword [ecx*4 + 0x468118]
or esi, dword [eax*4 + 0x468318]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
or esi, dword [eax*4 + 0x468518]
mov eax, dword [ebp + 0xc]
or esi, dword [edx*4 + 0x468718]
mov edx, dword [eax]
add eax, 4
xor edx, ebx
mov dword [ebp + 0xc], eax
mov ecx, edx
mov eax, edx
shr ecx, 0x18
and ecx, 0x3f
shr eax, 0x10
and eax, 0x3f
mov ecx, dword [ecx*4 + 0x468218]
or ecx, dword [eax*4 + 0x468418]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
or ecx, dword [eax*4 + 0x468618]
or ecx, dword [edx*4 + 0x468818]
or ecx, esi
xor edi, ecx
sub dword [ebp - 4], 1
jne 0x4344d1
ror edi, 1
mov edx, edi
mov esi, dword [ebp + 8]
xor edx, ebx
and edx, 0xaaaaaaaa
xor edi, edx
xor edx, ebx
ror edx, 1
mov eax, edx
shr eax, 8
xor eax, edi
and eax, 0xff00ff
xor edi, eax
shl eax, 8
xor edx, eax
mov eax, edx
shr eax, 2
xor eax, edi
and eax, 0x33333333
xor edi, eax
shl eax, 2
xor edx, eax
mov eax, edi
shr eax, 0x10
xor eax, edx
movzx eax, ax
xor edx, eax
shl eax, 0x10
xor edi, eax
mov ecx, edi
shr ecx, 4
xor ecx, edx
and ecx, 0xf0f0f0f
mov eax, ecx
shl eax, 4
xor eax, edi
xor ecx, edx
pop edi
mov dword [esi], eax
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x434667
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xfc
mov eax, dword [0x47bbb0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0xfc], eax
movzx edx, byte [esi + str.80_]
mov eax, edx
and edx, 7
shr eax, 3
movsx ecx, byte [eax + edi]
movzx eax, word [edx*2 + 0x468030]
test eax, ecx
setne al
mov byte [ebp + esi - 0x74], al
inc esi
cmp esi, 0x38
jl 0x43468b
push 0x1e
xor ebx, ebx
pop edi
cmp word [ebp + 0xc], 1
mov esi, edi
je 0x4346c6
lea esi, [ebx + ebx]
and dword [ebp + esi*4 - 0xf0], 0
movzx eax, byte [ebx + 0x4680d8]
and dword [ebp + esi*4 - 0xf4], 0
mov ecx, eax
xor edx, edx
mov dword [ebp - 0xf8], eax
cmp ecx, 0x1c
jge 0x4346f2
mov al, byte [ebp + ecx - 0x74]
jmp 0x4346f9
mov al, byte [ebp + ecx - 0x90]
mov byte [ebp + edx - 0x3c], al
inc edx
inc ecx
cmp edx, 0x1c
jl 0x4346e7
mov ecx, dword [ebp - 0xf8]
push 0x1c
pop edx
add ecx, edx
cmp ecx, 0x38
jge 0x43471a
mov al, byte [ebp + ecx - 0x74]
jmp 0x434721
mov al, byte [ebp + ecx - 0x90]
mov byte [ebp + edx - 0x3c], al
inc edx
inc ecx
cmp edx, 0x38
jl 0x43470f
xor ecx, ecx
movzx eax, byte [ecx + 0x4680e8]
cmp byte [ebp + eax - 0x3c], 0
je 0x43474a
mov eax, dword [ecx*4 + 0x468040]
or dword [ebp + esi*4 - 0xf4], eax
movzx eax, byte [ecx + 0x468100]
cmp byte [ebp + eax - 0x3c], 0
je 0x434766
mov eax, dword [ecx*4 + 0x468040]
or dword [ebp + esi*4 - 0xf0], eax
inc ecx
cmp ecx, 0x18
jl 0x43472e
sub edi, 2
inc ebx
cmp edi, 0xfffffffe
jg 0x4346ba
push dword [ebp - 0xfc]
lea eax, [ebp - 0xf4]
push eax
call fcn.004342e6
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043834d
mov esp, ebp
pop ebp
ret

Function at 0x434b83
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
cmp dword [esi + 0x14], 8
jb 0x434b97
mov eax, dword [esi]
jmp 0x434b99
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x434bc4
mov eax, edi
inc edi
cmp eax, 5
jge 0x434bc4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x434bc4
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x434b8d
pop edi
pop esi
pop ebp
ret
Function at 0x434bc8
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x47bbb0]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x38]
push edi
push eax
push ebx
mov dword [ebp - 0x20], ebx
call fcn.00434d67
lea eax, [ebp - 0x2c]
push eax
push ebx
call fcn.00434ce4
mov eax, dword [ebp - 0x34]
add esp, 0x10
mov esi, dword [ebp - 0x38]
sub eax, esi
cdq
mov ebx, dword [ebp - 0x2c]
push 0x18
pop edi
idiv edi
mov ecx, eax
mov eax, dword [ebp - 0x28]
sub eax, ebx
cdq
idiv edi
mov edi, eax
mov dword [ebp - 0x40], edi
test ecx, ecx
je 0x434c76
mov ebx, dword [ebp - 0x20]
mov edi, ecx
push ebx
lea ecx, [ebp - 0x1c]
call fcn.00405de0
lea eax, [ebp - 0x1c]
push esi
push eax
call fcn.00434e63
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x1c]
push eax
call fcn.00448030
add esp, 0xc
lea ecx, [ebp - 0x1c]
push 0
push 1
call fcn.004046c0
add esi, 0x18
sub edi, 1
jne 0x434c35
mov edi, dword [ebp - 0x40]
mov ebx, dword [ebp - 0x2c]
test edi, edi
je 0x434cc1
push dword [ebp - 0x20]
lea ecx, [ebp - 0x1c]
call fcn.00405de0
lea eax, [ebp - 0x1c]
push ebx
push eax
call fcn.00434e63
lea eax, [ebp - 0x1c]
push eax
call fcn.00434bc8
add esp, 0xc
lea eax, [ebp - 0x1c]
cmp dword [ebp - 8], 8
cmovae eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push 0
push 1
lea ecx, [ebp - 0x1c]
call fcn.004046c0
add ebx, 0x18
sub edi, 1
jne 0x434c7a
lea ecx, [ebp - 0x2c]
call fcn.00407f60
lea ecx, [ebp - 0x38]
call fcn.00407f60
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043834d
mov esp, ebp
pop ebp
ret

Function at 0x434dea
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x47bbb0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x210]
push 0x20a
push 0
push eax
call fcn.00439ae0
movzx eax, byte [ebp + 0x10]
add esp, 0xc
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x210]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x434e36
xor al, al
jmp 0x434e54
lea eax, [ebp - 0x210]
push eax
call fcn.00405140
pop ecx
push eax
lea eax, [ebp - 0x210]
mov ecx, esi
push eax
call fcn.00405f80
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0043834d
mov esp, ebp
pop ebp
ret
Function at 0x435099
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x26c
mov eax, dword [0x47bbb0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
cmp dword [eax + 0x14], 8
jb 0x4350bc
mov eax, dword [eax]
lea ecx, [ebp - 0x26c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x435150
push 0x475294
lea eax, [ebp - 0x240]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x43513d
push 0x475298
lea eax, [ebp - 0x240]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x43513d
cmp byte [ebp + 0x10], 0
je 0x43510e
test byte [ebp - 0x26c], 0x10
je 0x43513d
jmp 0x435117
test byte [ebp - 0x26c], 0x10
jne 0x43513d
lea eax, [ebp - 0x240]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00405d80
lea eax, [ebp - 0x1c]
mov ecx, ebx
push eax
call fcn.00405b10
push 0
push 1
lea ecx, [ebp - 0x1c]
call fcn.004046c0
lea eax, [ebp - 0x26c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
cmp eax, 1
je 0x4350d1
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 4]
mov al, 1
pop esi
xor ecx, ebp
pop ebx
call fcn.0043834d
mov esp, ebp
pop ebp
ret

Function at 0x43522d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x47bbb0]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
push ebx
push esi
mov eax, dword [ecx]
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
xchg al, ah
ror eax, 0x10
xchg al, ah
mov dword [ebp - 0x1c], eax
mov edi, dword [ebp - 0x1c]
mov eax, dword [ecx + 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
xchg al, ah
ror eax, 0x10
xchg al, ah
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
xor ecx, ecx
sub esi, eax
lea eax, [esi + ecx*4]
mov eax, dword [ebp + eax - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
xchg al, ah
ror eax, 0x10
xchg al, ah
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp + ecx*4 - 0x14], eax
inc ecx
cmp ecx, 4
jl 0x43527e
push 0x10
pop edx
xor esi, esi
mov ecx, ebx
lea esi, [esi - 0x61c88647]
shl ecx, 4
mov eax, ebx
add ecx, dword [ebp - 0x14]
shr eax, 5
add eax, dword [ebp - 0x10]
xor ecx, eax
lea eax, [esi + ebx]
xor ecx, eax
add edi, ecx
mov ecx, edi
mov eax, edi
shr ecx, 5
add ecx, dword [ebp - 8]
shl eax, 4
add eax, dword [ebp - 0xc]
xor ecx, eax
lea eax, [esi + edi]
xor ecx, eax
add ebx, ecx
sub edx, 1
jne 0x4352a7
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x24], ebx
mov eax, dword [ebp - 0x1c]
xchg al, ah
ror eax, 0x10
xchg al, ah
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
mov dword [edx], eax
mov eax, dword [ebp - 0x24]
xchg al, ah
ror eax, 0x10
xchg al, ah
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x20]
xor ecx, ebp
pop edi
pop esi
mov dword [edx + 4], eax
pop ebx
call fcn.0043834d
mov esp, ebp
pop ebp
ret
Function at 0x45341d
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0045329a

Function at 0x4589f4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov edx, dword fs:[0x30]
sub esp, 0x10
push ebx
push esi
mov esi, dword [edx + 8]
xor ebx, ebx
push edi
push 0xa
pop edi
cmp byte [esi + 1], 0x5a
je 0x458a20
mov ecx, ebx
mov al, dl
add al, cl
mov byte [ecx + esi], al
inc ecx
cmp ecx, edi
jb 0x458a14
cmp dword [ebp + 8], 0x19a01fb3
jne 0x458b3d
mov esi, dword [ebp + 0xc]
mov ecx, dword [esi]
lea edx, [esi + 4]
call fcn.004593f9
mov eax, dword fs:[0x30]
lea edx, [esi + 4]
mov dword [ebp - 0x10], eax
mov eax, dword [eax + 0x64]
mov dword [ebp - 4], eax
mov eax, dword fs:[0x30]
mov ecx, dword [esi]
mov dword [ebp + 8], eax
call fcn.00458b4d
test al, al
jne 0x458adb
mov eax, dword [ebp + 0x14]
xor edx, edx
add eax, dword [ebp + 0x10]
add eax, dword [ebp + 0x18]
push 0xa
pop ecx
div ecx
mov dword [ebp - 8], edx
mov edi, dword fs:[0x30]
mov eax, dword [esi]
push dword [esi + 0x328]
call dword [eax + 0xc]
mov edx, dword [edi + 0x64]
mov eax, dword fs:[0x30]
mov dword [ebp - 0xc], eax
cmp edx, 0x1f4
jbe 0x458aa8
mov ecx, ebx
mov al, dl
add al, cl
mov byte [ecx + edi], al
inc ecx
cmp ecx, 0x13
jb 0x458a9b
mov eax, dword [esi]
push dword [ebp - 8]
call dword [eax + 0xc]
mov edi, dword [ebp - 0xc]
mov edx, dword [edi + 0x64]
cmp edx, 0x1f4
jbe 0x458acd
mov ecx, ebx
mov al, dl
add al, cl
mov byte [ecx + edi], al
inc ecx
cmp ecx, 0x13
jb 0x458ac0
mov ecx, dword [esi]
lea edx, [esi + 4]
call fcn.00458b4d
test al, al
je 0x458a73
mov eax, dword fs:[0x30]
mov edx, dword [eax + 0xa4]
mov esi, dword [eax + 0xc]
cmp edx, 2
jae 0x458afe
mov ecx, ebx
lea eax, [edx + ecx]
mov word [esi + ecx*2], ax
inc ecx
cmp ecx, 3
jb 0x458af1
cmp dword [ebp - 4], 0x1f4
mov eax, dword [ebp + 8]
mov edx, dword [eax + 8]
jbe 0x458b27
mov esi, dword [ebp - 0x10]
mov ecx, ebx
mov ebx, dword [ebp - 4]
mov al, bl
add al, cl
mov byte [ecx + esi], al
inc ecx
cmp ecx, 0x13
jb 0x458b15
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp byte [edx + 1], 0x5a
je 0x458b3d
add al, bl
mov byte [ebx + edx], al
inc ebx
push 0xa
pop eax
cmp ebx, eax
mov eax, dword [ebp + 8]
jb 0x458b2d
mov eax, dword [ebp + 0x14]
add eax, dword [ebp + 0x10]
add eax, dword [ebp + 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret