joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43cbf0
Capabilities:
Get keyboard layout
Log keystrokes via polling

Disassembly:
sub esp, 0x118
push ebx
push ebp
mov ebp, dword [0x4aa178]
push esi
push edi
push 0
mov edi, eax
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov cl, byte [edi]
test cl, cl
je 0x43ccde
cmp byte [edi + 1], 0
jne 0x43cc5a
mov byte [esp + 0x14], cl
cmp cl, 0xa
jne 0x43cc2a
mov al, 0xd
jmp 0x43cccf
push eax
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_VkKeyScanExA]
movzx ecx, ax
mov eax, ecx
shr eax, 8
cmp al, 0xff
jne 0x43cc4e
cmp cl, 0xff
jne 0x43cc4e
xor al, al
jmp 0x43cccf
and al, 0x38
neg al
sbb al, al
not al
and al, cl
jmp 0x43cccf
movzx esi, cl
test esi, 0xffffff80
jne 0x43cc77
push 2
push esi
call fcn.0048668e
add esp, 8
test eax, eax
je 0x43cc77
and esi, 0xffffffdf
mov eax, esi
cmp al, 0x56
jne 0x43cc9b
mov al, byte [edi + 1]
call fcn.00409380
cmp al, 0x4b
jne 0x43cc9b
push 0x10
lea eax, [edi + 2]
push 0
push eax
call fcn.00486ad4
add esp, 0xc
jmp 0x43cccf
xor esi, esi
lea ecx, [ecx]
mov eax, dword [esi*8 + 0x4a7660]
push edi
push eax
call fcn.00485151
add esp, 8
test eax, eax
je 0x43cd11
inc esi
cmp esi, 0x6d
jl 0x43cca0
mov eax, edi
call fcn.00411c90
movzx ecx, ax
test cx, cx
je 0x43ccde
call fcn.004123f0
mov byte [esp + 0x13], al
cmp byte [esp + 0x13], 0
jne 0x43cd5b
push 0
lea ebx, [esp + 0x18]
mov eax, edi
call fcn.0044daf0
mov edi, eax
add esp, 4
test edi, edi
jne 0x43cd1e
push 1
push eax
push 0xffffffffffffffff
push 0x498811
push ebp
call fcn.00475030
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x118
ret 4
mov cl, byte [esi*8 + 0x4a7664]
mov byte [esp + 0x13], cl
jmp 0x43ccd3
mov eax, dword [esp + 0x14]
push 0
lea edx, [esp + 0x2c]
push eax
lea eax, [esp + 0x20]
mov dword [esp + 0x28], 0
mov dword [esp + 0x20], edx
call fcn.0044dd90
fstp st(0)
add esp, 8
lea eax, [esp + 0x18]
mov ebx, ebp
call fcn.00474980
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x118
ret 4
mov ecx, dword [esp + 0x12c]
movzx ebx, byte [ecx]
test ebx, 0xffffff80
jne 0x43cd7f
push 2
push ebx
call fcn.0048668e
add esp, 8
test eax, eax
je 0x43cd7f
and bl, 0xdf
cmp bl, 0x50
je 0x43cd92
xor eax, eax
cmp bl, 0x54
setne al
dec eax
and eax, 2
jmp 0x43cd97
mov eax, 1
mov bl, byte [esp + 0x13]
push eax
call fcn.0044dce0
add esp, 4
test al, al
mov eax, 0x49dbc8
jne 0x43cdb2
mov eax, 0x49dbcc
push 1
push 0
push 0xffffffffffffffff
push eax
push ebp
call fcn.00475030
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x118
ret 4
Function at 0x43cdd0
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x130
push esi
mov esi, ecx
mov ecx, dword [0x4aa178]
push edi
call fcn.00412bb0
test esi, esi
je 0x43cf3e
cmp byte [esi], 0
je 0x43cf3e
push 0x104
lea eax, [esp + 0x34]
push esi
push eax
call fcn.004880f0
lea eax, [esp + 0x3c]
add esp, 0xc
mov byte [esp + 0x134], 0
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43ce20
sub eax, edx
cmp byte [esp + eax + 0x2f], 0x5c
je 0x43ce49
lea ecx, [eax + 1]
cmp ecx, 0x105
jae 0x43cf3e
mov byte [esp + eax + 0x30], 0x5c
mov byte [esp + eax + 0x31], 0
test byte [0x4ad4e0], 1
jne 0x43ce77
or dword [0x4ad4e0], 1
push str.GetDiskFreeSpaceExA
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4ad4dc], eax
jmp 0x43ce7c
mov eax, dword [0x4ad4dc]
test eax, eax
je 0x43ceca
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x3c]
push ecx
call eax
test eax, eax
je 0x43cf3e
cmp byte [ebp + 0xc], 0
je 0x43ceb7
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
shrd esi, eax, 0x14
shr eax, 0x14
mov edi, eax
jmp 0x43cf0c
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
shrd esi, eax, 0x14
shr eax, 0x14
mov edi, eax
jmp 0x43cf0c
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
je 0x43cf3e
cmp byte [ebp + 0xc], 0
mov eax, dword [esp + 0x14]
jne 0x43cefb
mov eax, dword [esp + 0x10]
imul eax, dword [esp + 0xc]
imul eax, dword [esp + 8]
shr eax, 0x14
mov esi, eax
xor edi, edi
mov ecx, dword [0x4aaa2c]
push 1
push 0
push 0xffffffffffffffff
push 0x49889c
push ecx
call fcn.00475030
mov eax, dword [0x4aa178]
push 0x18
push edi
push esi
call fcn.004010d0
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
mov edx, dword [0x4a6920]
cmp byte [edx + 0xe8], 0
jne 0x43cf6b
mov eax, dword [0x4aaa2c]
push 1
push 0
push 0xffffffffffffffff
push 0x499f00
push eax
call fcn.00475030
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp + 8]
push 0x498811
push 0
push 0x499f00
call fcn.0042d1f0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x43ecf0
Capabilities:
Get common file path
Set current directory

Disassembly:
sub esp, 0x10c
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push edi
call ebx
test eax, eax
jne 0x43ed1d
cmp byte [0x4ac894], al
je 0x43edc4
call fcn.00409530
pop ebx
add esp, 0x10c
ret
cmp byte [0x4ac894], 0
push ebp
push esi
mov esi, 0x4aaa30
jne 0x43ed31
lea esi, [esp + 0x14]
mov ebp, dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push esi
push 0x104
call ebp
test eax, eax
je 0x43ed8c
cmp byte [edi], 0
je 0x43eda2
cmp byte [edi + 1], 0x3a
jne 0x43eda2
cmp byte [edi + 2], 0
jne 0x43eda2
push esi
push edi
call fcn.00485151
add esp, 8
test eax, eax
je 0x43eda2
push edi
lea eax, [esp + 0x10]
push 0x49de38
push eax
call fcn.00485688
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
call ebx
test eax, eax
je 0x43eda2
push esi
push 0x104
call ebp
test eax, eax
jne 0x43eda2
push 0x103
push edi
push esi
call fcn.004880f0
mov byte [esi + 0x103], 0
add esp, 0xc
cmp byte [0x4ac894], 0
pop esi
pop ebp
je 0x43edc4
mov edx, dword [0x4aaa2c]
push 1
push 0
push 0xffffffffffffffff
push 0x49889c
push edx
call fcn.00475030
pop ebx
add esp, 0x10c
ret
Function at 0x43f3c0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
sub esp, 0x110
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x124]
mov ebp, ecx
test edi, edi
je 0x43f542
cmp byte [edi], 0
je 0x43f542
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x43f41b
mov ecx, dword [0x4a6920]
shr eax, 4
not al
and al, 1
movzx edx, al
push edx
push ebp
mov dword [ecx + 0x30], 0xb7
call fcn.0042d2e0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x110
ret 4
push 0x5c
push edi
call fcn.0048734a
mov ebx, eax
add esp, 8
cmp ebx, edi
jbe 0x43f509
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43f435
sub eax, edx
cmp eax, 0x104
jb 0x43f483
mov eax, dword [0x4a6920]
mov dword [eax + 0x30], 0x6f
cmp byte [eax + 0xe8], cl
jne 0x43f47c
mov eax, dword [0x4aaa2c]
push 1
push 0
push 0xffffffffffffffff
push 0x499f00
push eax
call fcn.00475030
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x110
ret 4
mov ecx, ebp
jmp 0x43f55b
mov esi, ebx
sub esi, edi
push esi
lea ecx, [esp + 0x1c]
push edi
push ecx
call fcn.004880f0
add esp, 0xc
lea edx, [esp + 0x18]
push edx
mov ecx, ebp
mov byte [esp + esi + 0x1c], 0
call fcn.0043f3c0
cmp byte [ebx + 1], 0
je 0x43f4f7
mov esi, dword [0x4aaa2c]
cmp byte [esi + 0x17], 0
jne 0x43f4bc
mov esi, dword [esi + 0xc]
test byte [esi + 0x15], 8
je 0x43f4c9
mov eax, esi
call fcn.00401150
mov al, byte [esi + 0x17]
cmp al, 1
jne 0x43f4e2
test byte [esi + 0x15], 4
je 0x43f4dd
mov eax, esi
call fcn.0042dce0
mov eax, dword [esi + 8]
jmp 0x43f4f2
cmp al, 2
jne 0x43f4ed
call fcn.00401000
jmp 0x43f4f2
mov eax, 0x4abb36
cmp byte [eax], 0x31
jne 0x43f509
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x110
ret 4
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
sete al
mov byte [esp + 0x14], al
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esp + 0x14]
mov ecx, dword [0x4a6920]
push edx
push ebp
mov dword [ecx + 0x30], eax
call fcn.0042d2e0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x110
ret 4
mov eax, dword [0x4a6920]
cmp byte [eax + 0xe8], 0
mov dword [eax + 0x30], 0x57
je 0x43f459
push 0x498811
push 0
push 0x499f00
call fcn.0042d1f0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x110
ret 4
Function at 0x440210
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x24]
test edi, edi
je 0x440295
cmp byte [edi + 0x17], 0
jne 0x44022a
mov esi, dword [edi + 0xc]
jmp 0x44022c
mov esi, edi
mov bl, 8
test byte [esi + 0x15], bl
je 0x44023a
mov eax, esi
call fcn.00401150
mov al, byte [esi + 0x17]
cmp al, 1
jne 0x440253
test byte [esi + 0x15], 4
je 0x44024e
mov eax, esi
call fcn.0042dce0
mov eax, dword [esi + 8]
jmp 0x440263
cmp al, 2
jne 0x44025e
call fcn.00401000
jmp 0x440263
mov eax, 0x4abb36
cmp byte [edi + 0x17], 0
mov ebp, eax
jne 0x440270
mov esi, dword [edi + 0xc]
jmp 0x440272
mov esi, edi
cmp byte [esi + 0x17], 1
jne 0x44028c
test byte [esi + 0x15], bl
je 0x440284
mov eax, esi
call fcn.00401150
mov ebx, dword [esi + 0xc]
add esi, 0xc
jmp 0x4402c8
mov esi, 0x4acaa0
mov ebx, dword [esi]
jmp 0x4402c8
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
push ecx
push 0
call fcn.00474ac0
add esp, 0xc
test eax, eax
jne 0x4402c0
mov edx, dword [0x4a6920]
mov dword [edx + 0x30], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
mov ebp, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
xor edi, edi
push edi
push edi
push 2
push edi
push edi
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x440309
mov dword [esp + 0x20], edi
test ebp, ebp
je 0x4402fe
push edi
lea ecx, [esp + 0x24]
push ecx
push ebx
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
xor edx, edx
cmp dword [esp + 0x20], ebx
sete dl
mov edi, edx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x4a6920]
mov dword [ecx + 0x30], eax
cmp esi, 0xffffffff
je 0x440324
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x24], 0
jne 0x440334
push ebp
call fcn.00485168
add esp, 4
mov ecx, dword [esp + 0x1c]
test edi, edi
sete dl
movzx eax, dl
push eax
push ecx
call fcn.0042d2e0
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
Function at 0x4405f0
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
sub esp, 0x110
push ebx
push ebp
push esi
push edi
mov edi, eax
mov esi, ecx
mov ebx, edx
call fcn.0040ce30
test al, al
je 0x440618
push 0x10
push 0
push edi
call fcn.00486ad4
add esp, 0xc
jmp 0x440621
push edi
call fcn.004866d6
add esp, 4
cmp eax, 1
je 0x440686
call fcn.00452450
test al, al
je 0x440686
mov eax, dword [0x4a6920]
cmp byte [eax + 0xe8], 0
jne 0x440661
mov ecx, dword [0x4aaa2c]
push 1
push 0
push 0xffffffffffffffff
push 0x499f00
push ecx
call fcn.00475030
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x110
ret 4
mov ecx, dword [esp + 0x124]
push 0x498811
push 0
push 0x499f00
call fcn.0042d1f0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x110
ret 4
push 0
push 0
push 2
push 0
push 0
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x4406d4
mov edx, dword [0x4a6920]
cmp byte [edx + 0xe8], 0
jne 0x440661
push 1
push 0
push eax
mov eax, dword [0x4aaa2c]
push 0x499f00
push eax
call fcn.00475030
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x110
ret 4
mov eax, ebx
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4406e0
sub eax, edx
cmp eax, 0x104
jb 0x4406f5
mov eax, 0x103
inc eax
push eax
lea ecx, [esp + 0x1c]
push ebx
push ecx
call fcn.0048da50
lea edx, [esp + 0x24]
add esp, 0xc
push edx
call fcn.00487aae
add esp, 4
push 0xa
lea eax, [esp + 0x1c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x440761
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x440761
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x440761
push 0
lea ecx, [esp + 0x18]
push ecx
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
setne bl
jmp 0x440763
xor bl, bl
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x124]
test bl, bl
sete dl
movzx eax, dl
push eax
push ecx
call fcn.0042d2e0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x110
ret 4
Function at 0x440790
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov ecx, dword [0x4aa178]
sub esp, 0x80
push esi
mov esi, eax
call fcn.00412bb0
test esi, esi
je 0x440845
cmp byte [esi], 0
je 0x440845
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4407fc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x4a6920]
cmp byte [ecx + 0xe8], 0
mov dword [ecx + 0x30], eax
jne 0x440879
mov eax, dword [0x4aaa2c]
push 1
push 0
push esi
push 0x499f00
push eax
call fcn.00475030
pop esi
add esp, 0x80
ret
mov edx, dword [0x4aaa2c]
mov ecx, dword [0x4a6920]
push 1
push 0
push 0xffffffffffffffff
push 0x49889c
push edx
mov dword [ecx + 0x30], 0
call fcn.00475030
mov edx, esi
lea eax, [esp + 4]
call fcn.00473260
push 1
push 0
push 0xffffffffffffffff
push eax
mov eax, dword [0x4aa178]
push eax
call fcn.00475030
pop esi
add esp, 0x80
ret
mov eax, dword [0x4a6920]
cmp byte [eax + 0xe8], 0
mov dword [eax + 0x30], 0x57
jne 0x440879
mov ecx, dword [0x4aaa2c]
push 1
push 0
push 0xffffffffffffffff
push 0x499f00
push ecx
call fcn.00475030
pop esi
add esp, 0x80
ret
push 0x498811
push 0
push 0x499f00
mov ecx, edi
call fcn.0042d1f0
pop esi
add esp, 0x80
ret
Function at 0x4416c0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov ecx, dword [0x4aa178]
sub esp, 0x148
push ebx
push esi
call fcn.00412bb0
test edi, edi
je 0x44182e
cmp byte [edi], 0
je 0x44182e
push 0
push 0
push 3
push 0
push 7
push 0x80
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x441720
lea eax, [esp + 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
jne 0x44178b
lea ecx, [esp + 0x10]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
jne 0x44176c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x4a6920]
cmp byte [ecx + 0xe8], 0
mov dword [ecx + 0x30], eax
jne 0x441862
mov edx, dword [0x4aaa2c]
push 1
push 0
push 0xffffffffffffffff
push 0x499f00
push edx
call fcn.00475030
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 0x2c]
xor ecx, ecx
or ecx, dword [esp + 0x30]
xor esi, esi
or eax, esi
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
jmp 0x441793
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [ebp + 0xc]
movzx esi, byte [edx]
test esi, 0xffffff80
jne 0x4417bb
push 2
push esi
call fcn.0048668e
mov ecx, dword [esp + 0x10]
add esp, 8
test eax, eax
mov eax, dword [esp + 0xc]
je 0x4417bb
and esi, 0xffffffdf
mov edx, esi
movsx edx, dl
sub edx, 0x4b
je 0x4417d2
sub edx, 2
jne 0x4417e8
push edx
push 0x100000
jmp 0x4417d9
push 0
push 0x400
push eax
push ecx
call fcn.00493bc0
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
mov ecx, dword [0x4aaa2c]
mov eax, dword [0x4a6920]
push 1
push 0
push 0xffffffffffffffff
push 0x49889c
push ecx
mov dword [eax + 0x30], 0
call fcn.00475030
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 8]
push 0x18
push edx
push eax
mov eax, dword [0x4aa178]
call fcn.004010d0
mov eax, 1
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [0x4a6920]
cmp byte [eax + 0xe8], 0
mov dword [eax + 0x30], 0x57
jne 0x441862
mov ecx, dword [0x4aaa2c]
push 1
push 0
push 0xffffffffffffffff
push 0x499f00
push ecx
call fcn.00475030
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp + 8]
push 0x498811
push 0
push 0x499f00
call fcn.0042d1f0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x44dce0
Capabilities:
Log keystrokes via polling

Disassembly:
test bl, bl
jne 0x44dce7
xor al, al
ret
mov eax, dword [esp + 4]
dec eax
je 0x44dd0f
dec eax
je 0x44dd01
movzx eax, bl
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
ret
movzx ecx, bl
push ecx
call dword [sym.imp.USER32.dll_GetKeyState]
and eax, 1
ret
lea edx, [ebx - 1]
cmp dl, 5
ja 0x44dd1c
cmp bl, 3
jne 0x44dd23
lea eax, [ebx + 0x66]
cmp al, 5
ja 0x44dd49
cmp dword [0x4aa364], 0
je 0x44dd39
movzx ecx, bl
mov al, byte [ecx + 0x4aa250]
shr al, 7
ret
movzx edx, bl
push edx
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
and al, 1
ret
cmp dword [0x4aa360], 0
je 0x44dd78
xor ecx, ecx
xor edx, edx
mov al, bl
call fcn.00411650
test al, al
je 0x44dd6b
push 1
call fcn.00411480
add esp, 4
movzx eax, bl
mov al, byte [eax + 0x4aa250]
shr al, 7
ret
movzx ecx, bl
push ecx
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
and al, 1
ret
Function at 0x44e2c0
Capabilities:
Get disk information

Disassembly:
sub esp, 0x108
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_OpenProcess]
push ebp
push esi
push edi
mov esi, ecx
push esi
push 0
mov edi, eax
push 0x410
mov byte [edi], 0
call ebx
mov ebp, eax
test ebp, ebp
jne 0x44e301
push esi
push eax
push 0x1000
call ebx
mov ebp, eax
test ebp, ebp
jne 0x44e301
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x108
ret
cmp byte [esp + 0x11c], 0
push 0x104
push edi
push 0
push ebp
je 0x44e31c
call dword [sym.imp.PSAPI.DLL_GetModuleBaseNameA]
jmp 0x44e322
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExA]
test byte [0x4ad370], 1
mov ebx, eax
jne 0x44e352
or dword [0x4ad370], 1
push str.GetProcessImageFileNameA
push str.psapi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4ad36c], eax
jmp 0x44e357
mov eax, dword [0x4ad36c]
test ebx, ebx
jne 0x44e454
test eax, eax
je 0x44e454
push 0x104
push edi
push ebp
call eax
mov ebx, eax
test ebx, ebx
je 0x44e454
cmp byte [esp + 0x11c], 0
je 0x44e3c9
push 0x5c
push edi
call fcn.0048734a
add esp, 8
test eax, eax
je 0x44e454
mov ecx, eax
lea esi, [ecx + 1]
lea esp, [esp]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x44e3a0
sub ecx, esi
push ecx
inc eax
push eax
push edi
call fcn.00485d30
add esp, 0xc
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x108
ret
mov word [esp + 0x11], 0x3a
mov byte [esp + 0x10], 0x41
push 0x104
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
mov esi, eax
cmp esi, 2
jbe 0x44e40d
sub esi, 2
push esi
lea edx, [esp + 0x18]
push edi
push edx
call fcn.00487286
add esp, 0xc
test eax, eax
jne 0x44e40d
cmp byte [esi + edi], 0x5c
je 0x44e42f
mov al, byte [esp + 0x10]
inc al
mov byte [esp + 0x10], al
cmp al, 0x5a
jle 0x44e3d5
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x108
ret
mov al, byte [esp + 0x10]
mov cl, byte [esp + 0x11]
sub ebx, esi
lea edx, [ebx + 1]
push edx
add esi, edi
mov byte [edi], al
mov byte [edi + 1], cl
push esi
add edi, 2
push edi
call fcn.00485d30
add esp, 0xc
add ebx, 2
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x108
ret
Function at 0x451620
Capabilities:
Delete file

Disassembly:
sub esp, 0x12c
push ebx
xor ebx, ebx
cmp eax, ebx
je 0x4516d4
cmp byte [eax], bl
je 0x4516d4
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x2c]
push edx
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
lea eax, [esp + 0x28]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x451656
sub eax, edx
cmp eax, ebx
je 0x451670
cmp byte [esp + eax + 0x27], 0x5c
lea eax, [esp + eax + 0x27]
jne 0x451670
mov byte [eax], bl
lea eax, [esp + 0x28]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x451677
sub eax, edx
mov byte [esp + eax + 0x29], bl
lea edx, [esp + 4]
lea eax, [esp + 0x28]
mov ecx, 0x4054
push edx
mov dword [esp + 0x1e], ebx
mov dword [esp + 0x22], ebx
mov dword [esp + 0x1a], ebx
mov dword [esp + 8], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 3
mov word [esp + 0x18], cx
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
test eax, eax
setne al
movzx ecx, al
push ecx
push esi
call fcn.0042d2e0
pop ebx
add esp, 0x12c
ret
mov edx, dword [0x4a6920]
cmp byte [edx + 0xe8], bl
jne 0x4516ff
mov eax, dword [0x4aaa2c]
push 1
push ebx
push 0xffffffffffffffff
push 0x499f00
push eax
call fcn.00475030
pop ebx
add esp, 0x12c
ret
push 0x498811
push ebx
push 0x499f00
mov ecx, esi
call fcn.0042d1f0
pop ebx
add esp, 0x12c
ret
Function at 0x4517d0
Capabilities:
Get file version info

Disassembly:
mov ecx, dword [0x4aa178]
sub esp, 0x8c
push ebp
mov ebp, dword [esp + 0x94]
push edi
mov edi, eax
call fcn.00412bb0
test edi, edi
je 0x451948
cmp byte [edi], 0
je 0x451948
push esi
lea eax, [esp + 0x10]
push eax
push edi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
mov esi, eax
test esi, esi
jne 0x451869
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x4a6920]
cmp byte [ecx + 0xe8], 0
mov dword [ecx + 0x30], eax
jne 0x45184a
mov ecx, dword [0x4aaa2c]
push 1
push esi
push 0xffffffffffffffff
push 0x499f00
push ecx
call fcn.00475030
pop esi
pop edi
pop ebp
add esp, 0x8c
ret 4
push 0x498811
push 0
push 0x499f00
mov ecx, ebp
call fcn.0042d1f0
pop esi
pop edi
pop ebp
add esp, 0x8c
ret 4
push ebx
push esi
call fcn.00485309
add esp, 4
mov ebx, eax
push ebx
push esi
push 0
push edi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoA]
test eax, eax
je 0x45191d
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x14]
push eax
push 0x49aa18
push ebx
call dword [sym.imp.VERSION.dll_VerQueryValueA]
test eax, eax
je 0x45191d
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
movzx edx, cx
push edx
shr ecx, 0x10
push ecx
movzx ecx, ax
push ecx
shr eax, 0x10
push eax
push str._u._u._u._u
mov esi, 0x80
lea edi, [esp + 0x30]
call fcn.00472310
push ebx
call fcn.00485168
mov eax, dword [0x4aaa2c]
mov edx, dword [0x4a6920]
add esp, 0x18
push 1
push 0
push 0xffffffffffffffff
push 0x49889c
push eax
mov dword [edx + 0x30], 0
call fcn.00475030
mov edx, dword [0x4aa178]
push 1
push 0
push 0xffffffffffffffff
mov ecx, edi
push ecx
push edx
call fcn.00475030
pop ebx
pop esi
pop edi
pop ebp
add esp, 0x8c
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x4a6920]
push ebx
mov dword [ecx + 0x30], eax
call fcn.00485168
add esp, 4
push ebp
call fcn.0042f9c0
pop ebx
pop esi
pop edi
pop ebp
add esp, 0x8c
ret 4
mov eax, dword [0x4a6920]
cmp byte [eax + 0xe8], 0
mov dword [eax + 0x30], 0x57
jne 0x45197f
mov edx, dword [0x4aaa2c]
push 1
push 0
push 0xffffffffffffffff
push 0x499f00
push edx
call fcn.00475030
pop edi
pop ebp
add esp, 0x8c
ret 4
push 0x498811
push 0
push 0x499f00
mov ecx, ebp
call fcn.0042d1f0
pop edi
pop ebp
add esp, 0x8c
ret 4