joyce8/EMBER2024-capa huggingface dataset:
Function at 0x444100
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b0e98
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
mov eax, dword [0x628960]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
sub esp, 0x18
mov dword [ebp - 4], 0
mov ecx, esp
lea eax, [ebp + 8]
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.00437570
lea ecx, [ebp - 0x28]
call fcn.00445020
mov esi, eax
add esp, 0x18
lea eax, [ebp + 8]
cmp eax, esi
je 0x444191
cmp dword [ebp + 0x1c], 0x10
jb 0x444176
push dword [ebp + 8]
call fcn.0048b2ba
add esp, 4
push esi
lea ecx, [ebp + 8]
mov dword [ebp + 0x1c], 0xf
mov dword [ebp + 0x18], 0
mov byte [ebp + 8], 0
call fcn.004379f0
cmp dword [ebp - 0x14], 0x10
jb 0x4441a2
push dword [ebp - 0x28]
call fcn.0048b2ba
add esp, 4
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
cmovae eax, dword [ebp + 8]
push eax
call esi
test eax, eax
jne 0x4441cc
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
call dword [sym.imp.imagehlp.dll_MakeSureDirectoryPathExists]
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
call esi
test eax, eax
setne bl
cmp dword [ebp + 0x1c], 0x10
jb 0x4441f0
push dword [ebp + 8]
call fcn.0048b2ba
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x444570
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b0f38
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
mov eax, dword [0x628960]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov bl, dl
mov bh, cl
sub esp, 0x18
mov dword [ebp - 4], 0
mov ecx, esp
xor eax, eax
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [ebp + 0xc]
push eax
call fcn.00437fd0
call fcn.00444070
add esp, 0x18
test al, al
jne 0x4445d5
xor bl, bl
jmp 0x444609
xor ecx, ecx
mov eax, 1
test bh, bh
cmovne ecx, eax
test bl, bl
je 0x4445e8
or ecx, 4
cmp byte [ebp + 8], 0
je 0x4445f1
or ecx, 2
cmp dword [ebp + 0x20], 8
lea eax, [ebp + 0xc]
push ecx
cmovae eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
setne bl
cmp dword [ebp + 0x20], 8
jb 0x44461a
push dword [ebp + 0xc]
call fcn.0048b2ba
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x444630
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b0e98
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x628960]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov esi, ecx
mov edi, dword [ebp + 0x20]
sub esp, 0x18
mov dword [ebp - 4], 0
mov ecx, esp
lea eax, [ebp + 8]
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.00437570
lea ecx, [ebp - 0x24]
call fcn.0044dab0
add esp, 0x18
lea eax, [ebp - 0x24]
cmp dword [ebp - 0x10], 8
cmovae eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov cl, al
and cl, 1
mov byte [esi], cl
mov ecx, eax
shr ecx, 2
shr eax, 1
and cl, 1
and al, 1
mov byte [ebx], cl
cmp dword [ebp - 0x10], 8
mov byte [edi], al
jb 0x4446ce
push dword [ebp - 0x24]
call fcn.0048b2ba
add esp, 4
xor eax, eax
mov dword [ebp - 0x10], 7
cmp dword [ebp + 0x1c], 0x10
mov dword [ebp - 0x14], 0
mov word [ebp - 0x24], ax
jb 0x4446f3
push dword [ebp + 8]
call fcn.0048b2ba
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x444710
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b0f68
mov eax, dword fs:[0]
push eax
push ecx
push ebx
mov eax, dword [0x628960]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
sub esp, 0x18
mov dword [ebp - 4], 0
mov ecx, esp
xor eax, eax
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [ebp + 8]
push eax
call fcn.00437fd0
call fcn.00444070
add esp, 0x18
test al, al
jne 0x44476f
mov bl, 1
jmp 0x44479d
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
push 0x80
cmovae eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
setne bl
cmp dword [ebp + 0x1c], 8
jb 0x4447ae
push dword [ebp + 8]
call fcn.0048b2ba
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x444a20
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b0fd0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x628960]
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
sub esp, 0x18
mov dword [ebp - 4], 1
mov ecx, esp
lea eax, [ebp + 8]
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.00437570
call fcn.00443fa0
add esp, 0x18
test al, al
jne 0x444a88
xor bl, bl
jmp 0x444b45
lea eax, [ebp - 0x18]
push eax
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
lea esi, [ebp - 0x12]
lea edi, [ebp - 0x11]
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.00437570
mov edx, esi
mov ecx, edi
call fcn.00444630
add esp, 4
lea eax, [ebp + 8]
mov ecx, esp
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.00437570
push 0
xor dl, dl
xor cl, cl
call fcn.004444d0
add esp, 0x1c
lea ecx, [ebp + 0x20]
cmp dword [ebp + 0x34], 0x10
lea eax, [ebp + 8]
cmovae ecx, dword [ebp + 0x20]
cmp dword [ebp + 0x1c], 0x10
push ecx
cmovae eax, dword [ebp + 8]
push eax
call fcn.004d9a43
test eax, eax
lea eax, [ebp + 0x20]
sete bl
sub esp, 0x10
mov ecx, esp
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.00437570
push dword [ebp - 0x18]
mov dl, byte [ebp - 0x12]
mov cl, byte [ebp - 0x11]
call fcn.004444d0
add esp, 0x1c
cmp dword [ebp + 0x1c], 0x10
jb 0x444b56
push dword [ebp + 8]
call fcn.0048b2ba
add esp, 4
cmp dword [ebp + 0x34], 0x10
mov dword [ebp + 0x1c], 0xf
mov dword [ebp + 0x18], 0
mov byte [ebp + 8], 0
jb 0x444b79
push dword [ebp + 0x20]
call fcn.0048b2ba
add esp, 4
mov al, bl
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.004a0676
mov esp, ebp
pop ebp
ret
Function at 0x4463d0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b14f0
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x628960]
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
xor eax, eax
mov byte [ebp - 0x18], 0
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x17], eax
mov word [ebp - 0x13], ax
mov byte [ebp - 0x11], al
call fcn.00442350
mov dword [ebp - 4], 0
xor ebx, ebx
mov edi, 0x41
push edi
lea eax, [ebp - 0x18]
push str._c:_
push eax
call fcn.004479c0
sub esp, 0xc
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
mov byte [edx], 0
cmp byte [ebp - 0x18], 0
jne 0x446450
xor ecx, ecx
jmp 0x44645f
lea ecx, [ebp - 0x18]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x446456
sub ecx, esi
push ecx
lea eax, [ebp - 0x18]
mov ecx, edx
push eax
call fcn.004373f0
call fcn.004487d0
add esp, 0x18
test al, al
jne 0x446597
sub esp, 0x18
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
mov byte [edx], al
cmp byte [ebp - 0x18], al
jne 0x446499
xor ecx, ecx
jmp 0x4464a9
lea ecx, [ebp - 0x18]
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4464a0
sub ecx, esi
push ecx
lea eax, [ebp - 0x18]
mov ecx, edx
push eax
call fcn.004373f0
call fcn.00446850
add esp, 0x18
cmp eax, 4
je 0x446597
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
jne 0x446597
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x34], esp
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
mov ecx, dword [esi + 0x14]
cmp ecx, 0x10
jb 0x4464fe
mov eax, dword [esi]
jmp 0x446500
mov eax, esi
lea edx, [ebp - 0x18]
cmp edx, eax
jb 0x44653b
cmp ecx, 0x10
jb 0x446510
mov edx, dword [esi]
jmp 0x446512
mov edx, esi
mov eax, dword [esi + 0x10]
add eax, edx
lea edx, [ebp - 0x18]
cmp eax, edx
jbe 0x44653b
cmp ecx, 0x10
jb 0x446527
mov ecx, dword [esi]
jmp 0x446529
mov ecx, esi
push 1
lea eax, [ebp - 0x18]
sub eax, ecx
mov ecx, esi
push eax
push esi
call fcn.00437570
jmp 0x446570
cmp ecx, 1
jae 0x44654c
push dword [esi + 0x10]
mov ecx, esi
push 1
call fcn.00437780
cmp dword [esi + 0x14], 0x10
jb 0x446556
mov ecx, dword [esi]
jmp 0x446558
mov ecx, esi
mov al, byte [ebp - 0x18]
mov byte [ecx], al
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], 1
jb 0x44656c
mov esi, dword [esi]
mov byte [esi + 1], 0
sub esp, 0x18
mov byte [ebp - 4], 1
mov eax, esp
lea ecx, [ebp - 0x30]
push 1
push 0
push eax
call fcn.00436c60
mov byte [ebp - 4], 0
call fcn.0044dbb0
add esp, 0x30
test al, al
jne 0x446597
inc ebx
inc edi
cmp edi, 0x5a
jle 0x446421
cmp dword [ebp - 0x1c], 0x10
jb 0x4465b2
push dword [ebp - 0x30]
call fcn.0048b2ba
add esp, 4
mov eax, ebx
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.004a0676
mov esp, ebp
pop ebp
ret
Function at 0x4465d0
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b1530
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x628960]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
cmp dword [ebp + 0x18], 0
jne 0x44661a
xorps xmm0, xmm0
movlpd qword [ebp - 0x48], xmm0
mov esi, dword [ebp - 0x44]
mov edi, dword [ebp - 0x48]
jmp 0x4466ac
push 1
push 0
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp + 8]
call fcn.00436c60
push 0x60d36c
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00440b60
add esp, 4
cmp dword [ebp - 0x4c], 0x10
jb 0x446651
push dword [ebp - 0x60]
call fcn.0048b2ba
add esp, 4
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x40]
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
test eax, eax
je 0x44667b
mov edi, dword [ebp - 0x30]
mov esi, dword [ebp - 0x2c]
jmp 0x446689
xorps xmm0, xmm0
movlpd qword [ebp - 0x48], xmm0
mov esi, dword [ebp - 0x44]
mov edi, dword [ebp - 0x48]
cmp dword [ebp - 0x14], 0x10
jb 0x44669a
push dword [ebp - 0x28]
call fcn.0048b2ba
add esp, 4
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
cmp dword [ebp + 0x1c], 0x10
jb 0x4466bd
push dword [ebp + 8]
call fcn.0048b2ba
add esp, 4
mov edx, esi
mov eax, edi
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.004a0676
mov esp, ebp
pop ebp
ret

Function at 0x4466e0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b1570
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x628960]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
cmp dword [ebp + 0x18], 0
jne 0x44671a
xor bl, bl
jmp 0x44678c
push 1
push 0
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp + 8]
call fcn.00436c60
push 0x60d37c
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00440b60
add esp, 4
cmp dword [ebp - 0x2c], 0x10
jb 0x446751
push dword [ebp - 0x40]
call fcn.0048b2ba
add esp, 4
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 5
sete bl
cmp dword [ebp - 0x14], 0x10
jb 0x44677a
push dword [ebp - 0x28]
call fcn.0048b2ba
add esp, 4
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
cmp dword [ebp + 0x1c], 0x10
jb 0x44679d
push dword [ebp + 8]
call fcn.0048b2ba
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a0676
mov esp, ebp
pop ebp
ret
Function at 0x448260
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b1c48
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x628960]
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
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x60], 0
call fcn.0044aae0
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edx, eax
mov dword [ebp - 0x2c], 7
xor eax, eax
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
cmp word [edx], ax
jne 0x4482c7
xor ecx, ecx
jmp 0x4482df
mov ecx, edx
lea edi, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4482d0
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.004383d0
xor eax, eax
mov byte [ebp - 4], 1
push eax
push 0x60b914
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.004383d0
push 1
push 0
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x44], 0x22
call fcn.00441d30
lea ecx, [ebp - 0x40]
test eax, eax
jns 0x448350
cmp dword [ebp - 0x48], 8
lea eax, [ebp - 0x5c]
mov edi, dword [ebp - 0x4c]
cmovae eax, dword [ebp - 0x5c]
push edi
push 0
push eax
call fcn.00441d30
test eax, eax
js 0x44839f
add eax, edi
jmp 0x448369
push 1
inc eax
mov dword [ebp - 0x44], 0x22
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.00441d30
test eax, eax
jle 0x44839f
inc eax
cmp eax, dword [ebp - 0x30]
jg 0x44839f
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x40]
call fcn.00441b30
push eax
lea ecx, [ebp - 0x28]
call fcn.00436ca0
cmp dword [ebp - 0x64], 8
jb 0x448397
push dword [ebp - 0x78]
call fcn.0048b2ba
add esp, 4
lea ecx, [ebp - 0x28]
call fcn.0044e340
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.00437cf0
cmp dword [ebp - 0x14], 8
jb 0x4483bb
push dword [ebp - 0x28]
call fcn.0048b2ba
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
cmp dword [ebp - 0x2c], 8
mov word [ebp - 0x28], ax
mov dword [ebp - 0x18], eax
jb 0x4483dc
push dword [ebp - 0x40]
call fcn.0048b2ba
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], 7
cmp dword [ebp - 0x48], 8
mov word [ebp - 0x40], ax
mov dword [ebp - 0x30], eax
jb 0x4483fd
push dword [ebp - 0x5c]
call fcn.0048b2ba
add esp, 4
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.004a0676
mov esp, ebp
pop ebp
ret
Function at 0x448940
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x628960]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
push ecx
mov dword [ebp - 0x18], edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x44899f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreateFile___Error:__ld_n
call fcn.004a16f8
add eax, 0x40
push eax
call fcn.004daa64
add esp, 0xc
or eax, edi
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a0676
mov esp, ebp
pop ebp
ret
push esi
push 8
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
call fcn.004a2804
mov esi, eax
add esp, 4
test esi, esi
je 0x448a07
push 0
lea eax, [ebp - 8]
push eax
push 8
push esi
push 0xc
lea eax, [ebp - 0x14]
push eax
push 0x2d1400
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x448a1a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.IOCTL_STORAGE_QUERY_PROPERTY_Error:__ld_n
call fcn.004a16f8
add eax, 0x40
push eax
call fcn.004daa64
push esi
call fcn.004a11e5
add esp, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
or eax, 0xffffffff
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a0676
mov esp, ebp
pop ebp
ret
push ebx
push dword [esi + 4]
call fcn.004a2804
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x448a50
push esi
call fcn.004a11e5
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop esi
or eax, 0xffffffff
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a0676
mov esp, ebp
pop ebp
ret
push 0
lea eax, [ebp - 8]
push eax
push dword [esi + 4]
lea eax, [ebp - 0x14]
push ebx
push 0xc
push eax
push 0x2d1400
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x448ab4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.IOCTL_STORAGE_QUERY_PROPERTY_Error:__ld_n
call fcn.004a16f8
add eax, 0x40
push eax
call fcn.004daa64
push esi
call fcn.004a11e5
push ebx
call fcn.004a11e5
add esp, 0x14
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop esi
or eax, 0xffffffff
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a0676
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x18]
mov ax, word [ebx + 0x1c]
push esi
mov word [ecx], ax
call fcn.004a11e5
push ebx
call fcn.004a11e5
add esp, 8
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor eax, eax
pop ebx
pop esi
xor ecx, ebp
pop edi
call fcn.004a0676
mov esp, ebp
pop ebp
ret
Function at 0x449960
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push esi
push 0
push 0
mov esi, ecx
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jns 0x449975
xor al, al
pop esi
ret
push 0
push 0
push 0
push 3
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
cmp eax, 0x80004005
je 0x449971
push edi
lea edi, [esi + 4]
push edi
push 0x631520
push 1
push 0
push 0x631510
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x4499db
push 0x60dce8
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov edx, dword [edi]
mov dword [esi], eax
add esi, 8
push esi
push 0
mov ecx, dword [edx]
push 0
push 0
push 0
push 0
push 0
push eax
push edx
call dword [ecx + 0xc]
test eax, eax
jns 0x4499e0
pop edi
xor al, al
pop esi
ret
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push dword [esi]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
pop edi
setns al
pop esi
ret

Function at 0x44ac40
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x20]
cmp dword [ebp + 0x1c], 0x10
push ebx
push esi
mov dword [ebp - 4], eax
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x24]
push eax
push 0x8a
push edi
mov dword [ebp - 8], edx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov ebx, eax
test ebx, ebx
je 0x44acbd
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
test esi, esi
je 0x44acbd
cmp dword [ebp - 8], 0
jne 0x44ac90
mov eax, dword [ebp - 4]
mov bl, 1
mov dword [eax], esi
jmp 0x44acbf
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x44acbd
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x44acbd
push esi
push eax
mov eax, dword [ebp - 4]
push dword [eax]
push dword [ebp - 8]
call fcn.004a1cf9
add esp, 0x10
mov bl, 1
jmp 0x44acbf
xor bl, bl
cmp dword [ebp + 0x1c], 0x10
jb 0x44acd0
push dword [ebp + 8]
call fcn.0048b2ba
add esp, 4
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44c090
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b3143
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x628960]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 8], 0xffffffff
mov dword [esi + 4], 0xffffffff
mov dword [esi + 0xc], 0
mov dword [esi + 0x20], 0x646180
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [ebp - 4], 0
lea ecx, [esi + 0x34]
mov dword [esi], vtable.TiXmlDocument.0
mov dword [ecx], 0x646180
mov byte [ebp - 4], 1
mov dword [esi + 0x40], 0xffffffff
mov dword [esi + 0x3c], 0xffffffff
push 0
push 0x60d1fc
mov dword [esi + 0x38], 4
mov byte [esi + 0x44], 0
mov byte [esi + 0x2c], 0
mov dword [esi + 0x30], 0
call fcn.0046d6f0
mov dword [esi + 0x40], 0
mov eax, esi
mov dword [esi + 0x3c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x44cd90
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5afcca
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x628960]
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 edi, dword [ebp + 0xc]
push 0
mov dword [ebp - 0x18], esi
call fcn.004c14be
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov byte [ebp - 4], 6
test edi, edi
jne 0x44ce36
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], str.bad_locale_name
push eax
lea ecx, [ebp - 0x24]
call fcn.004a1531
push 0x624a38
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], vtable.std::runtime_error.0
push eax
call fcn.004a5355
push edi
push 0x3f
push esi
call fcn.004c2b97
add esp, 0xc
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.004a0676
mov esp, ebp
pop ebp
ret 8

Function at 0x44f240
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov edx, 0x811c9dc5
push edi
mov edi, dword [ebp + 8]
mov ecx, 0
sub esi, edi
je 0x44f271
lea esp, [esp]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x44f260
pop edi
mov eax, edx
pop esi
pop ebp
ret 8

Function at 0x4502b0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov ecx, 0
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x811c9dc5
sub edx, edi
sar edx, 1
add edx, edx
je 0x4502e1
lea ecx, [ecx]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x4502d0
pop edi
mov eax, esi
pop esi
pop ebp
ret 8
Function at 0x4583d0
Capabilities:
Access peb ldr_data
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b439b
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x628960]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x14]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
mov byte [ecx], 0
mov dword [ebp - 4], 0
push 0
push 0x60d1fc
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
mov dword [esi + 0x10], 0xc3d2e1f0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
call fcn.004373f0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret