joyce8/EMBER2024-capa huggingface dataset:
Function at 0x425560
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x4713e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
push str.Rename__s_to__s_r_n
call fcn.004145f0
add esp, 0xc
push 0x5c
mov edx, dword [ebp + 0xc]
push edx
call fcn.00439480
add esp, 8
test eax, eax
je 0x4255a1
xor eax, eax
jmp 0x425650
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x404]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea edx, [ebp - 0x404]
push edx
call fcn.00426060
add esp, 4
lea eax, [ebp - 0x404]
push eax
lea ecx, [ebp - 0x804]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x5c
lea edx, [ebp - 0x804]
push edx
call fcn.0043a8c0
add esp, 8
mov dword [ebp - 0x808], eax
cmp dword [ebp - 0x808], 0
jne 0x4255f9
xor eax, eax
jmp 0x425650
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x808]
add ecx, 1
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea edx, [ebp - 0x804]
push edx
call fcn.004150e0
add esp, 4
test eax, eax
je 0x42563a
lea eax, [ebp - 0x404]
push eax
call fcn.004150e0
add esp, 4
test eax, eax
jne 0x42563a
mov eax, 1
jmp 0x425650
push 1
lea ecx, [ebp - 0x804]
push ecx
lea edx, [ebp - 0x404]
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00439b24
mov esp, ebp
pop ebp
ret

Function at 0x425790
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x4713e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
push str.Move__s_to__s_r_n
call fcn.004145f0
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [ebp - 0x804]
push ecx
call fcn.00426060
add esp, 4
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [ebp - 0x404]
push ecx
call fcn.00426060
add esp, 4
lea edx, [ebp - 0x404]
push edx
call fcn.00415060
add esp, 4
test eax, eax
je 0x425825
lea eax, [ebp - 0x804]
push eax
call fcn.00415060
add esp, 4
test eax, eax
jne 0x425825
mov eax, 1
jmp 0x42583b
push 3
lea ecx, [ebp - 0x404]
push ecx
lea edx, [ebp - 0x804]
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00439b24
mov esp, ebp
pop ebp
ret
Function at 0x426360
Capabilities:
Create process on windows
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x4713e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x408], eax
cmp dword [ebp - 0x408], 0x110
ja 0x4263af
cmp dword [ebp - 0x408], 0x110
je 0x42640f
cmp dword [ebp - 0x408], 2
je 0x4264a5
cmp dword [ebp - 0x408], 6
je 0x4263d4
jmp 0x42656b
cmp dword [ebp - 0x408], 0x111
je 0x4264f4
cmp dword [ebp - 0x408], 0x113
je 0x4264ce
jmp 0x42656b
mov ecx, dword [ebp + 0x10]
and ecx, 0xffff
movzx edx, cx
test edx, edx
jne 0x4263ed
cmp dword [0x4851f0], 0
jne 0x4263f2
jmp 0x42656b
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00428fb0
add esp, 0x10
jmp 0x42656b
mov ecx, dword [0x5ada40]
push ecx
push 1
push 0x80
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [0x4850b8], 0
push 4
mov eax, dword [ebp + 8]
push eax
call fcn.00414d00
add esp, 8
push 0
push 1
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0x68
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0x67
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, 1
imul edx, ecx, 0
movzx eax, byte [edx + 0x4850c0]
test eax, eax
je 0x4264a0
push 0x4850c0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextA]
jmp 0x42656b
cmp dword [0x487220], 0
je 0x4264bf
mov edx, dword [0x487220]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov dword [0x487220], 0
jmp 0x42656b
cmp dword [ebp + 0x10], 0x68
jne 0x4264f2
push 0
call dword [sym.imp.USER32.dll_LockWindowUpdate]
push 0x66
mov ecx, dword [0x4850bc]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_LockWindowUpdate]
jmp 0x42656b
mov edx, dword [ebp + 0x10]
and edx, 0xffff
movzx eax, dx
mov dword [ebp - 0x40c], eax
cmp dword [ebp - 0x40c], 1
je 0x42655a
cmp dword [ebp - 0x40c], 2
je 0x42654e
cmp dword [ebp - 0x40c], 0x68
je 0x426523
jmp 0x42656b
call fcn.004144b0
push eax
push str.notepad.exe___s_
lea ecx, [ebp - 0x404]
push ecx
call fcn.00439aa0
add esp, 0xc
push 5
lea edx, [ebp - 0x404]
push edx
call dword [sym.imp.KERNEL32.dll_WinExec]
jmp 0x42656b
mov dword [0x4850b8], 1
jmp 0x42656b
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00439b24
mov esp, ebp
pop ebp
ret 0x10
Function at 0x426580
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push str.KeepHidden
call fcn.00425850
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [0x4850bc], 0
je 0x4265a4
jmp 0x426680
push 0x2c
mov eax, dword [ebp + 0xc]
push eax
call fcn.00439480
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4265db
mov ecx, dword [ebp - 4]
mov byte [ecx], 0
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
push eax
push 0x4850c0
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x426600
mov ecx, 1
imul edx, ecx, 0
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 0x12c
jae 0x4265f1
jmp 0x4265f6
call fcn.0043920a
mov eax, dword [ebp - 8]
mov byte [eax + 0x4850c0], 0
push 0
push sym.SETUP.exe_DialWndProc
mov ecx, dword [ebp + 8]
push ecx
push 0x46b9ec
mov edx, dword [0x5ada44]
push edx
call dword [sym.imp.USER32.dll_CreateDialogParamA]
mov dword [0x4850bc], eax
cmp dword [ebp - 0x10], 0
jne 0x426641
mov eax, dword [ebp + 0xc]
push eax
call fcn.004396d4
add esp, 4
test eax, eax
je 0x426641
mov dword [ebp - 0xc], 5
jmp 0x426648
mov dword [ebp - 0xc], 0
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [0x4850bc]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x4850bc]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0
push 0x1000000
push 0xc5
push 0x66
mov ecx, dword [0x4850bc]
push ecx
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
mov esp, ebp
pop ebp
ret

Function at 0x426690
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0x46b9cc
call fcn.00425850
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [0x4850bc], 0
je 0x4266b4
jmp 0x426749
mov eax, 1
imul ecx, eax, 0
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0x12c
jae 0x4266ca
jmp 0x4266cf
call fcn.0043920a
mov edx, dword [ebp - 4]
mov byte [edx + 0x4850c0], 0
push 0
push sym.SETUP.exe_DialWndProc
mov eax, dword [ebp + 8]
push eax
push 0x46b9d8
mov ecx, dword [0x5ada44]
push ecx
call dword [sym.imp.USER32.dll_CreateDialogParamA]
mov dword [0x4850bc], eax
cmp dword [ebp - 0xc], 0
je 0x42670a
mov dword [ebp - 8], 0
jmp 0x426711
mov dword [ebp - 8], 5
mov edx, dword [ebp - 8]
push edx
mov eax, dword [0x4850bc]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [0x4850bc]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0
push 0x1000000
push 0xc5
push 0x66
mov edx, dword [0x4850bc]
push edx
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
mov esp, ebp
pop ebp
ret
Function at 0x426970
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x4850bc], 0
jne 0x42697e
jmp 0x4269f8
push 5
mov eax, dword [0x4850bc]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [0x4850bc]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
push 1
push 0x67
mov edx, dword [0x4850bc]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
push 0x68
mov eax, dword [0x4850bc]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
push 1
mov ecx, dword [0x4850bc]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 2
mov edx, dword [0x4850bc]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
pop ebp
ret
Function at 0x429d40
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4008
call fcn.00439b40
mov eax, dword [0x4713e0]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x4000
lea eax, [ebp - 0x4004]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov dword [ebp - 0x4008], eax
cmp dword [ebp - 0x4008], 0x3ffb
ja 0x429d88
cmp dword [ebp - 0x4008], 0
jne 0x429d8c
xor eax, eax
jmp 0x429d9b
lea edx, [ebp - 0x4004]
push edx
call fcn.00429cb0
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00439b24
mov esp, ebp
pop ebp
ret

Function at 0x432ad0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x8010
call fcn.00439b40
mov eax, dword [0x4713e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x4004], 0
push 0x3fff
push 0
lea eax, [ebp - 0x4003]
push eax
call fcn.0043a830
add esp, 0xc
mov byte [ebp - 0x8004], 0
push 0x3fff
push 0
lea ecx, [ebp - 0x8003]
push ecx
call fcn.0043a830
add esp, 0xc
cmp dword [ebp + 0x14], 2
jae 0x432b2e
xor eax, eax
jmp 0x432cc7
mov edx, dword [ebp + 0x10]
mov byte [edx], 0
push 0x5c
mov eax, dword [ebp + 8]
push eax
call fcn.0043a8c0
add esp, 8
mov dword [ebp - 0x8008], eax
cmp dword [ebp - 0x8008], 0
je 0x432b5a
mov ecx, dword [ebp - 0x8008]
mov dword [ebp + 8], ecx
push 0x4000
lea edx, [ebp - 0x4004]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
jne 0x432ba3
mov ecx, 1
imul edx, ecx, 0
mov dword [ebp - 0x8010], edx
cmp dword [ebp - 0x8010], 0x4000
jae 0x432b90
jmp 0x432b95
call fcn.0043920a
mov eax, dword [ebp - 0x8010]
mov byte [ebp + eax - 0x4004], 0
lea ecx, [ebp - 0x4004]
mov dword [ebp - 0x800c], ecx
cmp dword [ebp - 0x800c], 0
je 0x432cbb
mov edx, dword [ebp - 0x800c]
movzx eax, byte [edx]
test eax, eax
je 0x432cbb
push 0x3b
mov ecx, dword [ebp - 0x800c]
push ecx
call fcn.00439480
add esp, 8
mov dword [ebp - 0x8008], eax
cmp dword [ebp - 0x8008], 0
je 0x432c05
mov edx, dword [ebp - 0x8008]
mov byte [edx], 0
mov eax, dword [ebp - 0x8008]
add eax, 1
mov dword [ebp - 0x8008], eax
mov ecx, dword [ebp - 0x800c]
push ecx
lea edx, [ebp - 0x8004]
push edx
call fcn.004392f0
add esp, 8
mov eax, 1
imul ecx, eax, 0
movzx edx, byte [ebp + ecx - 0x8004]
test edx, edx
je 0x432c5f
lea eax, [ebp - 0x8004]
push eax
call fcn.004393f0
add esp, 4
movzx ecx, byte [ebp + eax - 0x8005]
cmp ecx, 0x5c
je 0x432c5f
push 0x46bf64
lea edx, [ebp - 0x8004]
push edx
call fcn.00439300
add esp, 8
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x8004]
push ecx
call fcn.00439300
add esp, 8
lea edx, [ebp - 0x8004]
push edx
call fcn.004150e0
add esp, 4
test eax, eax
je 0x432caa
mov eax, dword [ebp + 0x14]
push eax
lea ecx, [ebp - 0x8004]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call fcn.00414070
add esp, 0xc
mov eax, dword [ebp + 0x10]
push eax
call fcn.004393f0
add esp, 4
jmp 0x432cc7
mov ecx, dword [ebp - 0x8008]
mov dword [ebp - 0x800c], ecx
jmp 0x432baf
mov edx, dword [ebp + 0x10]
push edx
call fcn.004393f0
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00439b24
mov esp, ebp
pop ebp
ret
Function at 0x432ce0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x148
mov eax, dword [0x4713e0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0
je 0x432d0c
push 0x140
push 0
mov eax, dword [ebp + 0xc]
push eax
call fcn.0043a830
add esp, 0xc
lea ecx, [ebp - 0x144]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x148], eax
cmp dword [ebp - 0x148], 0xffffffff
je 0x432d8e
mov eax, dword [ebp - 0x144]
and eax, 0x10
jne 0x432d69
mov ecx, dword [ebp - 0x148]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp + 0xc], 0
je 0x432d62
push 0x140
lea edx, [ebp - 0x144]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.0043a1e0
add esp, 0xc
mov eax, 1
jmp 0x432d90
lea ecx, [ebp - 0x144]
push ecx
mov edx, dword [ebp - 0x148]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x432d2c
mov eax, dword [ebp - 0x148]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00439b24
mov esp, ebp
pop ebp
ret
Function at 0x4331c0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4713e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov ax, word [0x46c094]
mov word [ebp - 0xc], ax
mov cl, byte [0x46c096]
mov byte [ebp - 0xa], cl
xor edx, edx
mov word [ebp - 9], dx
push 0x487242
call fcn.00429cb0
add esp, 4
mov dword [ebp - 0x214], eax
mov byte [ebp - 0x20c], 0
push 0x1ff
push 0
lea eax, [ebp - 0x20b]
push eax
call fcn.0043a830
add esp, 0xc
mov ecx, dword [ebp - 0x214]
mov byte [ecx], 0
mov edx, 1
imul eax, edx, 0
mov ecx, dword [ebp + 8]
movsx edx, byte [ecx + eax]
cmp edx, 0x5c
jne 0x433255
mov eax, 1
shl eax, 0
mov ecx, dword [ebp + 8]
movsx edx, byte [ecx + eax]
cmp edx, 0x5c
jne 0x433255
mov eax, dword [ebp + 8]
jmp 0x43338d
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp + 8]
movsx eax, byte [edx + ecx]
push eax
call fcn.00439e43
add esp, 4
test eax, eax
je 0x433285
mov ecx, 1
shl ecx, 0
mov edx, dword [ebp + 8]
movsx eax, byte [edx + ecx]
cmp eax, 0x3a
je 0x433290
mov eax, dword [ebp - 0x214]
jmp 0x43338d
mov ecx, 1
imul edx, ecx, 0
mov eax, dword [ebp + 8]
movsx ecx, byte [eax + edx]
push ecx
call fcn.0043a037
add esp, 4
mov edx, 1
imul ecx, edx, 0
mov byte [ebp + ecx - 0xc], al
lea edx, [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 4
je 0x4332ce
mov eax, dword [ebp - 0x214]
jmp 0x43338d
push 0x1fe
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
test eax, eax
jbe 0x433387
lea edx, [ebp - 0xc]
push edx
lea eax, [ebp - 0x20c]
push eax
call fcn.0043bb20
add esp, 8
mov dword [ebp - 0x210], eax
cmp dword [ebp - 0x210], 0
je 0x433387
push 0x5c
mov ecx, dword [ebp - 0x210]
push ecx
call fcn.00439480
add esp, 8
mov dword [ebp - 0x210], eax
cmp dword [ebp - 0x210], 0
je 0x433387
mov edx, dword [ebp - 0x210]
sub edx, 1
mov dword [ebp - 0x210], edx
mov eax, dword [ebp - 0x210]
mov byte [eax], 0x5c
mov ecx, dword [ebp - 0x210]
lea edx, [ebp - 0x20c]
sub ecx, edx
mov eax, 0x200
sub eax, ecx
push eax
mov ecx, dword [ebp + 8]
add ecx, 2
push ecx
mov edx, dword [ebp - 0x210]
push edx
call fcn.004140e0
add esp, 0xc
mov eax, dword [ebp - 0x210]
push eax
call fcn.00429cb0
add esp, 4
mov dword [ebp - 0x214], eax
mov eax, dword [ebp - 0x214]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00439b24
mov esp, ebp
pop ebp
ret
Function at 0x4333a0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push eax
call fcn.004393f0
add esp, 4
add eax, 0xa
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.00429c20
add esp, 4
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
push 0x40
call fcn.00429c20
add esp, 4
mov dword [ebp - 0xc], eax
push 0x40
push 0x46c098
mov edx, dword [ebp - 0xc]
push edx
call fcn.00414070
add esp, 0xc
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.00414070
add esp, 0xc
mov eax, dword [ebp - 8]
push eax
call fcn.00413d70
add esp, 4
mov ecx, dword [ebp - 8]
push ecx
call fcn.004393f0
add esp, 4
cmp eax, 1
jbe 0x433497
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 6
ja case.default.0x43343b
mov ecx, dword [ebp - 0x14]
jmp dword [ecx*4 + 0x4334a0]
mov dword [ebp - 4], 0
jmp case.default.0x43343b
mov dword [ebp - 4], 0
jmp case.default.0x43343b
mov dword [ebp - 4], str.removable
jmp case.default.0x43343b
mov dword [ebp - 4], str.fixed
jmp case.default.0x43343b
mov dword [ebp - 4], str.remote
jmp case.default.0x43343b
mov dword [ebp - 4], str.cdrom
jmp case.default.0x43343b
mov dword [ebp - 4], str.ramdisk
cmp dword [ebp - 4], 0
je 0x433497
push 0x40
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0xc]
push eax
call fcn.00414070
add esp, 0xc
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x4334c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4334f6
cmp dword [ebp - 4], 0xffffffff
jne 0x43350c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x433508
mov eax, 1
jmp 0x43351b
xor eax, eax
jmp 0x43351b
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x433520
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 8]
push eax
call fcn.004393f0
add esp, 4
add eax, 0xa
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.00429c20
add esp, 4
mov dword [ebp - 4], eax
movsd xmm0, qword [0x4544f0]
movsd qword [ebp - 0x18], xmm0
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.00414070
add esp, 0xc
mov edx, dword [ebp - 4]
push edx
call fcn.00413d70
add esp, 4
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x28]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
test eax, eax
je 0x43359e
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
call fcn.0043f0ff
movsd qword [ebp - 0x18], xmm0
fld qword [ebp - 0x18]
mov esp, ebp
pop ebp
ret
Function at 0x434dd0
Capabilities:
Get user security identifier

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x81c
mov eax, dword [0x4713e0]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x404]
mov dword [ebp - 0x808], eax
mov dword [ebp - 0x810], 0x400
mov dword [ebp - 0x814], 0x400
cmp dword [ebp + 0x14], 2
jae 0x434e10
xor eax, eax
jmp 0x434eac
mov ecx, dword [ebp + 0x10]
mov byte [ecx], 0
cmp dword [ebp + 8], 0
je 0x434e31
mov edx, dword [ebp + 8]
movsx eax, byte [edx]
test eax, eax
je 0x434e31
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x80c], ecx
jmp 0x434e3b
mov dword [ebp - 0x80c], 0
lea edx, [ebp - 0x81c]
push edx
lea eax, [ebp - 0x814]
push eax
lea ecx, [ebp - 0x804]
push ecx
lea edx, [ebp - 0x810]
push edx
mov eax, dword [ebp - 0x808]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x80c]
push edx
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameA]
test eax, eax
je 0x434ea0
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x818], eax
lea ecx, [ebp - 0x818]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x808]
push eax
call fcn.00434680
add esp, 0xc
test eax, eax
jne 0x434ea0
mov ecx, dword [ebp + 0x10]
mov byte [ecx], 0
mov edx, dword [ebp + 0x10]
push edx
call fcn.004393f0
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00439b24
mov esp, ebp
pop ebp
ret
Function at 0x435460
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, 4
shl eax, 0
mov ecx, dword [ebp + 8]
mov dword [ecx + eax + 0x10], 0
mov edx, 4
imul eax, edx, 0
mov ecx, dword [ebp + 8]
mov dword [ecx + eax + 0x10], 0
mov edx, 4
imul eax, edx, 0
mov ecx, dword [ebp + 8]
mov dword [ecx + eax], 0x67452301
mov edx, 4
shl edx, 0
mov eax, dword [ebp + 8]
mov dword [eax + edx], 0xefcdab89
mov ecx, 4
shl ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx + ecx], 0x98badcfe
mov eax, 4
imul ecx, eax, 3
mov edx, dword [ebp + 8]
mov dword [edx + ecx], 0x10325476
pop ebp
ret

Function at 0x436980
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
movzx ecx, byte [eax]
test ecx, ecx
je 0x4369e9
mov edx, dword [ebp - 4]
and edx, 0x80808080
mov dword [ebp - 8], edx
mov eax, dword [ebp + 8]
movzx ecx, byte [eax]
push ecx
call fcn.0043a1a6
add esp, 4
mov edx, dword [eax*4 + 0x46c5b0]
mov dword [ebp - 0xc], edx
mov ecx, dword [ebp - 0xc]
and ecx, 7
mov eax, dword [ebp - 8]
shr eax, cl
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
shl ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
xor edx, dword [ebp - 8]
xor edx, dword [ebp - 0xc]
mov dword [ebp - 4], edx
mov eax, dword [ebp + 8]
add eax, 1
mov dword [ebp + 8], eax
jmp 0x43698d
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x44c1ed
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4713e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0043f3b4
mov dword [ebp - 0x14], eax
cmp dword [0x5882e4], esi
jne 0x44c2e0
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x44c26d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x44c3c0
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x44c3c0
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x44c3c0
push eax
call ebx
push 0x45fec8
push edi
mov dword [0x5882e4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x5882e8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x5882ec], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x5882f4], eax
test eax, eax
je 0x44c2dd
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x5882f0], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x44c305
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x44c2f8
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x44c31a
push 4
pop eax
jmp 0x44c3c2
cmp dword [ebp - 0x14], esi
je 0x44c31a
push dword [0x5882e4]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x44c2ff
mov eax, dword [0x5882f0]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x44c378
cmp dword [0x5882f4], edi
je 0x44c378
push eax
call ebx
push dword [0x5882f4]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x44c378
test eax, eax
je 0x44c378
call ecx
test eax, eax
je 0x44c36d
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x44c36d
test byte [ebp - 8], 1
jne 0x44c378
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x44c3a8
mov eax, dword [0x5882e8]
cmp eax, edi
je 0x44c3a5
push eax
call ebx
test eax, eax
je 0x44c3a5
call eax
mov esi, eax
test esi, esi
je 0x44c3a5
mov eax, dword [0x5882ec]
cmp eax, edi
je 0x44c3a5
push eax
call ebx
test eax, eax
je 0x44c3a5
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x5882e4]
call ebx
test eax, eax
je 0x44c3c0
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x44c3c2
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00439b24
mov esp, ebp
pop ebp
ret