joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43d6c9
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push esi
mov dword [ebp - 0x10], ebx
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x43d6eb
xor eax, eax
jmp 0x43d7c7
mov eax, dword [esi]
push edi
mov edi, dword [esi + 8]
push ebx
push ebx
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 4]
mov esi, dword [esi + 0xc]
push ebx
push str.DISPLAY
mov dword [ebp - 8], eax
call dword [sym.imp.GDI32.dll_CreateDCA]
mov ebx, dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 8
push eax
mov dword [ebp - 4], eax
call ebx
push 0xa
push dword [ebp - 4]
mov dword [ebp - 0x14], eax
call ebx
xor ecx, ecx
cmp dword [ebp - 0xc], ecx
jge 0x43d72d
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 8], ecx
jge 0x43d735
mov dword [ebp - 8], ecx
cmp edi, dword [ebp - 0x14]
jle 0x43d73d
mov edi, dword [ebp - 0x14]
cmp esi, eax
jle 0x43d743
mov esi, eax
sub edi, dword [ebp - 0xc]
sub esi, dword [ebp - 8]
cmp edi, ecx
mov ebx, dword [sym.imp.GDI32.dll_DeleteDC]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], esi
jle 0x43d7be
cmp esi, ecx
jle 0x43d7be
push dword [ebp - 4]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push esi
push dword [ebp - 0x14]
mov edi, eax
push dword [ebp - 4]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push edi
mov dword [ebp - 0x10], eax
call esi
mov ecx, dword [ebp + 0xc]
test ecx, ecx
mov dword [ebp - 0x1c], eax
je 0x43d793
mov dword [ecx], edi
mov dword [ecx + 4], eax
jmp 0x43d7be
push 0xcc0020
push dword [ebp - 8]
push dword [ebp - 0xc]
push dword [ebp - 4]
push dword [ebp - 0x18]
push dword [ebp - 0x14]
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0x1c]
push edi
call esi
push edi
mov dword [ebp - 0x10], eax
call ebx
push dword [ebp - 4]
call ebx
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x43e52f
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
push esi
mov esi, dword [ebp + 8]
cmp word [esi], 0x7a
push edi
jbe 0x43e5ed
cmp word [esi + 2], 0x3a
jne 0x43e5ed
cmp word [esi + 4], 0
jne 0x43e5ed
mov eax, dword [ebp + 0x14]
and word [ebp - 0x20c], 0
test eax, eax
je 0x43e56f
and dword [eax], 0
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetCurrentDirectoryW]
mov ax, word [esi]
cmp ax, word [ebp - 0x20c]
jne 0x43e5c6
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
mov edi, eax
inc edi
cmp edi, 4
jbe 0x43e5c6
cmp dword [ebp + 0xc], edi
jae 0x43e5ab
mov eax, edi
jmp 0x43e5fd
lea eax, [edi + edi]
push eax
lea eax, [ebp - 0x20c]
push eax
push dword [ebp + 0x10]
call fcn.004128b6
add esp, 0xc
lea eax, [edi - 1]
jmp 0x43e5fd
push 4
pop eax
cmp dword [ebp + 0xc], eax
jb 0x43e5fd
mov eax, dword [ebp + 0x10]
mov cx, word [esi]
and word [eax + 6], 0
push 3
mov word [eax], cx
mov word [eax + 2], 0x3a
mov word [eax + 4], 0x5c
pop eax
jmp 0x43e5fd
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.DLL_GetFullPathNameW]
pop edi
pop esi
leave
ret
Function at 0x441a32
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
xor ebx, ebx
push ebx
push ebx
push 3
push ebx
push 7
push 0x80000000
push dword [ebp + 8]
lea ecx, [ebp - 4]
mov byte [ebp - 0x28], bl
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
call fcn.004051d2
cmp dword [ebp - 4], ebx
je 0x441a86
push ebx
lea eax, [ebp - 8]
push eax
push 0x20
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
push ebx
push dword [ebp - 8]
lea eax, [ebp - 0x28]
push eax
call fcn.0043afdf
add esp, 0xc
mov bl, al
lea ecx, [ebp - 4]
call fcn.00402b5a
mov al, bl
pop ebx
leave
ret

Function at 0x441d07
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
or dword [ebp - 0xc], 0xffffffff
push ebx
push esi
push edi
lea eax, [ebp - 4]
push eax
movzx eax, word [0x4c0bc8]
or eax, 0x20019
push eax
xor ebx, ebx
push ebx
push dword [ebp + 0xc]
mov dword [ebp - 4], ebx
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x441db2
mov edi, dword [ebp + 0x14]
mov esi, dword [ebp + 0x18]
push 0x1000
mov ecx, edi
mov dword [esi], 0xffa
call fcn.0043dc99
mov eax, dword [edi]
mov byte [eax], bl
mov eax, dword [edi]
push esi
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push dword [ebp + 0x10]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
call ebx
cmp eax, 0xea
mov dword [ebp - 8], eax
jne 0x441d9d
add dword [esi], 0xa
mov eax, dword [esi]
add eax, 6
push eax
mov ecx, edi
call fcn.0043dc99
mov eax, dword [edi]
push esi
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push dword [ebp + 0x10]
push dword [ebp - 4]
call ebx
mov dword [ebp - 8], eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or ebx, 0xffffffff
cmp dword [ebp - 8], 0
je 0x441dc0
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0x1c]
test ecx, ecx
je 0x441dbb
mov dword [ecx], eax
lea eax, [ebx - 1]
jmp 0x441df1
xor ecx, ecx
cmp dword [esi], ecx
jge 0x441dc8
mov dword [esi], ecx
mov eax, dword [edi]
mov edx, dword [esi]
mov byte [eax + edx], 0
mov eax, dword [esi]
mov edx, dword [edi]
inc eax
shr eax, 1
lea eax, [edx + eax*2]
mov word [eax + 2], cx
mov word [eax], cx
mov eax, dword [esi]
add eax, 5
push eax
mov ecx, edi
call fcn.0043dc99
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x44558f
Capabilities:
Delete file
Query environment variable
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2e4
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
cmp dword [edi + 4], esi
mov dword [ebp - 4], esi
jg 0x4455ae
xor eax, eax
jmp 0x445773
push 0x4c1724
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
call fcn.0043cde7
lea ecx, [ebp - 0xc]
call fcn.0040e158
push dword [edi + 4]
mov eax, dword [edi]
push eax
call fcn.0043ce6f
mov edi, eax
cmp edi, esi
pop ecx
pop ecx
je 0x4455ee
mov eax, dword [edi]
lea ecx, [ebp - 4]
push ecx
push edi
call dword [eax + 0xc]
cmp dword [ebp - 4], esi
jne 0x4455f3
mov eax, dword [edi]
push edi
call dword [eax + 8]
cmp dword [ebp - 4], esi
je 0x44560d
mov eax, dword [0x4c1350]
cmp eax, esi
mov edi, dword [ebp - 4]
je 0x445606
cmp dword [ebp - 0xc], esi
jne 0x445606
call eax
mov esi, edi
jmp 0x445766
mov edi, dword [sym.imp.KERNEL32.DLL_GetEnvironmentVariableW]
push ebx
mov ebx, 0x104
push ebx
lea eax, [ebp - 0x2e4]
push eax
push 0x4a6cc4
mov word [ebp - 0x2e4], si
call edi
cmp eax, esi
jg 0x445663
push ebx
lea eax, [ebp - 0x2e4]
push eax
push 0x4a6cb8
call edi
cmp eax, esi
jg 0x445663
mov eax, dword [0x4c1350]
cmp eax, esi
je 0x445765
cmp dword [ebp - 0xc], esi
jne 0x445765
call eax
jmp 0x445765
mov dword [ebp - 8], esi
mov dword [ebp - 0x10], 0x63
lea edi, [ebp + eax*2 - 0x2e4]
call fcn.0043a2d5
mov ebx, eax
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
add ebx, eax
push ebx
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
push eax
push str.pecmd_bmp._lu._lu.tmp
push edi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
push esi
push 0x80
push 1
push esi
push 5
push 0x40000000
lea eax, [ebp - 0x2e4]
push eax
lea ecx, [ebp - 8]
call fcn.004051d2
cmp dword [ebp - 8], esi
jne 0x4456d8
push 0xa
call dword [sym.imp.KERNEL32.DLL_Sleep]
dec dword [ebp - 0x10]
jns 0x445674
lea ecx, [ebp - 8]
call fcn.00402b5a
jmp 0x445646
push esi
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp + 8]
push dword [eax + 4]
mov dword [ebp - 0x14], esi
push dword [eax]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.DLL_WriteFile]
lea ecx, [ebp - 8]
call fcn.00402b5a
push 0x10
push esi
push esi
push esi
lea eax, [ebp - 0x2e4]
push eax
push esi
call dword [sym.imp.USER32.dll_LoadImageW]
cmp eax, esi
mov dword [ebp - 4], eax
jne 0x44573b
lea eax, [ebp - 0x2e4]
push eax
call fcn.0044514c
mov edi, eax
cmp edi, esi
pop ecx
je 0x44573b
mov eax, dword [edi]
lea ecx, [ebp - 4]
push ecx
push edi
call dword [eax + 0xc]
cmp dword [ebp - 4], esi
jne 0x44573b
mov eax, dword [edi]
push edi
call dword [eax + 8]
lea eax, [ebp - 0x2e4]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
mov edi, dword [ebp - 4]
lea ecx, [ebp - 8]
call fcn.00402b5a
mov eax, dword [0x4c1350]
cmp eax, esi
je 0x445763
cmp dword [ebp - 0xc], esi
jne 0x445763
call eax
mov esi, edi
pop ebx
push 0x4c1724
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
mov eax, esi
pop edi
pop esi
leave
ret
Function at 0x4459c3
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, 0x104
push edi
mov ecx, esi
call fcn.0043ddc3
mov eax, dword [esi]
and word [eax], 0
mov eax, dword [esi]
push edi
mov edi, dword [sym.imp.KERNEL32.DLL_GetEnvironmentVariableW]
push eax
push dword [esp + 0x18]
call edi
mov ebx, eax
test ebx, ebx
jle 0x445a10
mov eax, dword [esi]
cmp word [eax], 0
jne 0x445a10
lea eax, [ebx + 2]
push eax
mov ecx, esi
call fcn.0043ddc3
inc ebx
push ebx
push dword [esi]
push dword [esp + 0x18]
call edi
pop edi
pop esi
pop ebx
ret

Function at 0x445ad2
Capabilities:
Get disk information
Get disk information via ioctl

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
push ebx
push esi
xor ebx, ebx
cmp dword [ebp + 8], ebx
push 3
pop eax
jge 0x445b86
cmp cx, 0x61
jb 0x445afd
cmp cx, 0x7a
ja 0x445afd
and ecx, 0xffdf
push 0x5c
pop eax
push ebx
push ebx
push 3
push ebx
push 3
mov word [ebp - 0x14], ax
mov word [ebp - 0x28], ax
mov word [ebp - 0x26], ax
mov word [ebp - 0x22], ax
push ebx
lea eax, [ebp - 0x28]
push eax
mov word [ebp - 0x18], cx
mov word [ebp - 0x16], 0x3a
mov word [ebp - 0x12], bx
mov word [ebp - 0x24], 0x2e
mov word [ebp - 0x20], cx
mov word [ebp - 0x1e], 0x3a
mov word [ebp - 0x1c], bx
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x445ba0
push edi
push ebx
lea eax, [ebp - 4]
push eax
push 0xc
lea eax, [ebp - 0x38]
push eax
push ebx
push ebx
push 0x2d1080
push esi
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.DLL_DeviceIoControl]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp edi, ebx
pop edi
je 0x445b7c
mov eax, dword [ebp - 0x34]
mov dword [ebp + 8], eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.DLL_GetDriveTypeW]
cmp dword [ebp + 8], 0xffffffff
je 0x445ba0
push ebx
push eax
push dword [ebp + 8]
mov dword [ebp - 8], ebx
call fcn.0043d3d9
add esp, 0xc
cmp eax, ebx
jne 0x445ba8
xor eax, eax
inc eax
jmp 0x445c47
push ebx
push eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0xc], ebx
call dword [sym.imp.SETUPAPI.dll_CM_Get_Parent]
push ebx
push dword [ebp - 8]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.SETUPAPI.dll_CM_Get_DevNode_Status]
mov eax, dword [ebp - 0x10]
shr eax, 0xe
and al, 1
mov byte [ebp + 0xb], al
mov dword [ebp - 4], 1
mov esi, 0x208
push ebx
push esi
cmp al, bl
lea eax, [ebp - 0x240]
push eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
mov word [ebp - 0x240], bx
je 0x445c0c
call dword [sym.imp.SETUPAPI.dll_CM_Request_Device_EjectW]
jmp 0x445c12
call dword [sym.imp.SETUPAPI.dll_CM_Query_And_Remove_SubTreeW]
cmp eax, ebx
jne 0x445c1b
cmp dword [ebp - 0xc], ebx
je 0x445c3a
push ebx
push ebx
push 0xc8
mov ecx, 0x4c0fb8
call fcn.00413b53
inc dword [ebp - 4]
cmp dword [ebp - 4], 3
jg 0x445c3c
mov al, byte [ebp + 0xb]
jmp 0x445be9
mov bl, 1
neg bl
sbb ebx, ebx
and ebx, 0xfffffffe
inc ebx
inc ebx
mov eax, ebx
pop esi
pop ebx
leave
ret
Function at 0x447ba5
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
push edi
push 0xffffffffffffffff
push dword [ebp + 8]
lea ecx, [ebp - 4]
call fcn.004464cd
mov esi, dword [eax]
push 0xffffffffffffffff
push dword [ebp + 0xc]
lea ecx, [ebp - 8]
call fcn.004464cd
push dword [eax]
push esi
push str._r_nRegSetDHCP__s__s__r_n
push 0x4c0fb8
call fcn.0040f70e
add esp, 0x10
lea ecx, [ebp - 4]
call fcn.00437e1a
lea ecx, [ebp - 8]
call fcn.00437e1a
mov esi, str.0.0.0.0
lea edi, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
push 4
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0xc]
push eax
push 4
movsb byte es:[edi], byte [esi]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 0
push str.EnableDHCP
push dword [ebx]
xor edi, edi
inc edi
mov dword [ebp - 0xc], edi
call esi
push 9
lea eax, [ebp - 0x18]
push eax
push 7
push 0
push str.IPAddress
push dword [ebx]
call esi
push 9
lea eax, [ebp - 0x18]
push eax
push 7
push 0
push str.SubnetMask
push dword [ebx]
call esi
push edi
mov edi, 0x4a75aa
push edi
push 7
push 0
push str.DefaultGateway
push dword [ebx]
call esi
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x447c80
cmp byte [eax], 0x2d
jne 0x447c61
mov dword [ebp + 0xc], edi
cmp byte [eax], 0
je 0x447c80
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
push eax
push dword [ebp + 0xc]
push 1
push 0
push str.NameServer
push dword [ebx]
call esi
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
inc eax
pop esi
leave
ret
Function at 0x4496b5
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
xor ebx, ebx
cmp byte [0x4c12d0], bl
jne 0x449833
push esi
push edi
push 0x1122
lea ecx, [ebp - 0x18]
call fcn.0043dd9c
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 0xc]
push eax
push esi
lea eax, [ebp - 0x1c]
push eax
mov dword [esi], ebx
push str.TIPSDUMMY
mov dword [esi + 4], ebx
mov word [esi], bx
push str.SOFTWAREPELOGON
push 0x80000002
mov dword [ebp - 4], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0xc], 0x1ffe
call fcn.00438f9c
add esp, 0x18
mov edi, eax
neg edi
sbb edi, edi
inc edi
jne 0x449728
xor eax, eax
mov dword [ebp - 0xc], eax
jmp 0x44972b
mov eax, dword [ebp - 0xc]
shr eax, 1
mov word [esi + eax*2], bx
cmp word [esi], bx
jne 0x449817
lea eax, [esi + 0x2000]
push 0x104
push eax
push ebx
mov word [eax], bx
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
push str..USRCFG.INI
lea eax, [esi + 0x2000]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcatW]
push ebx
push 0x80
push 3
push ebx
push 7
push 0x80000000
lea eax, [esi + 0x2000]
push eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], ebx
call fcn.004051d2
push ebx
lea eax, [ebp - 8]
push eax
push 0x1ffe
push esi
push dword [ebp - 0x10]
mov dword [ebp - 8], ebx
mov word [esi], bx
call dword [sym.imp.KERNEL32.DLL_ReadFile]
shr dword [ebp - 8], 1
mov eax, 0xffe
cmp dword [ebp - 8], eax
jbe 0x4497ae
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov word [esi + eax*2], bx
cmp word [esi], 0xfeff
jne 0x4497f1
add esi, 2
mov dword [ebp - 4], esi
jmp 0x4497f1
lea eax, [ebp - 4]
push eax
call fcn.00437e65
mov esi, dword [ebp - 4]
push 0xd
lea eax, [ebp - 4]
push 0xa
push eax
call fcn.00438346
push 0xa
push str.TIPSDUMMY:
push esi
call fcn.0040e1aa
add esp, 0x1c
test al, al
jne 0x4497fb
mov eax, dword [ebp - 4]
cmp word [eax], bx
jne 0x4497c4
jmp 0x44980f
mov eax, dword [ebp - 4]
add esi, 0x14
cmp word [eax], bx
je 0x449809
mov word [eax], bx
xor edi, edi
mov dword [ebp - 0x14], esi
inc edi
lea ecx, [ebp - 0x10]
call fcn.00402b5a
xor eax, eax
cmp edi, ebx
setne al
push eax
push dword [ebp - 0x14]
call fcn.0044962f
pop ecx
pop ecx
lea ecx, [ebp - 0x18]
call fcn.00437e1a
pop edi
pop esi
mov eax, dword [0x4c173c]
pop ebx
leave
ret
Function at 0x449ef5
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor ebx, ebx
cmp dword [ebp + 0x10], ebx
push edi
jne 0x449f27
mov ax, word [esi]
mov word [ebp - 0xc], ax
mov ax, word [esi + 2]
mov word [ebp - 0xa], ax
lea eax, [ebp - 0xc]
mov word [ebp - 8], 0x5c
mov word [ebp - 6], bx
mov dword [ebp + 0x10], eax
push 0x209
lea ecx, [ebp - 4]
call fcn.0043dd9c
mov edi, dword [ebp + 8]
mov eax, dword [ebp - 4]
push 8
push edi
push str.Device_
mov word [eax], bx
call fcn.0043917b
add esp, 0xc
test al, al
jne 0x449f80
push 0xc
push edi
push str.DosDevices_
call fcn.0043917b
add esp, 0xc
test al, al
jne 0x449f80
cmp word [edi], bx
je 0x449f84
cmp word [edi + 2], bx
je 0x449f84
push 0x3a
lea eax, [edi + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_StrChrW]
test eax, eax
je 0x449f84
or dword [ebp + 0x14], 1
push 0xb
push edi
push 0x4aea40
call fcn.0043917b
mov ebx, dword [sym.imp.KERNEL32.DLL_DefineDosDeviceW]
add esp, 0xc
test al, al
je 0x449fa8
and dword [ebp + 0x14], 0xfffffffe
cmp byte [ebp + 0x18], 0
jne 0x449fcf
cmp byte [ebp + 0x18], 0
je 0x449fba
xor eax, eax
mov ax, word [esi]
push eax
call fcn.0043b543
pop ecx
push edi
push esi
push dword [ebp + 0x14]
call ebx
mov esi, eax
test esi, esi
jne 0x449fe0
cmp byte [ebp + 0x18], al
jl 0x44a02c
mov byte [ebp + 0x18], al
push 0x208
push edi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_lstrcpynW]
jmp 0x44a008
cmp byte [ebp + 0x18], 0
jle 0x44a02c
push 0x208
push dword [ebp - 4]
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.DLL_GetVolumeNameForVolumeMountPointW]
test eax, eax
je 0x44a02c
mov eax, dword [ebp + 0x14]
push edi
push dword [ebp + 0xc]
or eax, 0xe
push eax
call ebx
push dword [ebp - 4]
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.DLL_SetVolumeMountPointW]
cmp byte [ebp + 0x18], 0
mov esi, eax
jl 0x44a02c
test esi, esi
jne 0x44a02c
mov esi, dword [ebp + 0xc]
mov byte [ebp + 0x18], 0xff
jmp 0x449fa8
lea ecx, [ebp - 4]
call fcn.00437e1a
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x44ae0c
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push 0x134
mov ecx, edi
call fcn.0043ddc3
push 0xca
lea ecx, [ebp - 0x10]
call fcn.0043dd9c
mov eax, dword [ebp + 0x18]
movzx esi, byte [ebp + 0x18]
and eax, 0x100
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.DLL_GetLogicalDrives]
mov edi, dword [edi]
test esi, esi
sete bl
neg esi
sbb esi, esi
and esi, 0x19
cmp dword [ebp + 0x14], 0
mov dword [ebp - 4], eax
mov byte [ebp + 0x1b], 0
lea ebx, [ebx + ebx - 1]
mov edx, esi
je 0x44aee1
cmp dword [ebp + 0x14], 1
not dword [ebp - 4]
jle 0x44aee1
and dword [ebp - 4], 0xfffffffc
jmp 0x44aee1
test edx, edx
jl 0x44aee6
xor eax, eax
mov ecx, edx
inc eax
shl eax, cl
movsx esi, bl
mov cl, dl
add edx, esi
mov dword [ebp - 0xc], edx
mov edx, dword [ebp - 4]
add cl, 0x41
test edx, eax
mov byte [ebp + 0x17], cl
je 0x44aede
cmp dword [ebp - 8], 0
je 0x44aeb0
movsx ax, cl
push eax
call fcn.00492567
test eax, eax
pop ecx
je 0x44aede
mov cl, byte [ebp + 0x17]
cmp byte [ebp + 0x1b], 0
je 0x44aec4
mov ax, word [ebp + 0xc]
test ax, ax
je 0x44aec4
mov word [edi], ax
inc edi
inc edi
movsx ax, cl
mov word [edi], ax
inc edi
inc edi
cmp dword [ebp + 0x10], 0
mov byte [ebp + 0x1b], 1
je 0x44aede
mov word [edi], 0x3a
inc edi
inc edi
mov edx, dword [ebp - 0xc]
cmp edx, 0x1a
jl 0x44ae76
mov eax, dword [ebp + 8]
and word [edi], 0
mov esi, dword [eax]
lea ecx, [ebp - 0x10]
call fcn.00437e1a
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret

Function at 0x44b0fb
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push edi
mov edi, dword [esp + 8]
mov eax, dword [edi]
and word [eax], 0
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x44b13e
push esi
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
je 0x44b137
push esi
call dword [sym.imp.KERNEL32.DLL_GlobalLock]
push eax
mov ecx, edi
call fcn.004464ff
push esi
call dword [sym.imp.KERNEL32.DLL_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
mov eax, edi
pop edi
ret
Function at 0x44d8ad
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor edi, edi
xor esi, esi
cmp ebx, edi
mov dword [ebp - 4], edi
jne 0x44d956
cmp dword [ebp + 0xc], edi
jne 0x44d8d7
mov eax, 0x80070057
jmp 0x44da4a
cmp dword [0x4c1368], edi
jle 0x44da48
push edi
push 0x8000080
push 2
push edi
push edi
push 0x40000000
push dword [ebp + 0xc]
mov dword [ebp + 8], edi
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x44d918
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, edi
jne 0x44da4a
jmp 0x44da72
push edi
lea eax, [ebp + 8]
push eax
push dword [0x4c1368]
push dword [0x4c1b68]
push ebx
call dword [sym.imp.KERNEL32.DLL_WriteFile]
push ebx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [0x4c1b68]
cmp eax, edi
mov dword [0x4c1368], edi
je 0x44d94b
call fcn.00437e03
mov dword [0x4c1b68], edi
jmp 0x44da48
cmp dword [ebp + 0x10], edi
je 0x44da63
push dword [ebp + 0x10]
call fcn.00413918
cmp eax, edi
pop ecx
mov dword [ebp - 4], eax
je 0x44da72
mov esi, dword [ebx + 8]
mov eax, dword [ebx + 0xc]
sub esi, dword [ebx]
sub eax, dword [ebx + 4]
cmp esi, edi
mov dword [ebp - 0x10], eax
jle 0x44da4f
cmp eax, edi
jle 0x44da4f
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], edi
call dword [0x4c0e4c]
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 4]
call dword [0x4c0e50]
cmp esi, dword [ebp - 8]
jne 0x44d9c2
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
je 0x44da4f
lea eax, [ebp - 0x18]
push eax
push ebx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
call fcn.0043d6c9
mov ebx, eax
cmp ebx, edi
pop ecx
pop ecx
je 0x44da72
lea eax, [ebp + 8]
push eax
push dword [ebp - 0x18]
mov dword [ebp + 8], edi
call dword [0x4c0e28]
push 2
push dword [ebp + 8]
call dword [0x4c0e5c]
push dword [ebp - 0x10]
push esi
push edi
push edi
push dword [ebp - 4]
push dword [ebp + 8]
call dword [0x4c0e2c]
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x18]
call dword [sym.imp.GDI32.dll_DeleteDC]
push edi
push dword [ebp + 0xc]
push ebx
call fcn.0044d566
add esp, 0xc
cmp ebx, edi
mov esi, eax
je 0x44da3a
push ebx
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp dword [ebp - 4], edi
je 0x44da48
push dword [ebp - 4]
call dword [0x4c0e24]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret
push 1
push dword [ebp + 0xc]
push dword [ebp - 4]
call fcn.0044d566
add esp, 0xc
mov esi, eax
jmp 0x44da3a
push edi
push ebx
call fcn.0043d6c9
mov ebx, eax
cmp ebx, edi
pop ecx
pop ecx
jne 0x44da20
xor eax, eax
inc eax
jmp 0x44da4a
Function at 0x46b7d2
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2fc
mov eax, dword [ebp + 0x24]
push ebx
push esi
push edi
push dword [ebp + 0xc]
mov ebx, eax
and eax, 2
and ebx, 1
mov dword [ebp + 0x24], eax
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
mov esi, eax
mov eax, 0xb4
cmp esi, eax
jle 0x46b802
mov esi, eax
xor eax, eax
xor edx, edx
cmp dword [ebp + 0x24], edx
mov ecx, 0xba
lea edi, [ebp - 0x2f8]
mov dword [ebp - 0x2fc], edx
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x260], eax
mov eax, dword [ebp + 8]
mov byte [ebp - 0x288], 0x40
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0xcc], edx
je 0x46b856
mov dword [ebp - 0xcc], 0x40000000
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x2e4], eax
lea eax, [esi + esi]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x25c]
push eax
call fcn.004128b6
and word [ebp + esi*2 - 0x25c], 0
add esp, 0xc
mov esi, 0x4c175c
push esi
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
push 0x4c0bcc
push 0x10000
lea eax, [ebp - 0x2fc]
push eax
push 0x46adf5
push 0x20000
push 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
test eax, eax
mov dword [ebp + 0x1c], eax
je 0x46b8e6
mov edi, dword [sym.imp.KERNEL32.DLL_Sleep]
mov dword [ebp + 0x24], 0x270f
mov eax, dword [ebp + 0x14]
cmp dword [ebp - 0x260], eax
jne 0x46b8e6
push 0
call edi
dec dword [ebp + 0x24]
jns 0x46b8c1
jmp 0x46b8db
push 1
call edi
mov eax, dword [ebp + 0x14]
cmp dword [ebp - 0x260], eax
je 0x46b8d7
push esi
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
mov esi, dword [ebp + 0x1c]
xor edi, edi
cmp ebx, edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], 1
mov dword [ebp - 8], esi
mov dword [ebp - 4], edi
je 0x46b91c
cmp esi, edi
je 0x46b927
lea eax, [ebp - 0x10]
push eax
push edi
push dword [ebp + 0x14]
mov ecx, 0x4c0fb8
call fcn.00413b53
cmp esi, edi
je 0x46b927
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
movzx eax, byte [ebp - 0xcc]
pop edi
pop esi
pop ebx
leave
ret