joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4147b0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x6456f8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push edi
mov eax, dword [0x6c3afc]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
xor edi, edi
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
lea eax, [esp + 0x10]
mov dword [esp + 0x30], edi
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], 0x66
call fcn.0040ebf0
lea ecx, [esp + 0x10]
push ecx
mov ebx, 0x61
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], ebx
call fcn.0040ebf0
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], 0x6e
call fcn.0040ebf0
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], 0x71
call fcn.0040ebf0
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], 0x69
call fcn.0040ebf0
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], ebx
call fcn.0040ebf0
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], 0x6e
call fcn.0040ebf0
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], 0x62
call fcn.0040ebf0
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], ebx
call fcn.0040ebf0
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], 0x6f
call fcn.0040ebf0
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], edi
call fcn.0040ebf0
mov ebx, dword [esp + 0x14]
xor edx, edx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], edi
mov eax, ebx
mov word [esi], dx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4148f0
sub eax, edx
sar eax, 1
push eax
push ebx
mov ecx, esi
call fcn.00403600
cmp ebx, edi
je 0x414915
push ebx
call fcn.004effaf
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x414930
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x6456f8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push edi
mov eax, dword [0x6c3afc]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
xor edi, edi
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
lea eax, [esp + 0x10]
mov dword [esp + 0x30], edi
mov ebx, 0x68
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], ebx
call fcn.0040ebf0
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], 0x74
call fcn.0040ebf0
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], 0x31
call fcn.0040ebf0
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], ebx
call fcn.0040ebf0
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], 0x61
call fcn.0040ebf0
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], 0x6f
call fcn.0040ebf0
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], edi
call fcn.0040ebf0
mov ebx, dword [esp + 0x14]
xor ecx, ecx
mov eax, ebx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], edi
mov word [esi], cx
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x414a20
sub eax, edx
sar eax, 1
push eax
push ebx
mov ecx, esi
call fcn.00403600
cmp ebx, edi
je 0x414a45
push ebx
call fcn.004effaf
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x414a60
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x6456f8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push edi
mov eax, dword [0x6c3afc]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
xor edi, edi
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
lea eax, [esp + 0x10]
mov dword [esp + 0x30], edi
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], 0x74
call fcn.0040ebf0
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], 0x75
call fcn.0040ebf0
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], 0x63
call fcn.0040ebf0
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], 0x61
call fcn.0040ebf0
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], 0x6f
call fcn.0040ebf0
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], edi
call fcn.0040ebf0
mov ebx, dword [esp + 0x14]
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], edi
mov word [esi], ax
mov eax, ebx
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x414b40
sub eax, edx
sar eax, 1
push eax
push ebx
mov ecx, esi
call fcn.00403600
cmp ebx, edi
je 0x414b65
push ebx
call fcn.004effaf
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x414b80
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x6456f8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push edi
mov eax, dword [0x6c3afc]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
xor edi, edi
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
lea eax, [esp + 0x10]
mov dword [esp + 0x30], edi
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], 0x54
call fcn.0040ebf0
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], 0x46
call fcn.0040ebf0
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], 0x42
call fcn.0040ebf0
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], edi
call fcn.0040ebf0
mov ebx, dword [esp + 0x14]
xor ecx, ecx
mov eax, ebx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], edi
mov word [esi], cx
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x414c30
sub eax, edx
sar eax, 1
push eax
push ebx
mov ecx, esi
call fcn.00403600
cmp ebx, edi
je 0x414c55
push ebx
call fcn.004effaf
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x414cb0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x646a6b
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x6c3afc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [0x6cdf14]
test edi, edi
jne 0x414d16
push 0x154
call fcn.004eff75
add esp, 4
mov dword [ebp - 0x4c], eax
mov dword [ebp - 4], edi
test eax, eax
je 0x414d05
mov esi, eax
call fcn.0040fcc0
jmp 0x414d07
xor eax, eax
mov edi, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x6cdf14], edi
lea ebx, [ebp - 0x2c]
call fcn.0040ffa0
push 1
push 0x688728
mov ecx, ebx
mov dword [ebp - 4], 1
call fcn.0040a780
lea esi, [ebp - 0x48]
call fcn.00414930
push 0xffffffffffffffff
push 0
push eax
mov ecx, ebx
mov byte [ebp - 4], 2
call fcn.0040a950
mov esi, 8
cmp dword [ebp - 0x34], esi
jb 0x414d61
mov eax, dword [ebp - 0x48]
push eax
call fcn.004effaf
add esp, 4
cmp dword [ebp - 0x1c], 0
je 0x414d97
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], esi
jae 0x414d72
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne al
test al, al
je 0x414d97
cmp dword [ebp - 0x18], esi
jb 0x414d93
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004effaf
add esp, 4
mov al, 1
jmp 0x414daa
cmp dword [ebp - 0x18], esi
jb 0x414da8
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004effaf
add esp, 4
xor al, al
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.005dd8e2
mov esp, ebp
pop ebp
ret
Function at 0x414dd0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x646a6b
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x6c3afc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [0x6cdf14]
test edi, edi
jne 0x414e36
push 0x154
call fcn.004eff75
add esp, 4
mov dword [ebp - 0x4c], eax
mov dword [ebp - 4], edi
test eax, eax
je 0x414e25
mov esi, eax
call fcn.0040fcc0
jmp 0x414e27
xor eax, eax
mov edi, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x6cdf14], edi
lea ebx, [ebp - 0x2c]
call fcn.0040ffa0
push 1
push 0x688728
mov ecx, ebx
mov dword [ebp - 4], 1
call fcn.0040a780
lea esi, [ebp - 0x48]
call fcn.004147b0
push 0xffffffffffffffff
push 0
push eax
mov ecx, ebx
mov byte [ebp - 4], 2
call fcn.0040a950
mov esi, 8
cmp dword [ebp - 0x34], esi
jb 0x414e81
mov eax, dword [ebp - 0x48]
push eax
call fcn.004effaf
add esp, 4
cmp dword [ebp - 0x1c], 0
je 0x414eb7
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], esi
jae 0x414e92
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne al
test al, al
je 0x414eb7
cmp dword [ebp - 0x18], esi
jb 0x414eb3
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004effaf
add esp, 4
mov al, 1
jmp 0x414eca
cmp dword [ebp - 0x18], esi
jb 0x414ec8
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004effaf
add esp, 4
xor al, al
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.005dd8e2
mov esp, ebp
pop ebp
ret
Function at 0x414ef0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x646a6b
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x6c3afc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [0x6cdf14]
test edi, edi
jne 0x414f56
push 0x154
call fcn.004eff75
add esp, 4
mov dword [ebp - 0x4c], eax
mov dword [ebp - 4], edi
test eax, eax
je 0x414f45
mov esi, eax
call fcn.0040fcc0
jmp 0x414f47
xor eax, eax
mov edi, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x6cdf14], edi
lea ebx, [ebp - 0x2c]
call fcn.0040ffa0
push 1
push 0x688728
mov ecx, ebx
mov dword [ebp - 4], 1
call fcn.0040a780
lea esi, [ebp - 0x48]
call fcn.00414a60
push 0xffffffffffffffff
push 0
push eax
mov ecx, ebx
mov byte [ebp - 4], 2
call fcn.0040a950
mov esi, 8
cmp dword [ebp - 0x34], esi
jb 0x414fa1
mov eax, dword [ebp - 0x48]
push eax
call fcn.004effaf
add esp, 4
cmp dword [ebp - 0x1c], 0
je 0x414fd7
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], esi
jae 0x414fb2
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne al
test al, al
je 0x414fd7
cmp dword [ebp - 0x18], esi
jb 0x414fd3
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004effaf
add esp, 4
mov al, 1
jmp 0x414fea
cmp dword [ebp - 0x18], esi
jb 0x414fe8
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004effaf
add esp, 4
xor al, al
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.005dd8e2
mov esp, ebp
pop ebp
ret
Function at 0x415010
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x646a6b
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x6c3afc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [0x6cdf14]
test edi, edi
jne 0x415076
push 0x154
call fcn.004eff75
add esp, 4
mov dword [ebp - 0x4c], eax
mov dword [ebp - 4], edi
test eax, eax
je 0x415065
mov esi, eax
call fcn.0040fcc0
jmp 0x415067
xor eax, eax
mov edi, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x6cdf14], edi
lea ebx, [ebp - 0x2c]
call fcn.0040ffa0
push 1
push 0x688728
mov ecx, ebx
mov dword [ebp - 4], 1
call fcn.0040a780
lea esi, [ebp - 0x48]
call fcn.00414b80
push 0xffffffffffffffff
push 0
push eax
mov ecx, ebx
mov byte [ebp - 4], 2
call fcn.0040a950
mov esi, 8
cmp dword [ebp - 0x34], esi
jb 0x4150c1
mov eax, dword [ebp - 0x48]
push eax
call fcn.004effaf
add esp, 4
cmp dword [ebp - 0x1c], 0
je 0x4150f7
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], esi
jae 0x4150d2
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne al
test al, al
je 0x4150f7
cmp dword [ebp - 0x18], esi
jb 0x4150f3
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004effaf
add esp, 4
mov al, 1
jmp 0x41510a
cmp dword [ebp - 0x18], esi
jb 0x415108
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004effaf
add esp, 4
xor al, al
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.005dd8e2
mov esp, ebp
pop ebp
ret
Function at 0x416600
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x37d4
call fcn.005e0550
mov eax, dword [0x6c3afc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push esi
push edi
xor edi, edi
mov dword [ebp - 0x37d0], edi
mov dword [ebp - 0x37c8], edi
push edi
push str..PhysicalDrive_d
lea edx, [ebp - 0x108]
call fcn.00416c70
add esp, 8
push 0
push 0
push 3
push 0
push 3
push 0
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x4167ec
xor eax, eax
push 0x2710
push eax
lea ecx, [ebp - 0x2fe8]
mov dword [ebp - 0x37c4], eax
mov dword [ebp - 0x37c0], eax
push ecx
mov dword [ebp - 0x37cc], eax
mov dword [ebp - 0x37bc], eax
mov dword [ebp - 0x37c4], eax
mov dword [ebp - 0x37c0], eax
call fcn.005de050
add esp, 0xc
push 0
lea edx, [ebp - 0x37cc]
push edx
push 0x2710
lea eax, [ebp - 0x2fe8]
push eax
push 0xc
lea ecx, [ebp - 0x37c4]
push ecx
push 0x2d1400
push esi
call ebx
test eax, eax
je 0x4167df
mov eax, dword [ebp - 0x2fdc]
push 0
lea edi, [ebp - 0x33d0]
lea ecx, [ebp - 0x2fe8]
call fcn.00416490
mov eax, dword [ebp - 0x2fd8]
push 0
lea edi, [ebp - 0x8d8]
lea ecx, [ebp - 0x2fe8]
call fcn.00416490
mov eax, dword [ebp - 0x2fd4]
push 0
lea edi, [ebp - 0x37b8]
lea ecx, [ebp - 0x2fe8]
call fcn.00416490
mov eax, dword [ebp - 0x2fd0]
push 1
lea edi, [ebp - 0x4f0]
lea ecx, [ebp - 0x2fe8]
call fcn.00416490
add esp, 0x10
cmp byte [0x6cdf18], 0
jne 0x4167a0
movsx edx, byte [ebp - 0x4f0]
push edx
call fcn.005e1165
add esp, 4
test eax, eax
jne 0x416767
movsx eax, byte [ebp - 0x4dd]
push eax
call fcn.005e1165
add esp, 4
test eax, eax
je 0x4167a0
lea ecx, [ebp - 0x4f0]
push ecx
push 0x400
push 0x6cdf18
call fcn.005e2b29
lea edx, [ebp - 0x8d8]
push edx
push 0x400
push 0x6ce318
call fcn.005e2b29
add esp, 0x18
mov dword [ebp - 0x37d0], 1
push 0x2710
lea eax, [ebp - 0x2fe8]
push 0
push eax
call fcn.005de050
add esp, 0xc
push 0
lea ecx, [ebp - 0x37cc]
push ecx
push 0x2710
lea edx, [ebp - 0x2fe8]
push edx
push 0
push 0
push 0x700a0
push esi
call ebx
mov edi, dword [ebp - 0x37c8]
jmp 0x4167e5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
mov dword [ebp - 0x37c8], edi
cmp edi, 0x10
jl 0x41662e
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x37d0]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005dd8e2
mov esp, ebp
pop ebp
ret
Function at 0x416a70
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x6c3afc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x688621
push 0x400
push 0x6cdf18
xor esi, esi
call fcn.005e2b29
add esp, 0xc
push 0x114
lea eax, [ebp - 0x120]
push esi
push eax
call fcn.005de050
add esp, 0xc
lea ecx, [ebp - 0x120]
push ecx
mov dword [ebp - 0x120], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x110], 2
jne 0x416af5
call fcn.00416180
test eax, eax
jne 0x416b11
call fcn.00416910
test eax, eax
jne 0x416b11
call fcn.00416600
test eax, eax
jne 0x416b11
call fcn.00416350
jmp 0x416b11
xor edi, edi
test esi, esi
jne 0x416b11
cmp byte [0x6cdf18], 0
jne 0x416b11
call fcn.00416820
inc edi
mov esi, eax
cmp edi, 0xa
jl 0x416af7
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov eax, 0x6cdf18
pop esi
call fcn.005dd8e2
mov esp, ebp
pop ebp
ret

Function at 0x4174f0
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
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]
push 0x6ce718
push 0x688020
push 1
push 0
push 0x6880f0
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp dword [0x6ce718], 0
jne 0x41753f
mov eax, 0xfffffffe
mov esp, ebp
pop ebp
ret
push ebx
lea ebx, [ebp - 4]
call fcn.00416d40
mov eax, dword [eax]
pop ebx
test eax, eax
je 0x417553
mov ecx, dword [eax]
jmp 0x417555
xor ecx, ecx
mov eax, dword [0x6ce718]
mov edx, dword [eax]
push esi
push 0x6ce71c
push 0
push 0
push 0
push 0
push 0
push 0
push ecx
push eax
mov eax, dword [edx + 0xc]
call eax
mov esi, dword [ebp - 4]
test esi, esi
je 0x4175b4
lea ecx, [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x4175b4
test esi, esi
je 0x4175b4
mov eax, dword [esi]
test eax, eax
je 0x41759b
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x4175ab
push eax
call fcn.004effaf
add esp, 4
push esi
call fcn.004effaf
add esp, 4
mov eax, dword [0x6ce71c]
pop esi
test eax, eax
je 0x417536
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push eax
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x423870
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6435b2
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x6c3afc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [edi], 0x688810
mov dword [edi + 0x68], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
lea esi, [edi + 0x10]
push esi
mov dword [ebp - 4], ebx
push edi
mov dword [ebp - 0x10], 1
call fcn.00409e20
mov dword [ebp - 4], 1
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push esi
mov dword [edi + ecx], 0x68880c
call fcn.0040a5f0
lea edx, [esi + 8]
mov dword [esi + 0x10], edx
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi], 0x6887d0
mov byte [esi + 0x50], bl
mov byte [esi + 0x49], bl
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 edx, dword [0x6cd9fc]
mov dword [eax], ebx
mov ecx, dword [esi + 0x30]
mov dword [ecx], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x4c], edx
mov dword [esi + 0x44], ebx
mov ecx, dword [ebp + 0xc]
push 1
mov byte [ebp - 4], 2
call fcn.00423990
test eax, eax
jne 0x42396b
mov eax, dword [edi]
mov ecx, dword [eax + 4]
mov eax, dword [ecx + edi + 0xc]
add ecx, edi
or eax, 2
cmp dword [ecx + 0x38], ebx
jne 0x42395a
or eax, 4
and eax, 0x17
mov dword [ecx + 0xc], eax
test dword [ecx + 0x10], eax
je 0x42396b
push ebx
call fcn.0040bc70
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x423e90
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x648d1e
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x6c3afc]
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 ebx, ebx
push ebx
mov edi, ecx
xor eax, eax
push 0x688638
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
call fcn.00403600
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, edi
mov dword [ebp - 4], ebx
call fcn.00423c30
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], 8
mov esi, eax
jb 0x423f09
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004effaf
add esp, 4
cmp esi, ebx
je 0x42407e
cmp dword [edi + 0x14], ebx
je 0x42407e
cmp dword [edi + 0x30], ebx
je 0x42407e
lea esi, [ebp - 0x64]
call fcn.00432620
mov esi, eax
push 0x690680
lea ebx, [edi + 0xac]
lea eax, [ebp - 0x2c]
push ebx
push eax
mov dword [ebp - 4], 1
call fcn.0040aa60
add esp, 0xc
push esi
push eax
lea ecx, [ebp - 0x48]
push ecx
mov byte [ebp - 4], 2
call fcn.0040ada0
add esp, 0xc
mov esi, 8
cmp dword [ebp - 0x18], esi
jb 0x423f74
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004effaf
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
mov byte [ebp - 4], 5
cmp dword [ebp - 0x50], esi
jb 0x423f9d
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.004effaf
add esp, 4
xor edx, edx
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], 0
mov word [ebp - 0x64], dx
cmp dword [ebp - 0x38], edx
je 0x424076
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x34], esi
jae 0x423fc5
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne al
test al, al
je 0x424076
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x80]
call fcn.00434a70
mov byte [ebp - 4], 6
cmp dword [ebp - 0x70], 0
je 0x42406e
lea esi, [edi + 0x20]
mov eax, esi
call fcn.00435910
test al, al
jne 0x424006
push esi
call fcn.00435930
add esp, 4
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x48]
push edx
lea edx, [edi + 4]
lea ecx, [ebp - 0x80]
call fcn.004240a0
push 0x690680
lea eax, [ebp - 0xb8]
push ebx
push eax
call fcn.0040aa60
add esp, 0xc
push 0x690598
push eax
lea ecx, [ebp - 0x9c]
push ecx
mov byte [ebp - 4], 7
call fcn.0040ac00
add esp, 0xc
lea edx, [ebp - 0x80]
push edx
mov edx, esi
mov ecx, eax
mov byte [ebp - 4], 8
call fcn.00433500
lea ecx, [ebp - 0x9c]
call fcn.004bf3b0
lea ecx, [ebp - 0xb8]
call fcn.004bf3b0
lea ecx, [ebp - 0x80]
call fcn.004bf3b0
lea ecx, [ebp - 0x48]
call fcn.004bf3b0
xor eax, eax
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.005dd8e2
mov esp, ebp
pop ebp
ret 4
Function at 0x424f30
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6485a0
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x6c3afc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [esi + 0x14], 0
mov ebx, ecx
je 0x42501a
cmp dword [esi + 0x30], 0
je 0x42501a
push 0x688728
lea eax, [esi + 0x20]
push eax
lea ecx, [ebp - 0x48]
push ecx
call fcn.0040aa60
add esp, 0xc
push ebx
push eax
lea edx, [ebp - 0x2c]
push edx
mov dword [ebp - 4], 0
call fcn.0040ad50
add esp, 0xc
mov byte [ebp - 4], 2
cmp dword [ebp - 0x34], 8
jb 0x424faf
mov eax, dword [ebp - 0x48]
push eax
call fcn.004effaf
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], cx
cmp dword [ebp - 0x1c], ecx
je 0x424fe4
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x424fd4
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne al
test al, al
jne 0x424ff0
cmp dword [ebp - 0x18], 8
jb 0x42501a
mov edx, dword [ebp - 0x2c]
push edx
jmp 0x425012
mov edx, ebx
lea ecx, [esi + 4]
mov ebx, esi
call fcn.00433360
lea eax, [ebp - 0x2c]
push eax
call fcn.00435b80
add esp, 4
cmp dword [ebp - 0x18], 8
jb 0x42501a
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004effaf
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005dd8e2
mov esp, ebp
pop ebp
ret