joyce8/EMBER2024-capa huggingface dataset:
Function at 0x418ca0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov eax, dword [esi + 8]
cmp eax, 0xffffff9b
ja 0x418d65
je 0x418d49
cmp eax, 0xffffff4f
je 0x418d36
cmp eax, 0xffffff50
je 0x418d25
cmp eax, 0xffffff51
je 0x418d1b
cmp eax, 0xffffff65
je 0x418d03
cmp eax, 0xffffff93
je 0x418cf2
cmp eax, 0xffffff94
jne 0x418ce9
push esi
call fcn.0041c4fd
xor al, al
pop edi
pop esi
pop ebx
pop ebp
ret 8
push esi
mov ecx, edi
call fcn.00412664
mov ecx, edi
call fcn.0040fc20
jmp 0x418ce9
push dword [ebp + 0xc]
mov ecx, edi
push esi
call fcn.0041845d
mov ecx, edi
mov bl, al
call fcn.0040fc20
mov al, bl
jmp 0x418ceb
push esi
mov ecx, edi
call fcn.0041ab99
jmp 0x418d2d
push esi
mov ecx, edi
call fcn.0041ac05
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov al, 1
jmp 0x418ceb
test byte [esi + 0xc], 3
lea eax, [esi + 0xc]
je 0x418ce9
push eax
mov ecx, edi
call fcn.004189be
jmp 0x418ce9
cmp byte [edi + 0x9a], 0
je 0x418ce9
cmp byte [edi + 0x9b], 0
jne 0x418cfa
push esi
mov ecx, edi
call fcn.00418c73
jmp 0x418cfa
cmp eax, 0xfffffff4
je 0x418e13
cmp eax, 0xfffffffb
je 0x418cfa
cmp eax, 0xfffffffc
je 0x418dd3
cmp eax, 0xfffffffd
je 0x418dbe
cmp eax, 0xfffffffe
jne 0x418ce9
mov ecx, edi
call fcn.0040f8c2
mov ecx, edi
call fcn.0040fc20
cmp byte [edi + 0x9b], 0
je 0x418ce9
cmp dword [0x455370], 0x40047
jb 0x418ce9
push esi
mov ecx, edi
call fcn.0041c134
jmp 0x418ce9
mov ecx, edi
call fcn.0040fc20
push 1
mov ecx, edi
call fcn.004178be
jmp 0x418ce9
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x12
call esi
mov bx, ax
push 0x11
shr ebx, 0xf
and bl, 1
call esi
shr eax, 0xf
and al, 1
push 0x10
mov byte [ebp + 0xf], al
call esi
shr eax, 0xf
test al, 1
jne 0x418dc5
test bl, bl
je 0x418dc5
cmp byte [ebp + 0xf], 0
jne 0x418dc5
mov ecx, edi
call fcn.0041922d
jmp 0x418ce9
cmp byte [edi + 0x9b], 0
je 0x418ce9
push dword [ebp + 0xc]
mov ecx, edi
push esi
call fcn.00418e30
jmp 0x418ceb
Function at 0x41b122
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
mov eax, 0x43f522
call fcn.0043b810
push ecx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x10], esi
mov dword [esi + 4], edi
mov dword [esi], 0x444520
lea ecx, [esi + 0xc]
mov dword [esi + 8], edi
push 3
mov dword [ebp - 4], edi
mov dword [ecx], edi
mov dword [ecx + 4], edi
mov dword [ecx + 8], edi
call fcn.004034f8
lea ecx, [esi + 0x18]
push 3
mov byte [ebp - 4], 1
mov dword [ecx], edi
mov dword [ecx + 4], edi
mov dword [ecx + 8], edi
call fcn.004034f8
lea ecx, [esi + 0x24]
push 3
mov byte [ebp - 4], 2
mov dword [ecx], edi
mov dword [ecx + 4], edi
mov dword [ecx + 8], edi
call fcn.004034f8
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], 4
mov dword [esi + 0x30], 0x4444d8
mov dword [esi], 0x4452c0
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x41b1b0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x43f55d
call fcn.0043b810
push ecx
push ecx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
and dword [ebp - 4], 0
lea edi, [esi + 0x30]
mov dword [ebp - 0x14], edi
mov dword [edi], 0x4444d8
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.0042675e
mov ecx, edi
mov byte [ebp - 4], 3
call fcn.00426735
push dword [esi + 0x24]
call fcn.0042690e
push dword [esi + 0x18]
call fcn.0042690e
push dword [esi + 0xc]
call fcn.0042690e
mov ecx, dword [ebp - 0xc]
add esp, 0xc
mov dword [esi], 0x444550
mov dword fs:[0], ecx
pop edi
pop esi
leave
ret

Function at 0x41cf34
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x43f8a3
call fcn.0043b810
push ecx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x10], esi
mov dword [esi + 4], edi
mov dword [esi], 0x444520
lea ecx, [esi + 0x10]
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
push 3
mov dword [ebp - 4], edi
mov dword [ecx], edi
mov dword [ecx + 4], edi
mov dword [ecx + 8], edi
call fcn.004034f8
lea ecx, [esi + 0x1c]
push 3
mov byte [ebp - 4], 1
mov dword [ecx], edi
mov dword [ecx + 4], edi
mov dword [ecx + 8], edi
call fcn.004034f8
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], 8
mov dword [esi + 0x28], 0x445320
mov dword [esi], 0x4452f0
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x41fdd3
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
mov eax, 0x44009c
call fcn.0043b810
sub esp, 0x18
push esi
mov esi, ecx
lea ecx, [ebp - 0x18]
lea edx, [esi + 0x30]
call fcn.0041fd4c
and dword [ebp - 4], 0
push eax
lea ecx, [esi + 0xc]
call fcn.0040328e
push dword [ebp - 0x18]
or dword [ebp - 4], 0xffffffff
call fcn.0042690e
pop ecx
lea edx, [esi + 0x34]
lea ecx, [ebp - 0x18]
call fcn.0041fda6
push eax
lea ecx, [esi + 0x18]
mov dword [ebp - 4], 1
call fcn.0040328e
push dword [ebp - 0x18]
or dword [ebp - 4], 0xffffffff
call fcn.0042690e
pop ecx
lea edx, [esi + 0x38]
lea ecx, [ebp - 0x24]
call fcn.0041fd79
push eax
lea ecx, [esi + 0x24]
mov dword [ebp - 4], 2
call fcn.0040328e
push dword [ebp - 0x24]
call fcn.0042690e
pop ecx
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret

Function at 0x420ab6
Capabilities:
Get common file path
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x168
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
cmp dword [ebp - 4], 0
je 0x420b20
push 0x4008
lea eax, [ebp - 0x168]
push 0x160
push eax
push 0x80
push dword [ebp - 4]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
lea eax, [ebp - 8]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
mov eax, dword [ebp - 8]
test eax, eax
je 0x420b18
push dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x164]
leave
ret
xor eax, eax
leave
ret

Function at 0x420b24
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x160
push 0x4010
lea eax, [ebp - 0x160]
push 0x160
or dl, 0x80
push eax
push edx
push ecx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x15c]
mov dword [ecx], edx
leave
ret 4
Function at 0x420c25
Capabilities:
Get file system object information

Disassembly:
mov eax, 0x440288
call fcn.0043b810
sub esp, 0x42c
cmp byte [0x45577c], 0
push esi
mov esi, edx
jne 0x420cc0
and byte [ebp - 0x74], 0
mov edx, ecx
lea ecx, [ebp - 0x18]
call fcn.00403109
mov eax, dword [eax]
lea ecx, [ebp - 0x184]
push 0x4410
push 0x160
or esi, 0x80
push ecx
push esi
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov esi, eax
push dword [ebp - 0x18]
call fcn.0042690e
pop ecx
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x18]
call fcn.0041f404
and dword [ebp - 4], 0
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x24]
call fcn.004136b4
mov ecx, dword [ebp + 0xc]
push eax
mov byte [ebp - 4], 1
call fcn.0040328e
push dword [ebp - 0x24]
call fcn.0042690e
push dword [ebp - 0x18]
call fcn.0042690e
mov eax, dword [ebp + 8]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x180]
jmp 0x420cff
mov ecx, dword [ecx]
and word [ebp - 0x224], 0
push 0x4410
lea eax, [ebp - 0x438]
mov edx, esi
push 0x2b4
push eax
or dl, 0x80
call fcn.00420b7a
mov ecx, dword [ebp + 0xc]
mov esi, eax
lea eax, [ebp - 0x224]
push eax
call fcn.004048ae
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x434]
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 8

Function at 0x425ab7
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, ecx
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, dword [esp + 8]
shr eax, 0xf
movzx ecx, word [ecx + 0xc]
and al, 1
sub ecx, 0x26
je 0x425ae4
dec ecx
dec ecx
je 0x425adc
xor al, al
jmp 0x425af3
test al, al
je 0x425af1
push 0
jmp 0x425aea
test al, al
je 0x425af1
push 1
mov ecx, esi
call fcn.00425af7
mov al, 1
pop esi
ret 4

Function at 0x4274a3
Capabilities:
Write clipboard data

Disassembly:
mov eax, 0x440ccc
call fcn.0043b810
push ecx
push ecx
push ebx
push esi
xor ebx, ebx
push edi
mov edi, edx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ebx
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], ebx
push 0x2002
call fcn.0042a402
test al, al
je 0x427512
mov esi, dword [ebp - 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp eax, ebx
je 0x427512
push dword [ebp + 8]
push edi
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov byte [ebp - 4], bl
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
je 0x427512
lea ecx, [ebp - 0x10]
call fcn.0042a456
mov bl, 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0042a3fd
mov ecx, dword [ebp - 0xc]
mov al, bl
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x427ec8
Capabilities:
Get common file path

Disassembly:
mov eax, 0x440db4
call fcn.0043b810
sub esp, 0x18
push ebx
xor ebx, ebx
cmp byte [0x45577c], bl
push esi
mov esi, ecx
je 0x427f2d
push edi
mov edi, 0x105
cmp dword [esi + 8], edi
jg 0x427ef4
push edi
call fcn.004034f8
mov eax, dword [esi]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov ecx, dword [esi]
xor edx, edx
cmp word [ecx], bx
je 0x427f11
mov edi, ecx
inc edx
inc edi
inc edi
cmp word [edi], bx
jne 0x427f09
mov word [ecx + edx*2], bx
cmp eax, ebx
mov dword [esi + 4], edx
pop edi
jbe 0x427f29
cmp eax, 0x104
ja 0x427f29
push 1
pop eax
jmp 0x427f7c
xor eax, eax
jmp 0x427f7c
push 3
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
call fcn.00403645
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], ebx
call fcn.00427e8b
test al, al
je 0x427f71
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x24]
call fcn.00427f8a
push eax
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.0040328e
push dword [ebp - 0x24]
call fcn.0042690e
pop ecx
mov bl, 1
push dword [ebp - 0x18]
call fcn.0042690e
pop ecx
mov al, bl
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x428082
Capabilities:
Set file attributes

Disassembly:
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
setne al
ret

Function at 0x42810b
Capabilities:
Set file attributes

Disassembly:
mov eax, 0x440ddc
call fcn.0043b810
sub esp, 0x18
cmp byte [0x45577c], 0
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
jne 0x42814c
mov edx, ebx
lea ecx, [ebp - 0x24]
call fcn.004281b7
mov eax, dword [eax]
mov edx, edi
mov ecx, eax
call fcn.00428082
mov bl, al
push dword [ebp - 0x24]
call fcn.0042690e
pop ecx
mov al, bl
jmp 0x4281a8
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push edi
push ebx
call esi
test eax, eax
je 0x42815e
mov al, 1
jmp 0x4281a8
xor eax, eax
push 3
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
call fcn.004034f8
and dword [ebp - 4], 0
lea edx, [ebp - 0x18]
mov ecx, ebx
call fcn.00429b6e
test al, al
je 0x42819d
push edi
push dword [ebp - 0x18]
call esi
mov esi, eax
push dword [ebp - 0x18]
call fcn.0042690e
test esi, esi
pop ecx
setne al
jmp 0x4281a8
push dword [ebp - 0x18]
call fcn.0042690e
pop ecx
xor al, al
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x428206
Capabilities:
Delete directory

Disassembly:
mov eax, 0x440e04
call fcn.0043b810
sub esp, 0x18
push ebx
xor ebx, ebx
cmp byte [0x45577c], bl
push esi
push edi
mov edi, ecx
jne 0x428242
mov edx, edi
lea ecx, [ebp - 0x24]
call fcn.004281b7
mov ecx, dword [eax]
call fcn.00428090
mov bl, al
push dword [ebp - 0x24]
call fcn.0042690e
pop ecx
mov al, bl
jmp 0x428296
mov esi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push edi
call esi
test eax, eax
je 0x428253
mov al, 1
jmp 0x428296
push 3
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
call fcn.004034f8
lea edx, [ebp - 0x18]
mov ecx, edi
mov dword [ebp - 4], ebx
call fcn.00429b6e
test al, al
push dword [ebp - 0x18]
je 0x42828e
call esi
mov esi, eax
push dword [ebp - 0x18]
call fcn.0042690e
cmp esi, ebx
pop ecx
setne al
jmp 0x428296
call fcn.0042690e
pop ecx
xor al, al
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x4282a5
Capabilities:
Move file

Disassembly:
mov eax, 0x440e28
call fcn.0043b810
sub esp, 0x34
push ebx
xor ebx, ebx
cmp byte [0x45577c], bl
push esi
push edi
mov edi, edx
mov dword [ebp - 0x10], ecx
jne 0x428302
lea ecx, [ebp - 0x40]
call fcn.004281b7
mov edx, dword [ebp - 0x10]
mov esi, dword [eax]
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], ebx
call fcn.004281b7
mov eax, dword [eax]
mov edx, esi
mov ecx, eax
call fcn.004280fd
mov bl, al
push dword [ebp - 0x34]
call fcn.0042690e
push dword [ebp - 0x40]
call fcn.0042690e
pop ecx
mov al, bl
pop ecx
jmp 0x42838f
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileW]
push edi
push ecx
call esi
test eax, eax
je 0x428314
mov al, 1
jmp 0x42838f
push 3
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
call fcn.004034f8
push 3
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 1
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
call fcn.004034f8
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x28]
push eax
mov edx, edi
mov byte [ebp - 4], 2
call fcn.0042809d
test al, al
push dword [ebp - 0x1c]
je 0x42837e
push dword [ebp - 0x28]
call esi
mov esi, eax
push dword [ebp - 0x1c]
call fcn.0042690e
push dword [ebp - 0x28]
call fcn.0042690e
pop ecx
cmp esi, ebx
pop ecx
setne al
jmp 0x42838f
call fcn.0042690e
push dword [ebp - 0x28]
call fcn.0042690e
pop ecx
xor al, al
pop ecx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x4283ad
Capabilities:
Create directory

Disassembly:
mov eax, 0x440e3c
call fcn.0043b810
sub esp, 0x18
push ebx
xor ebx, ebx
cmp byte [0x45577c], bl
push esi
push edi
mov edi, ecx
jne 0x4283e9
mov edx, edi
lea ecx, [ebp - 0x24]
call fcn.004281b7
mov ecx, dword [eax]
call fcn.0042839e
mov bl, al
push dword [ebp - 0x24]
call fcn.0042690e
pop ecx
mov al, bl
jmp 0x42844f
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push ebx
push edi
call esi
test eax, eax
je 0x4283fb
mov al, 1
jmp 0x42844f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x42844d
push 3
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
call fcn.004034f8
lea edx, [ebp - 0x18]
mov ecx, edi
mov dword [ebp - 4], ebx
call fcn.00429b6e
test al, al
je 0x428444
push ebx
push dword [ebp - 0x18]
call esi
mov esi, eax
push dword [ebp - 0x18]
call fcn.0042690e
cmp esi, ebx
pop ecx
setne al
jmp 0x42844f
push dword [ebp - 0x18]
call fcn.0042690e
pop ecx
xor al, al
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x42867b
Capabilities:
Delete file

Disassembly:
mov eax, 0x440e84
call fcn.0043b810
sub esp, 0x18
push ebx
xor ebx, ebx
cmp byte [0x45577c], bl
push esi
push edi
mov edi, ecx
jne 0x4286b7
mov edx, edi
lea ecx, [ebp - 0x24]
call fcn.004281b7
mov ecx, dword [eax]
call fcn.0042865d
mov bl, al
push dword [ebp - 0x24]
call fcn.0042690e
pop ecx
mov al, bl
jmp 0x428718
xor edx, edx
mov ecx, edi
call fcn.0042810b
test al, al
je 0x428716
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
call esi
test eax, eax
je 0x4286d5
mov al, 1
jmp 0x428718
push 3
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
call fcn.004034f8
lea edx, [ebp - 0x18]
mov ecx, edi
mov dword [ebp - 4], ebx
call fcn.00429b6e
test al, al
push dword [ebp - 0x18]
je 0x428710
call esi
mov esi, eax
push dword [ebp - 0x18]
call fcn.0042690e
cmp esi, ebx
pop ecx
setne al
jmp 0x428718
call fcn.0042690e
pop ecx
xor al, al
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x428c64
Capabilities:
Get common file path

Disassembly:
mov eax, 0x440f78
call fcn.0043b810
sub esp, 0x18
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov eax, dword [esi]
mov dword [esi + 4], ebx
mov word [eax], bx
cmp byte [0x45577c], bl
je 0x428cd0
push edi
mov edi, 0x105
cmp dword [esi + 8], edi
jg 0x428c98
push edi
call fcn.004034f8
push dword [esi]
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov ecx, dword [esi]
xor edx, edx
cmp word [ecx], bx
je 0x428cb4
mov edi, ecx
inc edx
inc edi
inc edi
cmp word [edi], bx
jne 0x428cac
mov word [ecx + edx*2], bx
cmp eax, ebx
mov dword [esi + 4], edx
pop edi
jbe 0x428ccc
cmp eax, 0x104
ja 0x428ccc
push 1
pop eax
jmp 0x428d1f
xor eax, eax
jmp 0x428d1f
push 3
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
call fcn.00403645
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], ebx
call fcn.00428c28
test al, al
je 0x428d14
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x24]
call fcn.00427f8a
push eax
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.0040328e
push dword [ebp - 0x24]
call fcn.0042690e
pop ecx
mov bl, 1
push dword [ebp - 0x18]
call fcn.0042690e
pop ecx
mov al, bl
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x428d2d
Capabilities:
Get common file path

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
mov eax, 0x105
push edi
mov edi, edx
cmp dword [esi + 8], eax
mov ebx, ecx
jg 0x428d4a
push eax
mov ecx, esi
call fcn.00403645
push dword [esi]
push 0
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
mov ecx, esi
mov edi, eax
call fcn.00427121
mov eax, edi
pop edi
pop esi
pop ebx
ret 4
Function at 0x428d67
Capabilities:
Get common file path

Disassembly:
mov eax, 0x440fc2
call fcn.0043b810
sub esp, 0x2c
push ebx
xor ebx, ebx
cmp byte [0x45577c], bl
push esi
push edi
mov edi, edx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ebx
je 0x428dca
mov esi, dword [ebp + 8]
mov eax, 0x104
cmp dword [esi + 8], eax
jg 0x428d9e
push eax
mov ecx, esi
call fcn.004034f8
push dword [esi]
push ebx
push edi
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov ecx, dword [esi]
xor edx, edx
cmp word [ecx], bx
je 0x428dbe
mov edi, ecx
inc edx
inc edi
inc edi
cmp word [edi], bx
jne 0x428db6
mov word [ecx + edx*2], bx
mov dword [esi + 4], edx
jmp 0x428e7b
push 3
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
call fcn.00403645
cmp edi, ebx
mov dword [ebp - 4], ebx
je 0x428dfd
mov edx, edi
lea ecx, [ebp - 0x38]
call fcn.004281b7
mov dword [ebp - 0x10], 1
mov esi, dword [eax]
mov byte [ebp - 4], 1
jmp 0x428dff
xor esi, esi
mov edx, dword [ebp - 0x14]
cmp edx, ebx
je 0x428e1b
lea ecx, [ebp - 0x2c]
call fcn.004281b7
push 2
pop ecx
or dword [ebp - 0x10], ecx
mov dword [ebp - 4], ecx
mov ecx, dword [eax]
jmp 0x428e1d
xor ecx, ecx
lea eax, [ebp - 0x20]
mov edx, esi
push eax
call fcn.00428d2d
test byte [ebp - 0x10], 2
mov esi, eax
je 0x428e3d
push dword [ebp - 0x2c]
and dword [ebp - 0x10], 0xfffffffd
call fcn.0042690e
pop ecx
test byte [ebp - 0x10], 1
mov dword [ebp - 4], ebx
je 0x428e4f
push dword [ebp - 0x38]
call fcn.0042690e
pop ecx
lea edx, [ebp - 0x20]
lea ecx, [ebp - 0x38]
call fcn.00427f8a
mov ecx, dword [ebp + 8]
push eax
mov byte [ebp - 4], 3
call fcn.0040328e
push dword [ebp - 0x38]
call fcn.0042690e
push dword [ebp - 0x20]
call fcn.0042690e
pop ecx
mov eax, esi
pop ecx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x4297b1
Capabilities:
Get disk information

Disassembly:
mov eax, 0x4410dc
call fcn.0043b810
sub esp, 0x20
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
call fcn.0042675e
mov esi, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
xor ebx, ebx
push ebx
push ebx
call esi
mov edi, eax
cmp edi, ebx
jne 0x4297e2
xor al, al
jmp 0x429881
push 3
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
call fcn.00403645
cmp edi, dword [ebp - 0x24]
mov dword [ebp - 4], ebx
jl 0x429806
push edi
lea ecx, [ebp - 0x2c]
call fcn.00403645
push dword [ebp - 0x2c]
push edi
call esi
mov esi, eax
cmp esi, ebx
je 0x429876
cmp esi, edi
ja 0x429876
push 3
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
call fcn.00403645
xor edi, edi
cmp esi, ebx
mov byte [ebp - 4], 1
jbe 0x429866
mov eax, dword [ebp - 0x2c]
mov al, byte [edi + eax]
cmp al, bl
mov byte [ebp - 0x14], al
jne 0x429856
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x20]
push eax
call fcn.00413b2f
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x1c], ebx
mov byte [eax], bl
jmp 0x429861
push dword [ebp - 0x14]
lea ecx, [ebp - 0x20]
call fcn.00413acf
inc edi
cmp edi, esi
jb 0x429833
cmp dword [ebp - 0x1c], ebx
jne 0x42986d
mov bl, 1
push dword [ebp - 0x20]
call fcn.0042690e
pop ecx
push dword [ebp - 0x2c]
call fcn.0042690e
pop ecx
mov al, bl
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x429890
Capabilities:
Get disk information

Disassembly:
mov eax, 0x441110
call fcn.0043b810
sub esp, 0x40
push ebx
push esi
push edi
mov dword [ebp - 0x14], ecx
call fcn.0042675e
xor ebx, ebx
cmp byte [0x45577c], bl
je 0x42996b
mov esi, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
push ebx
push ebx
call esi
mov edi, eax
cmp edi, ebx
jne 0x4298cd
xor al, al
jmp 0x4299e5
push 3
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
call fcn.004034f8
cmp edi, dword [ebp - 0x24]
mov dword [ebp - 4], ebx
jl 0x4298f1
push edi
lea ecx, [ebp - 0x2c]
call fcn.004034f8
push dword [ebp - 0x2c]
push edi
call esi
mov esi, eax
cmp esi, ebx
je 0x42995e
cmp esi, edi
ja 0x42995e
push 3
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
call fcn.004034f8
xor edi, edi
cmp esi, ebx
mov byte [ebp - 4], 1
jbe 0x42994f
mov eax, dword [ebp - 0x2c]
mov ax, word [eax + edi*2]
cmp ax, bx
jne 0x429941
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x20]
push eax
call fcn.00403416
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x1c], ebx
mov word [eax], bx
jmp 0x42994a
push eax
lea ecx, [ebp - 0x20]
call fcn.004032cc
inc edi
cmp edi, esi
jb 0x42991e
cmp dword [ebp - 0x1c], ebx
push dword [ebp - 0x20]
sete bl
call fcn.0042690e
pop ecx
push dword [ebp - 0x2c]
call fcn.0042690e
pop ecx
mov al, bl
jmp 0x4299e5
push 4
lea ecx, [ebp - 0x4c]
call fcn.004028ea
mov edi, 0x445230
mov dword [ebp - 0x4c], edi
lea ecx, [ebp - 0x4c]
mov dword [ebp - 4], 2
call fcn.004297b1
xor esi, esi
cmp dword [ebp - 0x44], ebx
mov byte [ebp - 0xd], al
jle 0x4299c4
mov eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x38]
mov edx, dword [eax + esi*4]
call fcn.004136b4
mov ecx, dword [ebp - 0x14]
push eax
mov byte [ebp - 4], 3
call fcn.00403416
mov byte [ebp - 4], 2
push dword [ebp - 0x38]
call fcn.0042690e
inc esi
pop ecx
cmp esi, dword [ebp - 0x44]
jl 0x429996
mov dword [ebp - 0x4c], edi
lea ecx, [ebp - 0x4c]
mov dword [ebp - 4], 4
call fcn.0042675e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.00426735
mov al, byte [ebp - 0xd]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret