joyce8/EMBER2024-capa huggingface dataset:
Function at 0x432320
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x63506c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov ebx, edx
push edi
mov dword [ebp - 0xc], ebx
mov edi, 1
cmp byte [esi], 0
je 0x432365
push 0
lea eax, [ebp - 0xc]
push eax
push edi
lea eax, [ebp - 5]
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x432360
mov byte [esi + 8], 1
mov edi, dword [ebp - 0xc]
jmp 0x432392
mov ebx, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
lea eax, [ebx + 1]
cmp eax, ecx
jbe 0x432376
mov edi, ecx
sub edi, ebx
mov eax, dword [esi + 0x14]
add eax, ebx
push edi
push eax
lea eax, [ebp - 5]
push eax
call fcn.0058bfe0
lea eax, [ebx + edi]
add esp, 0xc
mov ebx, dword [ebp - 0xc]
mov dword [esi + 0x1c], eax
cmp edi, 1
jne 0x4323b0
movzx eax, byte [ebp - 5]
mov dword [ebx], eax
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00572b23
mov esp, ebp
pop ebp
ret
cmp byte [esi], 0
je 0x43239d
cmp byte [esi + 8], 0
je 0x43239d
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00572b23
mov esp, ebp
pop ebp
ret
Function at 0x432470
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x63506c]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, ecx
mov ecx, dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp byte [edi], 0
je 0x4324b9
cmp byte [edi + 1], 0
je 0x4324a7
push 2
push 0
push 0
push dword [edi + 4]
call ecx
mov ecx, dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x4324bf
or eax, 0xffffffff
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00572b23
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x18]
mov dword [edi + 0x1c], eax
cmp byte [edi], 0
push ebx
je 0x4324e2
cmp byte [edi + 1], 0
je 0x4324db
push 1
push 0
push 0
push dword [edi + 4]
call ecx
sub eax, dword [edi + 0xc]
jmp 0x4324e5
xor eax, eax
mov dword [ebp - 0x10], eax
jmp 0x4324f4
mov eax, dword [edi + 0x1c]
mov ebx, 0xffff
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], ebx
cmp eax, ebx
jae 0x4324f9
mov ebx, eax
mov dword [ebp - 0x18], eax
push esi
push 0x404
call fcn.0058faf8
mov esi, eax
add esp, 4
test esi, esi
jne 0x432521
pop esi
pop ebx
or eax, 0xffffffff
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00572b23
mov esp, ebp
pop ebp
ret
mov eax, 4
mov dword [ebp - 0xc], 0xffffffff
cmp ebx, eax
jbe 0x432619
mov edx, dword [ebp - 0x10]
add eax, 0x400
cmp eax, ebx
mov ecx, eax
mov eax, 0x404
cmova ecx, ebx
sub edx, ecx
mov dword [ebp - 0x20], ecx
cmp ecx, 0x404
mov dword [ebp - 0x1c], edx
mov ebx, ecx
cmova ebx, eax
cmp byte [edi], 0
je 0x432580
cmp byte [edi + 1], 0
je 0x432619
mov eax, dword [edi + 0xc]
push 0
push 0
add eax, edx
push eax
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x432583
mov dword [edi + 0x1c], edx
cmp byte [edi], 0
mov ecx, ebx
mov dword [ebp - 0x14], ebx
je 0x4325ab
push 0
lea eax, [ebp - 8]
push eax
push ebx
push esi
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4325a6
mov byte [edi + 8], 1
mov eax, dword [ebp - 8]
jmp 0x4325d4
mov edx, dword [edi + 0x1c]
lea eax, [edx + ebx]
cmp eax, dword [edi + 0x18]
jbe 0x4325be
mov ecx, dword [edi + 0x18]
sub ecx, edx
mov dword [ebp - 0x14], ecx
push ecx
mov ecx, dword [edi + 0x14]
add ecx, edx
push ecx
push esi
call fcn.0058bfe0
mov eax, dword [ebp - 0x14]
add esp, 0xc
add dword [edi + 0x1c], eax
xor edx, edx
div ebx
cmp eax, 1
jne 0x432619
lea eax, [ebx - 3]
test eax, eax
js 0x432604
dec eax
cmp byte [eax + esi], 0x50
jne 0x432600
cmp byte [eax + esi + 1], 0x4b
jne 0x432600
cmp byte [eax + esi + 2], 5
jne 0x432600
cmp byte [eax + esi + 3], 6
je 0x432636
test eax, eax
jns 0x4325e4
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x432619
mov eax, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x18]
cmp eax, ebx
jb 0x432535
push esi
call fcn.0058faf3
mov ecx, dword [ebp - 4]
add esp, 4
mov eax, dword [ebp - 0xc]
xor ecx, ebp
pop esi
pop ebx
pop edi
call fcn.00572b23
mov esp, ebp
pop ebp
ret
add eax, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
jmp 0x432607
Function at 0x433000
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push edi
mov edi, ecx
mov ebx, edx
test edi, edi
jne 0x43301b
pop edi
mov eax, 0xffffff9a
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [edi + 0x18], 0
je 0x433010
cmp dword [edi + 0x7c], 0
je 0x43302c
call fcn.00433470
lea eax, [ebp - 8]
mov ecx, edi
push eax
lea eax, [ebp - 4]
push eax
lea edx, [ebp - 0xc]
call fcn.00432d70
add esp, 8
test eax, eax
je 0x433050
pop edi
mov eax, 0xffffff99
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push 0x84
call fcn.0058faf8
mov esi, eax
add esp, 4
test esi, esi
je 0x433093
push 0x4000
call fcn.0058faf8
mov ecx, dword [ebp - 4]
add esp, 4
mov dword [esi + 0x44], ecx
mov ecx, dword [ebp - 8]
mov dword [esi], eax
mov dword [esi + 0x48], ecx
mov dword [esi + 0x4c], 0
test eax, eax
jne 0x43309f
push esi
call fcn.0058faf3
add esp, 4
pop esi
pop edi
mov eax, 0xffffff98
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esi + 0x40], 0
mov ecx, dword [edi + 0x34]
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x54], eax
mov dword [esi + 0x50], 0
mov eax, dword [edi + 0x34]
mov dword [esi + 0x64], eax
mov eax, dword [edi]
mov dword [esi + 0x60], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0x68], eax
mov dword [esi + 0x18], 0
test ecx, ecx
je 0x4330fa
lea ecx, [esi + 4]
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
call fcn.00431d90
test eax, eax
jne 0x4330fa
mov dword [esi + 0x40], 1
mov eax, dword [edi + 0x40]
mov dword [esi + 0x58], eax
mov eax, dword [edi + 0x44]
mov dword [esi + 0x5c], eax
mov al, byte [edi + 0x30]
and al, 1
mov byte [esi + 0x6c], al
mov eax, dword [edi + 0x30]
shr eax, 3
test al, 1
je 0x43311d
mov al, byte [edi + 0x39]
jmp 0x433120
mov al, byte [edi + 0x3f]
mov byte [esi + 0x80], al
mov ecx, 0xc
xor eax, eax
cmp byte [esi + 0x6c], al
cmovne eax, ecx
mov dword [esi + 0x7c], eax
mov dword [esi + 0x70], 0x12345678
mov dword [esi + 0x74], 0x23456789
mov dword [esi + 0x78], 0x34567890
test ebx, ebx
je 0x43319e
nop
mov al, byte [ebx]
test al, al
je 0x43319e
mov ecx, dword [esi + 0x70]
movsx eax, al
xor eax, dword [esi + 0x70]
movzx eax, al
shr ecx, 8
mov eax, dword [eax*4 + 0x61ad20]
xor eax, ecx
mov ecx, dword [esi + 0x78]
mov dword [esi + 0x70], eax
movzx eax, al
add eax, dword [esi + 0x74]
imul eax, eax, 0x8088405
inc eax
mov dword [esi + 0x74], eax
shr eax, 0x18
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x61ad20]
mov dword [esi + 0x78], ecx
add ebx, 1
jne 0x433150
mov eax, dword [ebp - 0xc]
add eax, 0x1e
add eax, dword [edi + 0x78]
mov dword [esi + 0x3c], eax
xor eax, eax
mov dword [esi + 8], 0
mov dword [edi + 0x7c], esi
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x433570
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x433613
cmp dword [esi + 4], 0xffffffff
jne 0x433613
push edi
lea edi, [esi + 0x244]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4335a2
sub ecx, edx
sar ecx, 1
movzx eax, word [esi + ecx*2 + 0x242]
cmp eax, 0x5c
je 0x4335d6
cmp eax, 0x2f
je 0x4335d6
push 0x61d794
push 0x104
push edi
call fcn.00592fb6
add esp, 0xc
lea eax, [ebp - 4]
push eax
push ecx
mov ecx, dword [ebp + 8]
call fcn.004321f0
add esp, 8
pop edi
test eax, eax
jne 0x4335f5
mov eax, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret 0xc
mov ecx, eax
call fcn.00432640
xor ecx, ecx
mov dword [esi], eax
test eax, eax
mov edx, 0x200
pop esi
cmove ecx, edx
mov eax, ecx
mov esp, ebp
pop ebp
ret 0xc
mov eax, 0x1000000
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x433c50
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x63506c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, ecx
mov ebx, edx
test edi, edi
je 0x433c82
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x433c82
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
movzx eax, word [ebx]
test ax, ax
je 0x433d43
push esi
mov esi, ebx
mov ecx, ebx
cmp ax, 0x2f
je 0x433c9f
cmp ax, 0x5c
jne 0x433ca1
mov esi, ecx
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x433c93
cmp esi, ebx
je 0x433cea
sub esi, ebx
lea eax, [ebp - 0x414]
and esi, 0xfffffffe
push esi
push ebx
push eax
call fcn.0058bfe0
add esp, 0xc
cmp esi, 0x208
jae 0x433d53
xor eax, eax
lea edx, [ebp - 0x414]
mov ecx, edi
mov word [ebp + esi - 0x414], ax
call fcn.00433c50
xor eax, eax
mov word [ebp - 0x20c], ax
pop esi
test edi, edi
je 0x433d0d
push edi
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0059302b
add esp, 0xc
push ebx
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.00592fb6
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x433d43
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.00572b23
mov esp, ebp
pop ebp
ret
call fcn.00573169
int3
Function at 0x435f40
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b88c6
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x63506c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x14]
mov esi, dword [ebp + 0x10]
cmp dword [eax + 0x14], 8
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], edi
jb 0x435f85
mov eax, dword [eax]
lea edx, [ebp - 0x38]
push edx
push 0x20019
push 0
push eax
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x435fa4
xor al, al
jmp 0x436131
lea eax, [ebp - 0x34]
mov dword [edi], 0
push eax
push 0
lea eax, [ebp - 0x30]
mov byte [ebp - 0x29], 0
push eax
push 0
mov ecx, ebx
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
call fcn.00421f60
push eax
push dword [ebp - 0x38]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, 0xea
je 0x435fe8
test eax, eax
jne 0x436125
mov eax, dword [ebp - 0x34]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00572b34
mov ecx, dword [ebp - 0x34]
add esp, 4
mov ebx, eax
test ecx, ecx
je 0x43601d
xor eax, eax
mov edi, ebx
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov edi, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x40]
lea eax, [ebp - 0x34]
push eax
push ebx
lea eax, [ebp - 0x30]
push eax
push 0
call fcn.00421f60
push eax
push dword [ebp - 0x38]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x436116
mov eax, dword [ebp - 0x30]
cmp eax, 1
jne 0x436082
cmp word [ebx], 0
jne 0x436060
xor ecx, ecx
push ecx
push ebx
mov ecx, esi
call fcn.00423580
jmp 0x43610d
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x436065
sub ecx, edx
sar ecx, 1
push ecx
push ebx
mov ecx, esi
call fcn.00423580
jmp 0x43610d
cmp eax, 7
je 0x436090
cmp eax, 2
jne 0x436110
mov eax, dword [ebp - 0x34]
xor ecx, ecx
inc eax
mov word [ebp - 0x28], cx
shr eax, 1
lea ecx, [ebp - 0x28]
push eax
push ebx
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
call fcn.00423580
lea eax, [ebp - 0x28]
cmp esi, eax
je 0x4360f8
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x4360ce
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.00423720
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x4360e6
mov eax, dword [esi]
jmp 0x4360e8
mov eax, esi
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x28]
push eax
mov ecx, esi
call fcn.004230a0
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x43610d
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00423720
mov eax, dword [ebp - 0x30]
mov dword [edi], eax
mov byte [ebp - 0x29], 1
test ebx, ebx
je 0x436125
push 2
push ebx
call fcn.00572b98
add esp, 8
push dword [ebp - 0x38]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [ebp - 0x29]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00572b23
mov esp, ebp
pop ebp
ret 0x14
Function at 0x436150
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 8
jb 0x436166
mov eax, dword [eax]
push 0
lea edx, [ebp - 4]
push edx
push 0
push 0x2001b
push 0
push 0
push 0
push eax
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x43618e
xor al, al
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [ebp + 0x10]
cmp dword [ecx + 0x14], 8
mov eax, dword [ecx + 0x10]
jb 0x43619c
mov ecx, dword [ecx]
mov edx, dword [ebp + 0xc]
cmp dword [edx + 0x14], 8
jb 0x4361a7
mov edx, dword [edx]
push ebx
lea eax, [eax*2 + 2]
mov bl, 1
push eax
push ecx
push 1
push 0
push edx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
xor ecx, ecx
movzx ebx, bl
test eax, eax
cmovne ebx, ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x436690
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b89ef
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x63506c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x5c], esi
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x60], 0
xor eax, eax
push 7
push str.Desktop
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call fcn.00423580
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x28]
push 0x40
xor eax, eax
mov dword [ebp - 0x14], 7
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00423580
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x5c], reloc.WS2_32.dll_accept
push eax
lea edx, [ebp - 0x5c]
mov ecx, esi
call fcn.00436510
add esp, 8
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x60], 1
cmp eax, 8
jb 0x436759
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00423720
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], al
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
cmp eax, 8
jb 0x436785
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00423720
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
cmp dword [esi + 0x10], eax
jne 0x436800
mov edx, 0x5bf890
lea ecx, [ebp - 0x58]
call fcn.00436450
mov edi, eax
cmp esi, edi
je 0x4367eb
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x4367c4
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.00423720
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x4367dc
mov eax, dword [esi]
jmp 0x4367de
mov eax, esi
xor ecx, ecx
mov word [eax], cx
mov ecx, esi
push edi
call fcn.004230a0
mov ecx, dword [ebp - 0x44]
cmp ecx, 8
jb 0x436800
inc ecx
push ecx
push dword [ebp - 0x58]
lea ecx, [ebp - 0x58]
call fcn.00423720
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00572b23
mov esp, ebp
pop ebp
ret
Function at 0x436820
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b89ef
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x63506c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x5c], esi
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x60], 0
xor eax, eax
push 8
push str.Programs
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call fcn.00423580
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x28]
push 0x40
xor eax, eax
mov dword [ebp - 0x14], 7
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00423580
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x5c], reloc.WS2_32.dll_accept
push eax
lea edx, [ebp - 0x5c]
mov ecx, esi
call fcn.00436510
add esp, 8
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x60], 1
cmp eax, 8
jb 0x4368e9
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00423720
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], al
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
cmp eax, 8
jb 0x436915
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00423720
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
cmp dword [esi + 0x10], eax
jne 0x436990
mov edx, 0x5bf8a0
lea ecx, [ebp - 0x58]
call fcn.00436450
mov edi, eax
cmp esi, edi
je 0x43697b
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x436954
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.00423720
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x43696c
mov eax, dword [esi]
jmp 0x43696e
mov eax, esi
xor ecx, ecx
mov word [eax], cx
mov ecx, esi
push edi
call fcn.004230a0
mov ecx, dword [ebp - 0x44]
cmp ecx, 8
jb 0x436990
inc ecx
push ecx
push dword [ebp - 0x58]
lea ecx, [ebp - 0x58]
call fcn.00423720
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00572b23
mov esp, ebp
pop ebp
ret
Function at 0x4369b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b8a39
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x63506c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x436a08
mov eax, dword [esi]
jmp 0x436a0a
mov eax, esi
xor ecx, ecx
mov word [eax], cx
mov dword [ebp - 4], ecx
mov ecx, dword [esi + 0x10]
mov dword [ebp - 0x10], 1
cmp ecx, 0x104
jb 0x436a4b
mov dword [esi + 0x10], 0x104
cmp dword [esi + 0x14], 8
jb 0x436a3e
mov eax, dword [esi]
xor ecx, ecx
mov word [eax + 0x208], cx
jmp 0x436a5c
mov eax, esi
xor ecx, ecx
mov word [eax + 0x208], cx
jmp 0x436a5c
mov eax, 0x104
sub eax, ecx
mov ecx, esi
push 0
push eax
call fcn.00435260
cmp dword [esi + 0x14], 8
jb 0x436a66
mov eax, dword [esi]
jmp 0x436a68
mov eax, esi
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov ecx, dword [esi + 0x10]
cmp eax, ecx
ja 0x436ab8
mov dword [esi + 0x10], eax
cmp dword [esi + 0x14], 8
jb 0x436a9e
mov ecx, dword [esi]
xor edx, edx
mov word [ecx + eax*2], dx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, esi
xor edx, edx
mov word [ecx + eax*2], dx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
sub eax, ecx
mov ecx, esi
push 0
push eax
call fcn.00435260
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x436ae0
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b89ef
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x63506c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x5c], esi
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x60], 0
xor eax, eax
push 7
push str.AppData
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call fcn.00423580
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x28]
push 0x40
xor eax, eax
mov dword [ebp - 0x14], 7
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00423580
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x5c], reloc.WS2_32.dll_accept
push eax
lea edx, [ebp - 0x5c]
mov ecx, esi
call fcn.00436510
add esp, 8
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x60], 1
cmp eax, 8
jb 0x436ba9
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00423720
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], al
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
cmp eax, 8
jb 0x436bd5
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00423720
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
cmp dword [esi + 0x10], eax
jne 0x436c50
mov edx, 0x5bf8b0
lea ecx, [ebp - 0x58]
call fcn.00436450
mov edi, eax
cmp esi, edi
je 0x436c3b
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x436c14
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.00423720
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x436c2c
mov eax, dword [esi]
jmp 0x436c2e
mov eax, esi
xor ecx, ecx
mov word [eax], cx
mov ecx, esi
push edi
call fcn.004230a0
mov ecx, dword [ebp - 0x44]
cmp ecx, 8
jb 0x436c50
inc ecx
push ecx
push dword [ebp - 0x58]
lea ecx, [ebp - 0x58]
call fcn.00423720
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00572b23
mov esp, ebp
pop ebp
ret