joyce8/EMBER2024-capa huggingface dataset:
Function at 0x440604
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x470ae0]
cmp byte [eax + 0xc], 0
je 0x440771
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44076a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x471b6c], 0
jne 0x440658
push 0x440778
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x440780
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x471b6c], eax
cmp dword [0x46fb74], 0
jne 0x440753
push 0x440790
call sub.kernel32.dll_LoadLibraryA
mov dword [0x46fb74], eax
cmp dword [0x46fb74], 0
je 0x440753
push 0x44079c
mov eax, dword [0x46fb74]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x471b70], eax
push 0x4407ac
mov eax, dword [0x46fb74]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x471b74], eax
push 0x4407c0
mov eax, dword [0x46fb74]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x471b78], eax
push 0x4407d8
mov eax, dword [0x46fb74]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x471b7c], eax
push 0x4407f0
mov eax, dword [0x46fb74]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x471b80], eax
push 0x440804
mov eax, dword [0x46fb74]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x471b84], eax
push 0x44081c
mov eax, dword [0x46fb74]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x471b88], eax
push 0x440834
mov eax, dword [0x46fb74]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x471b8c], eax
push 0x440850
mov eax, dword [0x46fb74]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x471b90], eax
push 0x44085c
mov eax, dword [0x46fb74]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x471b94], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x440771
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x4445fc
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00403ea0
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x44464b
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00404110
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44bd88
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44bdd8]
test si, 4
je 0x44bd9c
or bl, 1
test si, 8
je 0x44bda6
or bl, 4
test si, 1
je 0x44bdb0
or bl, 8
test si, 2
je 0x44bdba
or bl, 0x10
test si, 0x10
je 0x44bdc4
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44bdd3
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x44bddc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44be14]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44bdf5
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44be04
or bl, 4
test esi, 0x20000000
je 0x44be0f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4524bc
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4524ce
add esp, 0xfffffff0
call fcn.00403474
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004191d4
mov eax, dword [0x470788]
mov dword [eax + 4], ebx
mov dword [eax], 0x452860
mov eax, dword [0x470794]
mov dword [eax + 4], ebx
mov dword [eax], 0x45286c
mov eax, ebx
call fcn.00452878
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x4114cc]
call fcn.00403120
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x4114cc]
call fcn.00403120
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4114cc]
call fcn.00403120
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4114cc]
call fcn.00403120
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4114cc]
call fcn.00403120
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x44ec94
push eax
push 0
push 0
mov eax, dword [0x4708e4]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41ac40]
call fcn.0041c3b4
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41ac40]
call fcn.0041c3b4
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41ac40]
call fcn.0041c3b4
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00452c98
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x452b74
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x452b74
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x452b74
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45260b
call fcn.004034cc
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x452958
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x452b03
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x452ae4
mov dl, 1
mov eax, dword [0x4118e8]
call fcn.00403120
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00403ea0
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x452ad3
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.00440964
test al, al
je 0x452ac6
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x452b14
lea eax, [ebp - 0x254]
call fcn.00408980
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x452ac6
xor eax, eax
push ebp
push 0x452abf
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x452b4c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x452aa8
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404110
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x452aa8
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404110
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x452ac6
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4529c9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.004153c4
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x452b0a
lea eax, [ebp - 0x260]
call fcn.00403ea0
ret

Function at 0x453438
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x471bb8]
cmp byte [eax + 0xa5], 0
jne 0x4534a9
cmp dword [0x471bd0], 0
jne 0x45346a
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x4533f4
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x471bd0], eax
cmp dword [0x471bcc], 0
jne 0x453485
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x471bcc], eax
cmp dword [0x471bd4], 0
jne 0x4534a9
push esp
push 0
push 0
push 0x453398
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x471bd4], eax
pop edx
ret
Function at 0x4535a0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x4535b7
add esp, 0xfffffff0
call fcn.00403474
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004191d4
mov eax, dword [0x4708d0]
cmp word [eax + 2], 0
jne 0x4535df
mov eax, dword [0x4708d0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00454c78
mov eax, dword [0x470984]
cmp word [eax + 2], 0
jne 0x4535f9
mov eax, dword [0x470984]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00454e70
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x4114cc]
call fcn.00403120
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4114cc]
call fcn.00403120
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x41b720]
call fcn.00422e30
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x453780
mov eax, dword [0x4707ec]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00423200
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x455410
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4707ec]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040c048
test eax, eax
je 0x4536ee
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408374
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c070
test eax, eax
je 0x453702
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404110
mov eax, dword [0x4706d8]
cmp byte [eax], 0
jne 0x453736
mov eax, ebx
call fcn.004538a8
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.004555ec
mov eax, ebx
call fcn.00455fb0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x453776
call fcn.004034cc
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x453b28
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x471bb8]
cmp dword [eax + 0x30], 0
je 0x453bd2
cmp dword [ebx + 0x94], 0
jne 0x453bcc
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x453ab8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x453bcc
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x453b92
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x453bcc
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00413834
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x453ba1
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x454734
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x454769
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403f90
jmp 0x454776
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403ef4
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4557c8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x455809
mov eax, esi
call fcn.0043bfe0
test al, al
je 0x455809
mov eax, dword [ebx + 0x84]
call fcn.0043bcdc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x455809
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043bcdc
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x4592ec
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x45931a
mov eax, ebx
call fcn.00459da0
cmp dword [ebx + 0x40], 0
je 0x459313
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x45938b
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x45937d
cmp dword [ebx + 8], 0
je 0x45933c
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x45934e
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x45937d
cmp dword [ebx + 8], 0
je 0x45932f
cmp eax, 3
je 0x459361
dec eax
jne 0x45932f
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x45932f
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x45932f
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4593a9
cmp dword [ebx + 0x14], 0xcc
je 0x4593a9
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004593b4
pop ebx
ret
Function at 0x1000d989
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x10061ce3
call fcn.10061850
sub esp, 0x18
push ebx
push esi
mov dword [ebp - 0x1c], 0x4139
xor ebx, ebx
cmp dword [ebp - 0x1c], 0x433d
push edi
mov dword [ebp - 0x10], esp
jle 0x1000da01
mov esi, ebx
mov dword [ebp - 0x18], ebx
mov edi, ebx
mov dword [ebp - 0x20], ebx
mov ecx, edi
mov ebx, esi
mov esi, dword [ebp - 0x20]
sar ebx, cl
mov eax, ebx
mov ecx, 0x1060aeb8
xor eax, esi
cdq
push edx
push eax
call fcn.10010996
inc esi
cmp esi, 0x71ba
jl 0x1000d9c1
mov esi, dword [ebp - 0x18]
inc edi
push 0
pop ebx
cmp edi, 0x7f43
jl 0x1000d9b5
inc esi
mov dword [ebp - 0x18], esi
cmp esi, 0x5d90
jl 0x1000d9b3
push 0xdd7
call dword [sym.imp.USER32.dll_ShowCaret]
mov byte [ebp - 0x11], bl
cmp byte [ebp - 0x11], 0
je 0x1000da18
push 0x13a4
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQueryEx]
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x1c], 0x40fc
jge 0x1000da33
mov edx, 0x100076b8
mov ecx, 0x1060aeb8
call fcn.100132ba
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10015c75
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x1006202b
call fcn.10061850
sub esp, 0xc
push ebx
push esi
mov dword [ebp - 0x18], 0xba1
cmp dword [ebp - 0x18], 0xca8
push edi
mov dword [ebp - 0x10], esp
jle 0x10015cef
push 0x1ddb
push 0x3ff
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
xor esi, esi
xor edi, edi
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, ebx
mov ecx, 0x1060aeb8
or eax, edi
or eax, esi
cdq
push edx
push eax
call fcn.10010996
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp eax, 0x1ec6
jl 0x10015cb3
inc ebx
cmp ebx, 0x2ab7
jl 0x10015cae
inc edi
cmp edi, 0xde4
jl 0x10015cac
inc esi
cmp esi, 0x29d1
jl 0x10015caa
and dword [ebp - 4], 0
cmp dword [ebp - 0x18], 0x814
jge 0x10015d0b
mov edx, 0x10007c30
mov ecx, 0x1060aeb8
call fcn.100132ba
mov ecx, dword [ebp - 0xc]
xor eax, eax
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1002203c
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1002207d
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
push dword [eax]
push dword [ebp - 8]
push 0x4a7b
push 1
push 0x19b6
push dword [ebp - 0xc]
call fcn.10022100
add esp, 0x18
jmp 0x100220fc
lea eax, [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x1002209d
push 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
jmp 0x100220fc
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
test eax, eax
je 0x100220fc
push 0
push 0xd64
push 0xeeb
push 0x1595
push 0x804
push 0x9c7
push 0x16b9
push 0x127
push 0xa20
push 0x1eb6
push 0x17d7
push 0xd76
push 0x12fe
push 0x25a6
call dword [sym.imp.GDI32.dll_CreateFontA]
mov esp, ebp
pop ebp
ret

Function at 0x1002444b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100623a5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x28
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x1002455d
mov dword [ebp - 0x1c], 0x7108
mov dword [ebp - 0x20], 0x10008e48
cmp dword [ebp - 0x1c], 0x7402
jle 0x100244e7
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCommState]
and dword [ebp - 0x14], 0
jmp 0x100244a7
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x458e
jge 0x100244e7
and dword [ebp - 0x18], 0
jmp 0x100244bd
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x5ec0
jge 0x100244e5
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x18]
cdq
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
push dword [ebp - 0x34]
push dword [ebp - 0x38]
mov ecx, 0x1060aeb8
call fcn.10010996
jmp 0x100244b6
jmp 0x100244a0
lea eax, [ebp + 8]
mov dword [ebp - 0x24], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x1c], 0x6de1
jge 0x10024507
mov edx, dword [ebp - 0x20]
mov ecx, 0x1060aeb8
call fcn.100132ba
jmp 0x10024523
or dword [ebp - 4], 0xffffffff
jmp 0x1002452d
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax]
test eax, eax
je 0x10024551
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
and dword [eax], 0
jmp 0x1002455b
push 0
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
jmp 0x10024580
push 0x2975
push 0x6dc1
push 0x4686
push 0x4519
push 0x4c1d
push 0
call fcn.10027450
add esp, 0x18
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1002d804
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1002d861
mov eax, dword [ebp + 0x14]
mov dword [ebp - 8], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x1002d857
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x1002d855
push 0x1135
push 0
push 0xa40
push 0x11f0
call dword [sym.imp.USER32.dll_GetDlgItemTextW]
jmp 0x1002d85f
push 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
jmp 0x1002d88b
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1c], eax
push 0x161
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push 0
call fcn.1002f2e2
add esp, 0x14
mov esp, ebp
pop ebp
ret
Function at 0x1002d9ac
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006258a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x3c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1002da01
lea eax, [ebp + 0x28]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax]
test eax, eax
je 0x1002d9f4
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegConnectRegistryW]
jmp 0x1002d9fc
push 0
call dword [sym.imp.USER32.dll_RegisterClassW]
jmp 0x1002db19
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x20], 0x25a5
mov dword [ebp - 0x28], 0x100097b4
cmp dword [ebp - 0x20], 0x2877
jle 0x1002da8c
and dword [ebp - 0x1c], 0
jmp 0x1002da2b
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x5058
jge 0x1002da86
and dword [ebp - 0x14], 0
jmp 0x1002da41
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x7bb5
jge 0x1002da84
and dword [ebp - 0x18], 0
jmp 0x1002da57
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x3d86
jge 0x1002da82
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x18]
xor eax, dword [ebp - 0x1c]
cdq
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], edx
push dword [ebp - 0x48]
push dword [ebp - 0x4c]
mov ecx, 0x1060aeb8
call fcn.10010996
jmp 0x1002da50
jmp 0x1002da3a
jmp 0x1002da24
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x44], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x20], 0x224b
jge 0x1002daac
mov edx, dword [ebp - 0x28]
mov ecx, 0x1060aeb8
call fcn.100132ba
jmp 0x1002dac8
or dword [ebp - 4], 0xffffffff
jmp 0x1002dad2
mov eax, dword [ebp + 8]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x34], eax
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push dword [ebp - 0x34]
push 0x648e
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
push 0x4bf7
push dword [ebp - 0x40]
push 1
push dword [ebp - 0x44]
call fcn.10027a24
add esp, 0x28
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret