joyce8/EMBER2024-capa huggingface dataset:
Function at 0x441970
Capabilities:
Copy file

Disassembly:
push 0xffffffffffffffff
push 0x476c18
mov eax, dword fs:[0]
push eax
sub esp, 0x2fc
mov eax, dword [0x49e280]
xor eax, esp
mov dword [esp + 0x2f8], eax
push ebx
push esi
mov eax, dword [0x49e280]
xor eax, esp
push eax
lea eax, [esp + 0x308]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x10], ebx
cmp byte [0x4a1fa0], bl
je 0x4419fc
call fcn.00449ca0
cmp eax, 3
jg 0x4419fc
cmp dword [edi + 0x14], ebx
jne 0x4419fc
push 3
push 0xad
push 0x482440
lea ecx, [esp + 0x4c]
call fcn.0044ac20
mov dword [esp + 0x310], ebx
add eax, 4
push str.Check_failed:__log_file_full_path.empty__.
mov ebx, 1
push eax
mov dword [esp + 0x18], ebx
call fcn.00409a00
add esp, 8
mov dword [esp + 0x310], 0xffffffff
test bl, 1
je 0x441a15
lea ecx, [esp + 0x40]
call fcn.0044a980
push edi
lea ecx, [esp + 0xec]
call fcn.0044de60
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x314], 1
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0xec]
call fcn.0044e140
mov esi, 8
cmp dword [eax + 0x18], esi
jb 0x441a58
mov eax, dword [eax + 4]
jmp 0x441a5b
add eax, 4
movzx edx, word [esp + 0x36]
movzx ecx, word [esp + 0x30]
push eax
movzx eax, word [esp + 0x36]
push edx
push eax
push ecx
push str.._4d__02d__02d_s
mov ecx, 0x100
lea ebx, [esp + 0x118]
call fcn.0041ff80
add esp, 0x14
cmp dword [esp + 0x2c], esi
jb 0x441a9a
mov edx, dword [esp + 0x18]
push edx
call fcn.00457c05
add esp, 4
xor ebx, ebx
xor eax, eax
mov word [esp + 0x18], ax
lea eax, [esp + 0x104]
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], ebx
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x441ac0
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x108]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00401cd0
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0xd0]
push eax
lea ecx, [esp + 0xf0]
mov byte [esp + 0x318], 2
call fcn.0044e2d0
mov byte [esp + 0x310], 1
cmp dword [esp + 0x2c], esi
jb 0x441b1d
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00457c05
add esp, 4
mov ecx, dword [esp + 0xd0]
xor edx, edx
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], ebx
mov word [esp + 0x18], dx
cmp dword [esp + 0xe4], esi
jae 0x441b47
lea ecx, [esp + 0xd0]
cmp dword [edi + 0x18], esi
jb 0x441b51
mov eax, dword [edi + 4]
jmp 0x441b54
lea eax, [edi + 4]
push ebx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea ecx, [esp + 0xcc]
call fcn.0044dc80
lea ecx, [esp + 0xe8]
mov dword [esp + 0x310], 0xffffffff
call fcn.0044dc80
mov ecx, dword [esp + 0x308]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x2f8]
xor ecx, esp
call fcn.00457c10
add esp, 0x308
ret
Function at 0x4427a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x479121
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x49e280]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
mov eax, dword [0x49e280]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
xor ebx, ebx
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
call fcn.0044dc60
lea eax, [esp + 0x10]
push eax
push 9
mov dword [esp + 0x40], 1
call fcn.004532f0
add esp, 8
test al, al
je 0x44281e
push 0xffffffffffffffff
xor ecx, ecx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
push ebx
lea edx, [esp + 0x18]
mov word [esi + 4], cx
push edx
mov ecx, esi
call fcn.004018f0
jmp 0x44285a
push 0xa
push 9
push 0x442400
call fcn.00453550
lea eax, [esp + 0x1c]
push eax
push 9
call fcn.004532f0
add esp, 0x14
push 0xffffffffffffffff
xor ecx, ecx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
push ebx
lea edx, [esp + 0x18]
mov word [esi + 4], cx
push edx
mov ecx, esi
call fcn.004018f0
lea ecx, [esp + 0x10]
mov dword [esp + 8], 1
mov byte [esp + 0x38], bl
call fcn.0044dc80
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.00457c10
add esp, 0x34
ret

Function at 0x442940
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4754f3
mov eax, dword fs:[0]
push eax
sub esp, 0x268
mov eax, dword [0x49e280]
xor eax, esp
mov dword [esp + 0x264], eax
push ebp
push edi
mov eax, dword [0x49e280]
xor eax, esp
push eax
lea eax, [esp + 0x274]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x284]
xor edi, edi
lea eax, [esp + 0x68]
push eax
push edi
push edi
push 0x19
push edi
mov dword [esp + 0x40], esi
mov dword [esp + 0x20], edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
cmp eax, edi
jge 0x4429c0
xor ecx, ecx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
push edi
mov word [esi + 4], cx
push 0x48206c
mov ecx, esi
call fcn.00401cd0
jmp 0x442a8d
xor edx, edx
lea eax, [esp + 0x68]
mov word [esp + 0x14], dx
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], edi
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4429e0
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x18]
call fcn.00401cd0
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x50]
mov dword [esp + 0x280], 1
call fcn.0044de60
push ebp
lea edx, [esp + 0x34]
push edx
mov ecx, eax
mov byte [esp + 0x284], 2
call fcn.0044e590
mov byte [esp + 0x27c], 3
push 0xffffffffffffffff
xor ecx, ecx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
push edi
mov word [esi + 4], cx
push eax
mov ecx, esi
call fcn.004018f0
lea ecx, [esp + 0x30]
mov dword [esp + 0xc], 1
mov byte [esp + 0x27c], 2
call fcn.0044dc80
lea ecx, [esp + 0x4c]
mov byte [esp + 0x27c], 1
call fcn.0044dc80
cmp dword [esp + 0x28], 8
jb 0x442a8d
mov edx, dword [esp + 0x14]
push edx
call fcn.00457c05
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x274]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
mov ecx, dword [esp + 0x264]
xor ecx, esp
call fcn.00457c10
add esp, 0x274
ret
Function at 0x445be0
Capabilities:
Check for time delay via gettickcount
Query service status

Disassembly:
push 0xffffffffffffffff
push 0x476764
mov eax, dword fs:[0]
push eax
sub esp, 0x150
push ebx
push ebp
push esi
push edi
mov eax, dword [0x49e280]
xor eax, esp
push eax
lea eax, [esp + 0x164]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x1c], ebx
call ebp
mov edi, eax
mov edx, dword [esp + 0x174]
lea eax, [esp + 0x1c]
push eax
push 0x24
lea ecx, [esp + 0x28]
push ecx
push 0
push edx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x445cbb
mov esi, dword [esp + 0x34]
mov eax, 0xcccccccd
mul dword [esp + 0x38]
shr edx, 3
cmp edx, 0x3e8
jae 0x445c60
mov edx, 0x3e8
jmp 0x445c6d
cmp edx, 0x2710
jbe 0x445c6d
mov edx, 0x2710
push edx
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [esp + 0x34], esi
jbe 0x445c80
call ebp
mov edi, eax
jmp 0x445c8e
call ebp
sub eax, edi
cmp eax, dword [esp + 0x38]
ja 0x445d28
mov eax, dword [esp + 0x24]
cmp eax, 2
je 0x445c21
xor ecx, ecx
cmp eax, 4
sete cl
mov al, cl
mov ecx, dword [esp + 0x164]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x15c
ret
call fcn.00449ca0
cmp eax, 2
jg 0x445d05
call sub.KERNEL32.dll_GetLastError
push eax
push 2
push 0x2e
push 0x480d4c
lea ecx, [esp + 0xe0]
call fcn.0044ac60
add eax, 0xc
push str.Failed_to_query_service_status
mov dword [esp + 0x170], 0
mov ebx, 1
push eax
mov dword [esp + 0x20], ebx
call fcn.00409a00
add esp, 8
mov dword [esp + 0x16c], 0xffffffff
test bl, 1
je 0x445d21
lea ecx, [esp + 0xd0]
call fcn.0044acb0
xor al, al
jmp 0x445ca1
call fcn.00449ca0
cmp eax, 2
jg 0x445d69
push 2
push 0x42
push 0x480da4
lea ecx, [esp + 0x50]
call fcn.0044ac20
add eax, 4
push str.Check_point_does_not_change__service_may_be_dead.
mov dword [esp + 0x170], 1
mov ebx, 2
push eax
mov dword [esp + 0x20], ebx
call fcn.00409a00
add esp, 8
mov dword [esp + 0x16c], 0xffffffff
test bl, 2
je 0x445d82
lea ecx, [esp + 0x44]
call fcn.0044a980
xor al, al
jmp 0x445ca1
Function at 0x4476c0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x476317
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x49e280]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x2c]
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov dword [ebp], 0x4903dc
mov dword [ebp + 0x54], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [esp + 0x24], ebx
mov eax, dword [ebp]
mov ecx, dword [eax + 4]
mov dword [ecx + ebp], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov edx, dword [ebp]
mov edi, dword [edx + 4]
add edi, ebp
mov ecx, edi
mov dword [esp + 0x18], 1
call fcn.00431f10
lea esi, [ebp + 4]
push 0x20
mov ecx, edi
mov dword [edi + 0x28], esi
mov dword [edi + 0x2c], ebx
call fcn.00432410
mov byte [edi + 0x30], al
cmp dword [edi + 0x28], ebx
jne 0x447753
mov eax, dword [edi + 8]
or eax, 4
or eax, 4
push ebx
push eax
mov ecx, edi
call fcn.004098d0
mov dword [edi + 4], ebx
mov dword [esp + 0x24], 2
mov eax, dword [ebp]
mov ecx, dword [eax + 4]
mov dword [ecx + ebp], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov ecx, esi
call fcn.004326d0
lea edx, [esi + 8]
mov dword [esi + 0x10], edx
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [esi + 0x48], bl
mov byte [esi + 0x41], bl
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], ebx
mov eax, dword [esi + 0x24]
mov dword [eax], ebx
mov ecx, dword [esi + 0x34]
mov dword [ecx], ebx
mov edx, dword [esi + 0x10]
mov dword [edx], ebx
mov eax, dword [esi + 0x20]
mov dword [eax], ebx
mov ecx, dword [esi + 0x30]
mov dword [ecx], ebx
mov dword [esi + 0x4c], ebx
mov edx, dword [0x4a4bc8]
mov dword [esi + 0x44], edx
mov dword [esi + 0x3c], ebx
mov eax, ebp
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4
Function at 0x449ff0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x284
mov eax, dword [0x49e280]
xor eax, esp
mov dword [esp + 0x280], eax
push esi
mov esi, dword [esp + 0x28c]
cmp dword [esi + 0x14], 0
je 0x44a140
cmp byte [0x4a1fb4], 0
je 0x44a140
push 0x104
lea eax, [esp + 0x80]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [esp + 0x7c]
push 0x5c
push ecx
call fcn.004590d2
add esp, 8
test eax, eax
je 0x44a051
xor edx, edx
mov word [eax + 2], dx
push str.debug_message.exe
lea eax, [esp + 0x80]
push 0x104
push eax
call fcn.00458b9e
add esp, 0xc
cmp dword [esi + 0x18], 0x10
jb 0x44a07a
mov ecx, dword [esi + 4]
mov dword [esp + 4], ecx
jmp 0x44a081
lea edx, [esi + 4]
mov dword [esp + 4], edx
mov eax, dword [esi + 0x14]
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0x64]
push edx
mov dword [esp + 0x10], eax
call fcn.00453ea0
add esp, 8
cmp dword [esp + 0x74], 0
je 0x44a137
push 0x44
lea eax, [esp + 0x20]
push 0
push eax
call fcn.0045acf0
mov eax, dword [esp + 0x70]
add esp, 0xc
cmp dword [esp + 0x78], 8
mov dword [esp + 0x1c], 0x44
jae 0x44a0cd
lea eax, [esp + 0x64]
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x20]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push eax
lea eax, [esp + 0xa0]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x44a119
mov ecx, dword [esp + 0xc]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [esp + 0xc]
push eax
call esi
jmp 0x44a137
push 0x40010
push 0x47c840
push 0
lea ecx, [esp + 0x6c]
call fcn.00423710
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [esp + 0x60]
call fcn.00401820
mov ecx, dword [esp + 0x284]
pop esi
xor ecx, esp
call fcn.00457c10
add esp, 0x284
ret
Function at 0x44d920
Capabilities:
Accept command line arguments

Disassembly:
mov ecx, dword [0x4a1fd0]
sub esp, 0x1c
push esi
mov esi, ecx
test ecx, ecx
je 0x44d93e
call fcn.0044d540
push esi
call fcn.00457c05
add esp, 4
push 0x70
call fcn.00457cb7
add esp, 4
test eax, eax
je 0x44d95a
mov ecx, eax
call fcn.0044d5e0
mov dword [0x4a1fd0], eax
jmp 0x44d964
mov dword [0x4a1fd0], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
xor ecx, ecx
mov word [esp + 8], cx
mov ecx, eax
mov dword [esp + 0x1c], 7
mov dword [esp + 0x18], 0
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x44d986
sub ecx, esi
sar ecx, 1
push ecx
push eax
lea ecx, [esp + 0xc]
call fcn.00401cd0
mov ecx, dword [0x4a1fd0]
lea edx, [esp + 4]
push edx
call fcn.0044d650
cmp dword [esp + 0x1c], 8
pop esi
jb 0x44d9c5
mov eax, dword [esp + 4]
push eax
call fcn.00457c05
add esp, 4
add esp, 0x1c
ret

Function at 0x44ea00
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x24
push esi
push 0x18
call fcn.00457cb7
mov esi, eax
xor eax, eax
add esp, 4
cmp esi, eax
je 0x44ea3c
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 4]
push edx
mov dword [esi], ecx
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [esp + 0x18]
mov dword [esi + 4], eax
mov eax, esi
pop esi
add esp, 0x24
ret

Function at 0x44ea90
Capabilities:
Enumerate processes

Disassembly:
push esi
push edi
mov esi, ecx
push 0x22c
lea edi, [esi + 0xc]
push 0
push edi
call fcn.0045acf0
add esp, 0xc
mov dword [edi], 0x22c
cmp byte [esi + 8], 0
push edi
jne 0x44eaca
mov eax, dword [esi + 4]
push eax
mov byte [esi + 8], 1
call sub.KERNEL32.dll_Process32FirstW
neg eax
sbb eax, eax
pop edi
neg eax
pop esi
ret
mov ecx, dword [esi + 4]
push ecx
call sub.KERNEL32.dll_Process32NextW
neg eax
sbb eax, eax
pop edi
neg eax
pop esi
ret

Function at 0x44eae0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x54
push 0x40
lea eax, [esp + 0x18]
push 0
push eax
call fcn.0045acf0
mov eax, dword [esp + 0x64]
xor ecx, ecx
add esp, 0xc
cmp byte [esp + 0x60], cl
mov dword [esp + 0x10], 0x44
setne cl
mov dword [esp + 0x3c], 1
dec ecx
and ecx, 5
cmp dword [eax + 0x18], 8
mov word [esp + 0x40], cx
jb 0x44eb25
mov eax, dword [eax + 4]
jmp 0x44eb28
add eax, 4
lea edx, [esp]
push edx
movzx edx, byte [esp + 0x68]
lea ecx, [esp + 0x14]
push ecx
push 0
push 0
push 0
push edx
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x44eb54
xor al, al
add esp, 0x54
ret
mov eax, dword [esp + 4]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
cmp byte [esp + 0x60], 0
je 0x44eb76
mov ecx, dword [esp + 4]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x44eb8b
mov edx, dword [esp + 4]
mov dword [eax], edx
mov al, 1
pop esi
add esp, 0x54
ret
mov eax, dword [esp + 4]
push eax
call esi
mov al, 1
pop esi
add esp, 0x54
ret
Function at 0x44f460
Capabilities:
Check os version

Disassembly:
sub esp, 0x120
mov eax, dword [0x49e280]
xor eax, esp
mov dword [esp + 0x11c], eax
cmp byte [0x4a1fe0], 0
jne 0x44f531
lea eax, [esp]
push eax
mov dword [esp + 4], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [esp + 4]
mov ecx, 1
cmp eax, 5
jne 0x44f4ce
mov eax, dword [esp + 8]
sub eax, 0
je 0x44f4c6
sub eax, ecx
je 0x44f4ba
mov dword [0x4a1fdc], 3
jmp 0x44f52b
mov dword [0x4a1fdc], 2
jmp 0x44f52b
mov dword [0x4a1fdc], ecx
jmp 0x44f52b
cmp eax, 6
jne 0x44f51f
cmp byte [esp + 0x11a], cl
je 0x44f4e8
mov dword [0x4a1fdc], 5
jmp 0x44f52b
mov eax, dword [esp + 8]
test eax, eax
jne 0x44f4fc
mov dword [0x4a1fdc], 4
jmp 0x44f52b
cmp eax, ecx
jne 0x44f50c
mov dword [0x4a1fdc], 6
jmp 0x44f52b
xor edx, edx
cmp eax, 2
setne dl
add edx, 7
mov dword [0x4a1fdc], edx
jmp 0x44f52b
jbe 0x44f52b
mov dword [0x4a1fdc], 8
mov byte [0x4a1fe0], cl
mov ecx, dword [esp + 0x11c]
mov eax, dword [0x4a1fdc]
xor ecx, esp
call fcn.00457c10
add esp, 0x120
ret
Function at 0x44fe10
Capabilities:
Delete directory
Delete file

Disassembly:
sub esp, 0x258
mov eax, dword [0x49e280]
xor eax, esp
mov dword [esp + 0x254], eax
push esi
mov esi, dword [esp + 0x260]
cmp dword [esi + 0x14], 0x104
jb 0x44fe4d
xor al, al
pop esi
mov ecx, dword [esp + 0x254]
xor ecx, esp
call fcn.00457c10
add esp, 0x258
ret
push ebx
xor ebx, ebx
cmp byte [esp + 0x268], bl
jne 0x44ff13
lea eax, [esp + 0x28]
push eax
push esi
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
call fcn.0044fd50
add esp, 8
test al, al
je 0x44fee1
cmp byte [esp + 0x30], bl
je 0x44fee1
cmp dword [esi + 0x18], 8
jb 0x44feba
mov esi, dword [esi + 4]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
neg eax
sbb eax, eax
pop ebx
neg eax
pop esi
mov ecx, dword [esp + 0x254]
xor ecx, esp
call fcn.00457c10
add esp, 0x258
ret
add esi, 4
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
neg eax
sbb eax, eax
pop ebx
neg eax
pop esi
mov ecx, dword [esp + 0x254]
xor ecx, esp
call fcn.00457c10
add esp, 0x258
ret
cmp dword [esi + 0x18], 8
jb 0x44feec
mov eax, dword [esi + 4]
jmp 0x44feef
lea eax, [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x44ff13
pop ebx
mov al, 1
pop esi
mov ecx, dword [esp + 0x254]
xor ecx, esp
call fcn.00457c10
add esp, 0x258
ret
push 0x208
lea edx, [esp + 0x56]
xor ecx, ecx
push ebx
push edx
mov word [esp + 0x5c], cx
call fcn.0045acf0
add esp, 0xc
cmp dword [esi + 0x18], 8
jb 0x44ff38
mov ecx, dword [esi + 4]
jmp 0x44ff3b
lea ecx, [esi + 4]
lea edx, [esp + 0x50]
nop
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
cmp ax, bx
jne 0x44ff40
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov word [esp + 0x24], ax
lea eax, [esp + 0x50]
mov ecx, 0x414
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 3
mov dword [esp + 0x10], eax
mov word [esp + 0x18], cx
cmp byte [esp + 0x268], bl
jne 0x44ffa1
mov edx, 0x1494
mov word [esp + 0x18], dx
lea eax, [esp + 8]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
cmp eax, ebx
je 0x44ffd5
cmp eax, 2
je 0x44ffd5
cmp eax, 0x402
je 0x44ffd5
pop ebx
xor eax, eax
pop esi
mov ecx, dword [esp + 0x254]
xor ecx, esp
call fcn.00457c10
add esp, 0x258
ret
mov ecx, dword [esp + 0x25c]
pop ebx
pop esi
xor ecx, esp
mov eax, 1
call fcn.00457c10
add esp, 0x258
ret
Function at 0x4500c0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x260
mov eax, dword [0x49e280]
xor eax, esp
mov dword [esp + 0x25c], eax
push esi
mov esi, dword [esp + 0x268]
lea ecx, [esp + 0x58]
push ecx
xor eax, eax
push 0x104
mov word [esp + 0x60], ax
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x45016c
cmp eax, 0x104
ja 0x45016c
lea edx, [esp + 0x58]
push edx
lea ecx, [esp + 0x40]
call fcn.00401dc0
lea eax, [esp + 4]
push eax
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x28]
call fcn.0044de60
mov ecx, eax
call fcn.0044e550
push eax
mov ecx, esi
call fcn.0044dfb0
lea ecx, [esp + 4]
call fcn.0044dc80
lea ecx, [esp + 0x20]
call fcn.0044dc80
cmp dword [esp + 0x54], 8
jb 0x450154
mov edx, dword [esp + 0x40]
push edx
call fcn.00457c05
add esp, 4
mov al, 1
pop esi
mov ecx, dword [esp + 0x25c]
xor ecx, esp
call fcn.00457c10
add esp, 0x260
ret
mov ecx, dword [esp + 0x260]
pop esi
xor ecx, esp
xor al, al
call fcn.00457c10
add esp, 0x260
ret

Function at 0x4503b0
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
mov eax, 0x1098
call fcn.0045c670
mov eax, dword [0x49e280]
xor eax, esp
mov dword [esp + 0x1094], eax
push ebx
push ebp
mov ebp, dword [esp + 0x10a8]
xor ebx, ebx
push esi
mov dword [esp + 0xc], ebx
push edi
mov edi, dword [esp + 0x10ac]
mov esi, ecx
cmp byte [0x4a1fa0], bl
je 0x450421
call fcn.00449ca0
cmp eax, 3
jg 0x450421
test ebp, ebp
jne 0x450421
push 3
push 0x108
push str.._registry.cc
lea ecx, [esp + 0x24]
lea ebx, [ebp + 1]
call fcn.0044ac20
add eax, 4
push str.Check_failed:_value.
push eax
call fcn.00409a00
add esp, 8
test bl, 1
je 0x45042f
lea ecx, [esp + 0x18]
call fcn.0044a980
mov eax, dword [esi]
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], 0x800
test eax, eax
je 0x4504e6
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0xa8]
push edx
lea ecx, [esp + 0x1c]
push ecx
push 0
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
sete al
test al, al
je 0x4504e6
mov eax, dword [esp + 0x14]
cmp eax, 1
jne 0x4504a4
lea eax, [esp + 0xa4]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x450481
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0xa8]
push edx
mov ecx, ebp
call fcn.00401cd0
mov al, 1
jmp 0x4504e8
cmp eax, 2
jne 0x4504e6
push 0x400
lea eax, [esp + 0x8a8]
push eax
lea ecx, [esp + 0xac]
push ecx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [esp + 0x10], eax
test eax, eax
je 0x4504e6
cmp eax, 0x400
ja 0x4504e6
lea edx, [esp + 0x8a4]
push edx
mov ecx, ebp
call fcn.004063f0
mov al, 1
jmp 0x4504e8
xor al, al
mov ecx, dword [esp + 0x10a4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00457c10
add esp, 0x1098
ret 8
Function at 0x450510
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x98
push ebx
xor ebx, ebx
push ebp
mov ebp, dword [esp + 0xa8]
mov dword [esp + 8], ebx
push esi
mov esi, ecx
cmp byte [0x4a1fa0], bl
je 0x450567
call fcn.00449ca0
cmp eax, 3
jg 0x450567
test ebp, ebp
jne 0x450567
push 3
push 0x124
push str.._registry.cc
lea ecx, [esp + 0x24]
lea ebx, [ebp + 1]
call fcn.0044ac20
add eax, 4
push str.Check_failed:_value.
push eax
call fcn.00409a00
add esp, 8
test bl, 1
je 0x450575
lea ecx, [esp + 0x18]
call fcn.0044a980
mov eax, dword [esi]
mov dword [esp + 0x14], 4
mov dword [esp + 0x10], 4
mov dword [esp + 0xc], 0
test eax, eax
je 0x4505e6
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0xb0]
lea ecx, [esp + 0x1c]
push ecx
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
sete al
test al, al
je 0x4505e6
mov eax, dword [esp + 0x14]
cmp eax, 4
je 0x4505ca
cmp eax, 3
jne 0x4505e6
cmp dword [esp + 0x10], 4
jne 0x4505e6
mov eax, dword [esp + 0xc]
pop esi
mov dword [ebp], eax
pop ebp
mov al, 1
pop ebx
add esp, 0x98
ret 8
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x98
ret 8

Function at 0x453950
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x24
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [esp + 0x14]
add esp, 0x24
ret

Function at 0x453a20
Capabilities:
Get memory capacity

Disassembly:
sub esp, 0xd0
push ebx
lea eax, [esp + 8]
xor ebx, ebx
push eax
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
jne 0x453a98
cmp byte [0x4a1fa0], bl
je 0x453a7e
call fcn.00449ca0
cmp eax, 3
jg 0x453a7e
push 3
push 0x1c
push str.._sys_info_win.cc
lea ecx, [esp + 0x54]
mov ebx, 1
call fcn.0044ac20
add eax, 4
push str.Check_failed:_false.
push eax
call fcn.00409a00
add esp, 8
test bl, 1
je 0x453a8c
lea ecx, [esp + 0x48]
call fcn.0044a980
xor eax, eax
xor edx, edx
pop ebx
add esp, 0xd0
ret
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov edx, ecx
test ecx, ecx
jg 0x453ab4
jl 0x453aac
test eax, eax
jae 0x453ab4
or eax, 0xffffffff
mov edx, SysReAllocString
pop ebx
add esp, 0xd0
ret