joyce8/EMBER2024-capa huggingface dataset:
Function at 0x444d80
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
mov dword [esp + 0xc], 0
mov esi, edx
cmp dword [ecx + 0x14], 8
push edi
jb 0x444d9e
mov ecx, dword [ecx]
lea eax, [esp + 0x14]
mov dword [esp + 0x10], 0
push eax
lea eax, [esp + 0x14]
push eax
push 0
push 0x20006
push 0
push 0
push 0
push ecx
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x444e29
mov edi, dword [esp + 0x10]
test edi, edi
je 0x444e29
mov edx, dword [ebp + 8]
cmp dword [edx + 0x14], 8
jb 0x444de0
mov edx, dword [edx]
cmp dword [esi + 0x14], 8
jb 0x444de8
mov esi, dword [esi]
mov ecx, edx
lea ebx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x444df0
sub ecx, ebx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
push edi
sete bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x444e40
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
mov dword [esp + 0xc], 0
mov esi, edx
cmp dword [ecx + 0x14], 8
push edi
jb 0x444e5e
mov ecx, dword [ecx]
lea eax, [esp + 0x14]
mov dword [esp + 0x10], 0
push eax
lea eax, [esp + 0x14]
push eax
push 0
push 0x20006
push 0
push 0
push 0
push ecx
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x444ee9
mov edi, dword [esp + 0x10]
test edi, edi
je 0x444ee9
mov edx, dword [ebp + 8]
cmp dword [edx + 0x14], 8
jb 0x444ea0
mov edx, dword [edx]
cmp dword [esi + 0x14], 8
jb 0x444ea8
mov esi, dword [esi]
mov ecx, edx
lea ebx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x444eb0
sub ecx, ebx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
push edi
sete bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov edx, dword [ebp + 8]
push esi
lea esi, [ecx + 4]
mov dword [ebp - 4], 0
push 0xffffffffffffffff
mov ecx, esi
call fcn.004280c0
add esp, 4
test al, al
jne 0x445c26
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
je 0x445c1a
cmp eax, 0x21
je 0x445c1a
cmp eax, 5
jne 0x445bf5
mov eax, 0x3e8
pop esi
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x14], 8
jb 0x445bfd
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
sete cl
lea eax, [ecx*2 + 0x3e9]
pop esi
mov esp, ebp
pop ebp
ret 4
mov eax, 0x3ea
pop esi
mov esp, ebp
pop ebp
ret 4
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x445e00
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4b1780]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, edx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], 0
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx edi, ax
mov eax, 0x1400
cmp ax, di
je 0x445eaf
push 9
lea eax, [ebp - 0x18]
mov ebx, edi
push eax
push 0x59
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
cmp eax, 1
jle 0x445eaf
mov ecx, dword [ebp - 0x1c]
dec eax
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0041ab80
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x445e67
mov eax, dword [esi]
jmp 0x445e69
mov eax, esi
xor ecx, ecx
and edi, 0xfc00
mov word [eax], cx
xor eax, eax
cmp ax, di
je 0x445e9c
push 9
lea eax, [ebp - 0x18]
push eax
push 0x5a
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
cmp eax, 1
jle 0x445e9c
dec eax
mov ecx, esi
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0041ab80
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048f991
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0048f991
mov esp, ebp
pop ebp
ret
Function at 0x446188
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
call fcn.0044615a
mov eax, dword [ebp + 8]
lea ecx, [esi + 0xc]
push ecx
push eax
mov dword [esi + 8], eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [esi], eax
test eax, eax
je 0x4462c8
push ebx
xor ebx, ebx
inc ebx
push edi
mov edi, ebx
cmp dword [esi + 0xc], ebx
jle 0x4462af
mov eax, dword [esi]
push 0x401278
push dword [eax + edi*4]
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x4461de
mov dword [esi + 4], 0x401138
jmp 0x4462a5
mov eax, dword [esi]
push 0x401294
push dword [eax + edi*4]
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x4461fa
mov byte [esi + 0x14], bl
jmp 0x4462a5
mov eax, dword [esi]
push 0x4012a8
push dword [eax + edi*4]
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x446216
mov byte [esi + 0x15], bl
jmp 0x4462a5
mov eax, dword [esi]
push 0x4012c8
push dword [eax + edi*4]
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x4462a2
mov eax, dword [esi]
push 0x4012e0
push dword [eax + edi*4]
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x4462a2
mov eax, dword [esi]
push 0x401300
push dword [eax + edi*4]
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x446257
mov byte [esi + 0x17], bl
jmp 0x4462a5
mov eax, dword [esi]
push 0x401320
push dword [eax + edi*4]
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x446270
mov byte [esi + 0x18], bl
jmp 0x4462a5
mov eax, dword [esi]
push 0x401340
push dword [eax + edi*4]
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x446289
mov dword [esi + 0x10], ebx
jmp 0x4462a5
mov eax, dword [esi]
push 0x401354
push dword [eax + edi*4]
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x4462a5
mov byte [esi + 0x19], bl
jmp 0x4462a5
mov byte [esi + 0x16], bl
inc edi
cmp edi, dword [esi + 0xc]
jl 0x4461be
cmp byte [esi + 0x17], 0
jne 0x4462c6
cmp byte [esi + 0x15], 0
jne 0x4462c1
cmp byte [esi + 0x16], 0
je 0x4462c3
xor ebx, ebx
mov byte [esi + 0x14], bl
pop edi
pop ebx
xor eax, eax
cmp dword [esi], eax
pop esi
setne al
pop ebp
ret 4
Function at 0x44646e
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x4b2da4]
sub esp, 0x208
push ebx
xor ebx, ebx
push esi
test eax, eax
jne 0x4464f3
push 0x206
lea eax, [ebp - 0x206]
push ebx
push eax
call fcn.00447e1c
add esp, 0xc
mov esi, ebx
xor eax, eax
mov word [ebp - 0x208], ax
lea eax, [ebp - 0x208]
push 0x104
push eax
push dword [esi + 0x401384]
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
dec eax
cmp eax, 0x103
ja 0x4464db
push 8
push ebx
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [0x4b2da4], eax
jmp 0x4464e0
mov eax, dword [0x4b2da4]
test eax, eax
jne 0x4464f3
add esi, 4
cmp esi, 0xc
jb 0x44649b
mov eax, dword [0x4b2db0]
jmp 0x44652a
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x401458
push eax
call esi
push 0x401464
push dword [0x4b2da4]
mov dword [0x4b2da8], eax
call esi
push 0x401470
push dword [0x4b2da4]
mov dword [0x4b2dac], eax
call esi
mov dword [0x4b2db0], eax
cmp dword [0x4b2da8], ebx
je 0x446541
cmp dword [0x4b2dac], ebx
je 0x446541
test eax, eax
je 0x446541
xor ebx, ebx
inc ebx
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x446869
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
push dword [ebp + 8]
mov edi, 0x104
push edi
push esi
call fcn.00447f32
add esp, 0xc
test al, al
je 0x446918
push 0x401744
push edi
push esi
call fcn.00447f0a
add esp, 0xc
test al, al
je 0x446918
push edi
push esi
call fcn.00447f6d
mov ebx, eax
sub edi, ebx
pop ecx
pop ecx
cmp edi, 0xb
jb 0x446918
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
shr ecx, 0xc
xor eax, ecx
lea ecx, [esi + ebx*2]
push 0xa
mov dword [ebp + 0xc], eax
pop eax
push edi
dec eax
push ecx
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push 4
push eax
call fcn.00447eaf
add esp, 0x10
test al, al
je 0x446918
lea eax, [ebx + 5]
mov ecx, esi
push eax
call fcn.00447dff
push 0x401558
push 0x104
push esi
call fcn.00447f0a
add esp, 0xc
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x446921
inc dword [ebp + 0xc]
lea ecx, [esi + ebx*2]
mov eax, dword [ebp - 4]
test eax, eax
jne 0x4468c8
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x4133c4
push 0x104
push esi
call fcn.00447f0a
add esp, 0xc
jmp 0x44691a
Function at 0x446936
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x668
push ebx
push dword [ebp + 8]
xor eax, eax
mov ebx, 0x104
mov word [ebp - 0x254], ax
mov word [ebp - 0x45c], ax
lea eax, [ebp - 0x45c]
push ebx
push eax
call fcn.00447f32
add esp, 0xc
test al, al
je 0x446a74
push dword [ebp + 0xc]
lea eax, [ebp - 0x45c]
push ebx
push eax
call fcn.00447f0a
add esp, 0xc
test al, al
je 0x446a74
push 0x401570
lea eax, [ebp - 0x45c]
push ebx
push eax
call fcn.00447f0a
add esp, 0xc
test al, al
je 0x446a74
push esi
push edi
xor esi, esi
lea eax, [ebp - 0x24c]
push 0x24c
push esi
push eax
mov dword [ebp - 0x250], esi
call fcn.00447e1c
add esp, 0xc
lea eax, [ebp - 0x250]
push esi
push esi
push 1
push eax
push esi
lea eax, [ebp - 0x45c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov edi, eax
cmp edi, 0xffffffff
je 0x446a72
xor eax, eax
mov word [ebp - 0x460], ax
mov word [ebp - 0x668], ax
test byte [ebp - 0x250], 0x10
je 0x446a59
cmp word [ebp - 0x1c], 0
lea eax, [ebp - 0x224]
lea esi, [ebp - 0x1c]
cmove esi, eax
push esi
call fcn.00446cf2
pop ecx
test al, al
jne 0x446a59
push dword [ebp + 8]
lea eax, [ebp - 0x668]
push ebx
push eax
call fcn.00447f32
add esp, 0xc
test al, al
je 0x446a59
push esi
lea eax, [ebp - 0x668]
push ebx
push eax
call fcn.00447f0a
add esp, 0xc
test al, al
je 0x446a59
lea eax, [ebp - 0x668]
push eax
call fcn.00446f84
pop ecx
lea eax, [ebp - 0x250]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4469fb
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x446a79
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push esi
push dword [ebp + 0xc]
lea ecx, [ebp - 0x30]
call fcn.00419210
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x18]
call fcn.0041d320
push 0
push 1
lea ecx, [ebp - 0x30]
call fcn.0041a230
push 0x40169c
lea ecx, [ebp - 0x30]
call fcn.00419210
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x18]
call fcn.0041d980
mov ecx, eax
call fcn.0041db60
push eax
lea ecx, [ebp - 0x18]
call fcn.0041d370
lea ecx, [ebp - 0x48]
call fcn.00419320
lea ecx, [ebp - 0x60]
call fcn.00419320
push 0
push 1
lea ecx, [ebp - 0x30]
call fcn.0041a230
cmp dword [ebp - 4], 8
lea eax, [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmovae eax, dword [ebp - 0x18]
push eax
call esi
push dword [ebp + 0xc]
call esi
push dword [ebp + 0x10]
call esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ecx, [ebp - 0x18]
call fcn.00419320
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x446b24
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
xor eax, eax
push esi
mov word [ebp - 4], ax
mov esi, 0x104
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x446b74
cmp eax, esi
jae 0x446b74
xor esi, esi
push dword [esi + 0x401578]
lea eax, [ebp - 0x20c]
push eax
call fcn.00446936
add esi, 4
pop ecx
pop ecx
cmp esi, 8
jb 0x446b58
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x446f84
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x250
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, 0x104
push ebx
push esi
call fcn.00447f6d
push 0x401564
push ebx
push esi
mov dword [ebp + 8], eax
call fcn.00447f0a
add esp, 0x14
test al, al
je 0x447069
and dword [ebp - 0x250], 0
lea eax, [ebp - 0x24c]
push edi
push 0x24c
push 0
push eax
call fcn.00447e1c
add esp, 0xc
lea eax, [ebp - 0x250]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x447057
cmp word [ebp - 0x1c], 0
lea eax, [ebp - 0x224]
lea ebx, [ebp - 0x1c]
cmove ebx, eax
push ebx
call fcn.00446cf2
pop ecx
test al, al
jne 0x44703e
mov eax, dword [ebp + 8]
mov ecx, esi
inc eax
push eax
call fcn.00447dff
push ebx
push 0x104
push esi
call fcn.00447f0a
add esp, 0xc
test al, al
je 0x44703e
test byte [ebp - 0x250], 0x10
push esi
je 0x447038
call fcn.00446f84
pop ecx
jmp 0x44703e
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x250]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x446feb
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
push dword [ebp + 8]
mov ecx, esi
call fcn.00447dff
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4470b2
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push 0x40
xor ebx, ebx
mov dword [ebp - 0x54], 0x44
lea eax, [ebp - 0x50]
push ebx
push eax
call fcn.00447e1c
add esp, 0xc
lea eax, [ebp - 0x10]
xorps xmm0, xmm0
movdqu xmmword [ebp - 0x10], xmm0
push eax
lea eax, [ebp - 0x54]
push eax
push ebx
push ebx
push 0x8000000
push ebx
push ebx
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4470ff
xor al, al
jmp 0x447140
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xffffffffffffffff
push dword [ebp - 0x10]
mov bl, 1
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x44711d
xor bl, bl
jmp 0x447135
cmp dword [ebp + 0x10], 0
je 0x447135
push dword [ebp + 0x10]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
neg eax
sbb al, al
and bl, al
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4480f9
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push dword [esi]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x448113
xor al, al
jmp 0x448183
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x448125
xor al, al
jmp 0x448182
push ebx
push dword [esi]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
xor eax, eax
push eax
push 0x80
push 2
push eax
push eax
push 0x40000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x448172
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push 0
push eax
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
test eax, eax
jne 0x448176
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x448181
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
setne al
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x44a02f
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
push ebx
xor ebx, ebx
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x1c], ebx
call fcn.004191f0
lea eax, [ebp - 0x4c]
push eax
push 2
call fcn.00426c40
pop ecx
pop ecx
test al, al
jne 0x44a05e
xor bl, bl
jmp 0x44a159
push esi
lea ecx, [ebp - 0x34]
call fcn.004191f0
and dword [ebp - 8], ebx
xor eax, eax
mov word [ebp - 0x18], ax
mov esi, 0x104
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 7
push esi
push eax
call fcn.0042d670
pop ecx
pop ecx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x44a0b2
cmp eax, esi
jae 0x44a0b2
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x64]
call fcn.0041d320
push eax
lea ecx, [ebp - 0x34]
call fcn.0041d370
lea ecx, [ebp - 0x64]
jmp 0x44a0dd
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x4c]
call fcn.0041d980
mov ecx, eax
call fcn.0041d980
push eax
lea ecx, [ebp - 0x34]
call fcn.0041d370
lea ecx, [ebp - 0x64]
call fcn.00419320
lea ecx, [ebp - 0x7c]
call fcn.00419320
push 0x56
mov esi, 0x401ea0
push esi
call fcn.0041fc10
pop ecx
pop ecx
cmp eax, 1
jl 0x44a128
push 0xffffffffffffffff
push 0x319
xor ebx, ebx
lea ecx, [ebp - 0x12c]
push esi
inc ebx
call fcn.0041fca0
lea ecx, [ebp - 0x34]
add eax, 8
push ecx
push 0x4021b4
push eax
call fcn.0041b870
pop ecx
pop ecx
push eax
call fcn.0041cff0
pop ecx
pop ecx
pop esi
test bl, 1
je 0x44a139
lea ecx, [ebp - 0x12c]
call fcn.0041fcf0
lea eax, [ebp - 0x34]
push eax
call fcn.004240c0
pop ecx
push 0
push 1
lea ecx, [ebp - 0x18]
mov bl, al
call fcn.0041a230
lea ecx, [ebp - 0x34]
call fcn.00419320
lea ecx, [ebp - 0x4c]
call fcn.00419320
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44a847
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
lea ecx, [ebp - 0x24]
push ebx
push esi
push edi
push 0x403b48
call fcn.00419000
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x24]
push eax
mov ecx, esi
call fcn.004180c0
mov bl, al
lea ecx, [ebp - 0x24]
neg bl
sbb bl, bl
xor edi, edi
push edi
push 1
call fcn.00419dd0
inc bl
je 0x44a889
xor al, al
jmp 0x44aa44
push 0x403b48
lea ecx, [ebp - 0x24]
mov bh, 1
call fcn.00419000
lea eax, [ebp - 0x24]
mov ecx, esi
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00418200
push edi
push 1
lea ecx, [ebp - 0x24]
call fcn.00419dd0
push 0x403b68
lea ecx, [ebp - 0x24]
call fcn.00419000
lea eax, [ebp - 0x24]
mov ecx, esi
push eax
call fcn.004180c0
push edi
push 1
lea ecx, [ebp - 0x24]
mov bl, al
call fcn.00419dd0
test bl, bl
je 0x44a965
push 0x403b68
lea ecx, [ebp - 0x54]
call fcn.00419000
lea eax, [ebp - 0x54]
mov ecx, esi
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.004182a0
push edi
push 1
lea ecx, [ebp - 0x54]
call fcn.00419dd0
cmp dword [ebp - 0x10], 8
lea eax, [ebp - 0x24]
mov dword [ebp - 4], edi
cmovae eax, dword [ebp - 0x24]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.004245c0
pop ecx
pop ecx
test al, al
je 0x44a956
lea eax, [ebp - 8]
mov dword [ebp - 8], edi
push eax
push dword [ebp - 4]
call fcn.004285d0
pop ecx
pop ecx
test al, al
je 0x44a956
push 0xffffffffffffffff
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
neg eax
sbb al, al
and bh, al
push edi
push 1
lea ecx, [ebp - 0x24]
call fcn.0041a230
test bh, bh
je 0x44a970
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x401f90
lea ecx, [ebp - 0x54]
call fcn.00419210
push 1
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x3c]
call fcn.0041d980
mov ecx, eax
call fcn.0041db60
push eax
call fcn.00422c20
pop ecx
pop ecx
lea ecx, [ebp - 0x24]
call fcn.00419320
lea ecx, [ebp - 0x6c]
call fcn.00419320
push edi
push 1
lea ecx, [ebp - 0x54]
call fcn.0041a230
lea eax, [ebp - 0x3c]
push 1
push eax
call fcn.00422c20
pop ecx
pop ecx
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x3c]
call fcn.0041d980
mov ecx, eax
call fcn.0041dac0
mov edi, 0x401fa8
mov esi, eax
push edi
call fcn.00416a20
pop ecx
push eax
push edi
push dword [esi + 0x10]
mov ecx, esi
push 0
call fcn.0041ae00
mov ebx, eax
lea ecx, [ebp - 0x6c]
neg ebx
sbb bl, bl
call fcn.00419320
lea ecx, [ebp - 0x54]
call fcn.00419320
inc bl
je 0x44aa3a
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x3c]
call fcn.0041d980
cmp dword [eax + 0x14], 8
jb 0x44aa2b
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ecx, [ebp - 0x6c]
call fcn.00419320
lea ecx, [ebp - 0x3c]
call fcn.00419320
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44b0ed
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push 0x401990
lea ecx, [ebp - 0x18]
call fcn.00419210
cmp dword [ebp - 4], 8
lea eax, [ebp - 0x18]
cmovae eax, dword [ebp - 0x18]
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, dword [ebp + 8]
mov ecx, esi
push eax
call fcn.00424290
push dword [esi]
call fcn.00422ad0
pop ecx
test al, al
je 0x44b140
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x44b140
mov bl, 1
jmp 0x44b142
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x18]
call fcn.0041a230
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44bdde
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
xor ebx, ebx
push edi
push 0x60
push ebx
push dword [ebp + 8]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x40c], ebx
call esi
mov edi, eax
test edi, edi
jne 0x44be26
push 2
push ebx
push dword [ebp + 8]
call esi
mov edi, eax
test edi, edi
jne 0x44be26
call fcn.00449e3a
mov esi, eax
jmp 0x44bebe
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x44be40
call fcn.00449e3a
jmp 0x44beb1
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x44be39
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
cmp eax, esi
jae 0x44be66
mov esi, 0x8007000e
jmp 0x44beb3
push eax
lea ecx, [ebp - 0x40c]
call fcn.00449878
cmp dword [ebp - 0x40c], 0
je 0x44be5f
push esi
push dword [ebp - 0x40c]
push esi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
je 0x44be39
mov eax, dword [ebp - 0x40c]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 8]
push dword [ebp - 0x40c]
call fcn.0044bcd0
mov esi, eax
test edi, edi
je 0x44bebe
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x408]
cmp dword [ebp - 0x40c], eax
je 0x44bed7
lea ecx, [ebp - 0x40c]
call fcn.00456596
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x44d80e
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 0xc]
push ebx
mov ebx, ecx
test edx, edx
jne 0x44d821
push 0xd
pop eax
jmp 0x44d865
push esi
xor eax, eax
push edi
mov dword [ebp + 0xc], eax
mov esi, eax
mov edi, edx
mov ecx, edi
lea eax, [ecx + 2]
mov dword [ebp - 4], eax
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp + 0xc]
jne 0x44d834
sub ecx, dword [ebp - 4]
sar ecx, 1
inc ecx
lea edi, [edi + ecx*2]
lea esi, [esi + ecx*2]
cmp ecx, 1
jne 0x44d82c
push esi
push edx
push 7
xor eax, eax
push eax
push dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x44d86c
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
mov esi, ecx
test edx, edx
jne 0x44d87e
push 0xd
pop eax
jmp 0x44d8b0
mov ecx, edx
push ebx
push edi
xor ebx, ebx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x44d887
sub ecx, edi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push dword [ebp + 0x10]
push ebx
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop ebx
pop esi
pop ebp
ret 0xc