joyce8/EMBER2024-capa huggingface dataset:
Function at 0x411d50
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 0xc]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp - 4], 0
call fcn.0048e8c0
mov edi, eax
test edi, edi
je 0x411d95
push 0x608e08
lea eax, [ebp - 4]
push ebx
push eax
call fcn.005dd4fc
add esp, 0xc
cmp dword [ebp - 4], 0
jne 0x411d9e
push edi
call fcn.0048e880
add esp, 4
pop edi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push 0
push 0x2a
push edi
call fcn.0048e920
push dword [ebp + 8]
push 0x2712
push edi
call fcn.0048e920
push 1
push 0x34
push edi
mov esi, eax
call fcn.0048e920
push 0x1e
push 0xd
push edi
call fcn.0048e920
push 1
push 0x63
push edi
call fcn.0048e920
push 0x493e0
push 0x9b
push edi
call fcn.0048e920
add esp, 0x48
test esi, esi
jne 0x411e2c
push 0x413160
push 0x4e2b
push edi
call fcn.0048e920
add esp, 0xc
test eax, eax
jne 0x411e2c
push eax
push 0x40
push edi
call fcn.0048e920
push esi
push 0x51
push edi
call fcn.0048e920
push dword [ebp - 4]
push 0x2711
push edi
call fcn.0048e920
add esp, 0x24
test eax, eax
je 0x411e52
push dword [ebp - 4]
call fcn.005dd2cc
mov eax, dword [sym.imp.KERNEL32.dll_DeleteFileA]
add esp, 4
push ebx
call eax
push edi
call fcn.0048e880
add esp, 4
or eax, 0xffffffff
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
call fcn.0048e900
mov esi, eax
add esp, 4
test esi, esi
je 0x411ea6
push dword [ebp - 4]
call fcn.005dd2cc
mov eax, dword [sym.imp.KERNEL32.dll_DeleteFileA]
add esp, 4
push ebx
call eax
push esi
call fcn.0048ee80
add esp, 4
push eax
push str.curl_easy_perform___failed:__s_n
push 2
call fcn.005d964c
add esp, 4
push eax
call fcn.00413170
push edi
call fcn.0048e880
add esp, 0x10
or eax, 0xffffffff
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 8]
mov dword [ebp - 8], 0xffffffff
push eax
push 0x200002
push edi
call fcn.0048e8a0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x411ece
cmp dword [ebp - 8], 0xc8
je 0x411ed3
mov esi, 0x16
push dword [ebp - 4]
call fcn.005dd2cc
push edi
call fcn.0048e880
add esp, 8
mov eax, esi
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x416ba0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xfa4
mov eax, dword [0x69cef4]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x7d0
lea eax, [ebp - 0xfa4]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [ebp - 0xfa4]
add eax, 0xfffffffe
nop
mov cx, word [eax + 2]
lea eax, [eax + 2]
test cx, cx
jne 0x416bd0
mov ecx, dword [0x60a404]
mov dword [eax], ecx
mov ecx, dword [0x60a408]
mov dword [eax + 4], ecx
mov ecx, dword [str.1Zs]
mov dword [eax + 8], ecx
mov ecx, dword [0x60a410]
mov dword [eax + 0xc], ecx
mov cx, word [0x60a414]
mov word [eax + 0x10], cx
lea eax, [ebp - 0xfa4]
push eax
call fcn.00420250
xor ecx, ecx
add esp, 4
test al, al
setne cl
mov eax, ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005ca59c
mov esp, ebp
pop ebp
ret
Function at 0x41a330
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fd4f8
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push esi
mov eax, dword [0x69cef4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0x104
call fcn.004079b0
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 0
call fcn.00407a20
test eax, eax
lea eax, [ebp - 0x10]
push eax
je 0x41a3b3
push 0xf013f
push 0
push str.SoftWare
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41a422
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0xf013f
jmp 0x41a3da
push 0xf003f
push 0
push str.SoftWare
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41a422
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push dword [ebp + 8]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x41a3fb
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x41a422
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 0x10]
push 0
push 0
push dword [ebp + 0xc]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x14]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x10]
call esi
lea ecx, [ebp - 0x3c]
call fcn.00407a00
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x41abc0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fe5e6
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x69cef4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
push 0
push eax
mov dword [ebp - 0x24c], esi
call fcn.005d4520
add esp, 0xc
lea eax, [ebp - 0x218]
push 0
push 0x19
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x41ad0e
xor eax, eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
cmp word [ebp - 0x218], ax
jne 0x41ac53
xor ecx, ecx
jmp 0x41ac6f
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41ac60
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00407280
push 1
push 0x608b38
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0
call fcn.0040fbd0
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push esi
cmovae eax, dword [ebp - 0x230]
mov ecx, ebx
push eax
call fcn.0041a530
mov esi, eax
test esi, esi
je 0x41ace3
mov ecx, dword [ebp - 0x21c]
cmp ecx, 8
jb 0x41acdc
inc ecx
push ecx
push dword [ebp - 0x230]
lea ecx, [ebp - 0x230]
call fcn.00407380
mov eax, esi
jmp 0x41adbd
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 4], 0xffffffff
cmp eax, 8
jb 0x41ad08
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.00407380
mov esi, dword [ebp - 0x24c]
push 0
push 0x10
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x41adbb
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x248]
call fcn.00405d50
push 1
push 0x608b38
lea ecx, [ebp - 0x248]
mov dword [ebp - 4], 1
call fcn.0040fbd0
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
push esi
cmovae eax, dword [ebp - 0x248]
mov ecx, ebx
push eax
call fcn.0041a530
mov esi, eax
test esi, esi
je 0x41ad9d
mov ecx, dword [ebp - 0x234]
cmp ecx, 8
jb 0x41acdc
inc ecx
push ecx
push dword [ebp - 0x248]
lea ecx, [ebp - 0x248]
call fcn.00407380
mov eax, esi
jmp 0x41adbd
mov eax, dword [ebp - 0x234]
cmp eax, 8
jb 0x41adbb
inc eax
lea ecx, [ebp - 0x248]
push eax
push dword [ebp - 0x248]
call fcn.00407380
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005ca59c
mov esp, ebp
pop ebp
ret 4
Function at 0x41ade0
Capabilities:
Get installed programs
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x69cef4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
xor esi, esi
mov dword [ebp - 0x428], eax
test eax, eax
jne 0x41ae16
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005ca59c
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x418]
mov dword [ebp - 0x418], esi
push eax
push 9
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall_
push reloc.WS2_32.dll_accept
mov dword [ebp - 0x41c], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41ae03
push ebx
push edi
push 0x208
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.005d4520
add esp, 0xc
lea eax, [ebp - 0x20c]
xor edi, edi
push 0x104
push eax
push edi
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x41af45
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x41af23
push 0x208
push eax
lea eax, [ebp - 0x414]
mov dword [ebp - 0x420], 0x104
push eax
call fcn.005d4520
add esp, 0xc
mov dword [ebp - 0x424], 1
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x424]
push eax
push 0
push str.DisplayName
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41af17
push dword [ebp - 0x428]
lea eax, [ebp - 0x414]
push eax
call fcn.005d611d
add esp, 8
test eax, eax
mov eax, 1
cmovne esi, eax
push dword [ebp - 0x41c]
call ebx
test esi, esi
jne 0x41af45
push 0x104
lea eax, [ebp - 0x20c]
inc edi
push eax
push edi
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x41ae81
push dword [ebp - 0x418]
call ebx
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop ebx
xor ecx, ebp
pop esi
call fcn.005ca59c
mov esp, ebp
pop ebp
ret 4
Function at 0x41ba80
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x69cef4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
test edi, edi
jne 0x41bab2
pop edi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005ca59c
mov esp, ebp
pop ebp
ret 4
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], ebx
push 0
push eax
call fcn.005d4520
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push 0x109
push 0
push str.SYSTEMCurrentControlSetServices_
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41bb4f
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
lea eax, [ebp - 0x20c]
push esi
push 0x104
push eax
xor esi, esi
push esi
push dword [ebp - 0x210]
call ebx
test eax, eax
jne 0x41bb40
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.005de8ec
add esp, 8
test eax, eax
je 0x41bb63
push 0x104
lea eax, [ebp - 0x20c]
inc esi
push eax
push esi
push dword [ebp - 0x210]
call ebx
test eax, eax
je 0x41bb12
xor ebx, ebx
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
xor ecx, ebp
pop ebx
call fcn.005ca59c
mov esp, ebp
pop ebp
ret 4
mov ebx, 1
jmp 0x41bb42
Function at 0x41c190
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fe77b
mov eax, dword fs:[0]
push eax
sub esp, 0x840
mov eax, dword [0x69cef4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
push 0
push eax
call fcn.005d4520
add esp, 0xc
lea eax, [ebp - 0x218]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor eax, eax
mov dword [ebp - 0x834], 7
mov dword [ebp - 0x838], 0
mov word [ebp - 0x848], ax
cmp word [ebp - 0x218], ax
jne 0x41c215
xor ecx, ecx
jmp 0x41c22f
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41c220
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x848]
call fcn.00407280
push 0x3e
push str.MicrosoftInternet_ExplorerQuick_LaunchUser_PinnedTaskBar_
lea ecx, [ebp - 0x848]
mov dword [ebp - 4], 0
call fcn.0040fbd0
cmp word [esi], 0
jne 0x41c265
xor ecx, ecx
jmp 0x41c27f
mov ecx, esi
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41c270
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x848]
call fcn.0040fbd0
push 4
push 0x60ad70
lea ecx, [ebp - 0x848]
call fcn.0040fbd0
cmp dword [ebp - 0x834], 8
lea eax, [ebp - 0x848]
cmovae eax, dword [ebp - 0x848]
push eax
call fcn.00420250
add esp, 4
test al, al
je 0x41c3b2
push 0x208
lea eax, [ebp - 0x830]
push 0
push eax
call fcn.005d4520
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.005d4520
add esp, 0x18
lea ecx, [ebp - 0x848]
cmp dword [ebp - 0x834], 8
lea edx, [ebp - 0x830]
cmovae ecx, dword [ebp - 0x848]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx], ax
lea edx, [edx + 2]
test ax, ax
jne 0x41c306
lea eax, [ebp - 0x628]
mov ecx, edi
push eax
lea eax, [ebp - 0x830]
push eax
call fcn.0041a210
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.005d4520
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x104
push eax
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41c364
sub ecx, edx
sar ecx, 1
jne 0x41c398
xor ecx, ecx
nop word [eax + eax]
movzx eax, word [ebp + ecx - 0x628]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x422], ax
test ax, ax
jne 0x41c380
lea eax, [ebp - 0x420]
push eax
call fcn.00420250
add esp, 4
test al, al
je 0x41c3b2
mov esi, 1
jmp 0x41c3b4
xor esi, esi
mov ecx, dword [ebp - 0x834]
cmp ecx, 8
jb 0x41c3d2
inc ecx
push ecx
push dword [ebp - 0x848]
lea ecx, [ebp - 0x848]
call fcn.00407380
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.005ca59c
mov esp, ebp
pop ebp
ret 4
Function at 0x41c400
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x69cef4]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [0x69f7b4]
test al, al
jne 0x41c4a3
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.005d4520
add esp, 0xc
lea eax, [ebp - 0x20c]
push 1
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x41c49e
lea eax, [ebp - 0x20c]
push eax
call fcn.005dec0f
lea eax, [ebp - 0x20c]
push 0x60ae54
push eax
call fcn.005d611d
add esp, 0xc
test eax, eax
jne 0x41c489
lea eax, [ebp - 0x20c]
push str.documents_and_settingslocalservice
push eax
call fcn.005d611d
add esp, 8
test eax, eax
je 0x41c49e
mov al, 1
mov byte [0x69f7b4], al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005ca59c
mov esp, ebp
pop ebp
ret
mov al, byte [0x69f7b4]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005ca59c
mov esp, ebp
pop ebp
ret
Function at 0x41d2d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x69cef4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push esi
push 0x208
push 0
push eax
mov esi, ecx
call fcn.005d4520
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0
push 0x17
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x41d356
push edi
lea edi, [ebp - 0x20c]
add edi, 0xfffffffe
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x41d321
mov eax, dword [0x608b38]
mov ecx, esi
mov dword [edi], eax
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.0041c4c0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005ca59c
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
pop ebx
call fcn.005ca59c
mov esp, ebp
pop ebp
ret 4
Function at 0x4207b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
mov dword [ebp - 8], ebx
cmp ebx, 0xffffffff
je 0x4208c9
call fcn.0048bc10
test al, al
je 0x42080a
push edi
push eax
push esp
pop edx
pop edx
pop edx
pop ebp
push ebp
pop ebp
push edx
pop ecx
push esp
push ebp
push ebp
push esi
pop esi
push ebx
push eax
pop ecx
pop esi
pop edx
push ebx
pop esp
pop esi
pop ebp
push ebp
pop esp
push ecx
pop edx
pop ebp
pop edi
call fcn.0048bba0
test al, al
je 0x420831
push ebx
pop ecx
push edi
pop ebx
push esi
pop ebx
pop ecx
push ecx
pop esi
pop edi
pop ecx
pop edx
push ebx
push esp
pop esi
pop esp
pop edx
push esp
pop ecx
pop edx
push ecx
push edi
push ecx
pop edx
push esi
pop esi
pop ebp
mov ebx, dword [ebp - 8]
push 0
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.0048b660
test al, al
je 0x42086f
push ebx
push edx
pop edi
pop esp
push esp
pop eax
push edx
pop edi
pop ebp
push esi
push edi
push edi
push edi
push ebp
pop esi
pop ebp
pop esi
call fcn.0048be40
test al, al
je 0x420895
push edx
pop esi
push esp
pop ebx
pop eax
push edi
push ebp
push eax
pop ebx
pop esp
push edi
push esp
pop edx
pop edx
push edi
push edx
push esi
pop ecx
pop eax
pop ebx
pop eax
push esp
pop edi
push ecx
pop esp
pop ebp
pop esp
pop ebp
push esi
call fcn.0048bf20
test al, al
je 0x4208af
pop edi
pop esi
push edx
push esp
pop eax
push esp
pop edx
push ebp
push edx
push edx
push edx
push edi
pop ebp
push esp
pop eax
pop esi
pop esp
cmp dword [ebp - 8], 0
je 0x4208c9
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp - 4]
jne 0x4208c9
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4242a0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4242b1
sub ecx, edx
mov edx, 2
sar ecx, 1
mov dword [ebp - 0xc], ecx
lea eax, [ecx + 1]
xor ecx, ecx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.005caab7
add esp, 4
mov dword [ebp + 8], eax
sub eax, esi
movzx ecx, word [esi]
lea esi, [esi + 2]
mov word [eax + esi - 2], cx
test cx, cx
jne 0x4242e4
call fcn.0048b890
test al, al
je 0x424313
push eax
pop edx
pop edi
pop edi
push ebp
pop ecx
push ecx
push edi
push esp
push edi
push esi
push ebp
pop esi
pop ecx
pop esp
push esi
pop esp
push ecx
push esp
push eax
pop ecx
pop ecx
call fcn.0048b9e0
test al, al
je 0x424338
pop ebx
push ecx
pop edx
push ebp
push edx
pop edi
pop edi
pop esp
push ebp
pop esi
pop edx
pop ebp
pop esi
pop edx
push edi
pop ebp
push ebp
push edi
push ebp
pop edx
push ebp
push esi
pop esi
pop esi
pop ebp
push edx
push ebp
pop esp
call fcn.0048b890
test al, al
je 0x424358
pop esi
push ebp
pop edx
pop edx
push ebp
push edi
pop eax
push ebp
pop edx
pop ecx
pop esp
push esp
pop edi
push esp
pop edx
push ebp
push esi
push edi
push edi
pop ebx
pop ebp
pop ebx
push esp
mov ebx, dword [ebp - 0xc]
xor esi, esi
mov edi, dword [ebp + 8]
mov dword [ebp - 8], esi
mov dword [ebp - 4], 1
test ebx, ebx
js 0x4243e0
nop
cmp word [edi + esi*2], 0x5c
jne 0x4243d1
call fcn.0048b740
test al, al
je 0x4243a3
push edi
pop ecx
push esi
push ebx
push edi
push ebp
push ebp
push esp
pop eax
pop edi
pop ecx
pop ebp
pop ecx
pop esp
push esi
pop eax
pop ebp
push ebp
push ebp
push eax
pop edi
push edx
push eax
push eax
pop ebp
push ebx
pop edx
push ebp
pop esi
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
movzx eax, word [edi + esi*2]
mov dword [ebp - 0xc], eax
xor eax, eax
push edi
mov word [edi + esi*2], ax
call fcn.00420250
add esp, 4
test al, al
jne 0x4243ca
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x4243f3
mov eax, dword [ebp - 0xc]
mov word [edi + esi*2], ax
inc esi
mov dword [ebp - 8], esi
cmp esi, ebx
jle 0x424370
mov dword [ebp - 4], 1
push edi
call fcn.005ca5eb
mov eax, dword [ebp - 4]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
mov dword [ebp - 4], 0
call fcn.005ca5eb
mov eax, dword [ebp - 4]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x425840
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x69cef4]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x69f948], 0
push ebx
push esi
push edi
je 0x425886
call fcn.0048bdd0
test al, al
je 0x425959
pop edx
pop eax
pop eax
push ebp
push edx
pop ebx
push esi
pop ecx
push esp
push eax
push esp
pop ebp
push ebx
pop ebp
pop ecx
pop ebp
push eax
pop edx
push ebx
pop ebp
push ebp
jmp 0x425959
call fcn.0048b6d0
test al, al
je 0x4258a9
pop edx
pop edx
push esi
pop esp
pop edi
pop eax
pop ebx
push eax
pop edx
push eax
push eax
push eax
pop ebp
push esi
push edi
push esp
push ecx
push ebx
pop edx
push ebx
push esp
push edx
push ebx
pop edi
push esp
push ebx
call fcn.0048bac0
test al, al
je 0x4258cb
pop edi
pop esi
push ecx
pop ecx
pop edi
push ebx
pop ebx
push esp
pop esi
pop ebx
pop edx
push esp
pop ebx
pop edx
pop ebp
pop esp
pop edx
push esi
push esi
push ecx
pop ebx
push eax
pop edi
push edx
push edx
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.005d4520
add esp, 0xc
lea eax, [ebp - 0x20c]
push 1
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x42593b
lea eax, [ebp - 0x20c]
push eax
call fcn.005dec0f
lea eax, [ebp - 0x20c]
push 0x60ae54
push eax
call fcn.005d611d
add esp, 0xc
test eax, eax
jne 0x425934
lea eax, [ebp - 0x20c]
push str.documents_and_settingslocalservice
push eax
call fcn.005d611d
add esp, 8
test eax, eax
je 0x42593b
mov byte [0x69f948], 1
call fcn.0048b660
test al, al
je 0x425959
push ecx
push ecx
push esi
pop ebp
pop ebx
push esp
push ebx
push ecx
pop eax
pop ebp
pop ebp
pop ecx
pop edx
pop edi
push edi
push esi
push esp
push ebp
push eax
pop eax
pop edx
mov ecx, dword [ebp - 4]
mov al, byte [0x69f948]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.005ca59c
mov esp, ebp
pop ebp
ret
Function at 0x425970
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fef1b
mov eax, dword fs:[0]
push eax
sub esp, 0x138
mov eax, dword [0x69cef4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov al, byte [0x69f949]
test al, al
jne 0x425a9e
push 0x104
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.005d4520
add esp, 0xc
lea eax, [ebp - 0x114]
push 1
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x425a99
push str.config_systemprofile
lea ecx, [ebp - 0x144]
call fcn.0040fe40
lea eax, [ebp - 0x114]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x12c]
call fcn.0040fe40
push dword [ebp - 0x134]
cmp dword [ebp - 0x130], 0x10
lea eax, [ebp - 0x144]
push 0
cmovae eax, dword [ebp - 0x144]
lea ecx, [ebp - 0x12c]
push eax
call fcn.00411510
movzx ecx, byte [0x69f949]
cmp eax, 0xffffffff
mov eax, dword [ebp - 0x118]
mov edx, 1
cmovne ecx, edx
mov byte [0x69f949], cl
cmp eax, 0x10
jb 0x425a60
inc eax
lea ecx, [ebp - 0x12c]
push eax
push dword [ebp - 0x12c]
call fcn.0043d0f0
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x118], 0xf
mov dword [ebp - 0x11c], 0
mov byte [ebp - 0x12c], 0
cmp eax, 0x10
jb 0x425a99
inc eax
lea ecx, [ebp - 0x144]
push eax
push dword [ebp - 0x144]
call fcn.0043d0f0
mov al, byte [0x69f949]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005ca59c
mov esp, ebp
pop ebp
ret