joyce8/EMBER2024-capa huggingface dataset:
Function at 0x436590
Capabilities:
Check for time delay via gettickcount
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
push edi
mov esi, edx
mov edi, ecx
call fcn.004309c0
mov ebx, eax
test ebx, ebx
jne 0x4365c3
mov ecx, dword [ebp + 8]
push esi
push eax
push str.Parameter_1_invalid.
call fcn.0042ed60
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea eax, [ebx - 1]
cmp eax, 4
ja case.default.0x4365cf
jmp dword [eax*4 + 0x4367ac]
mov eax, dword [ebp + 0xc]
cmp word [eax], 0
je 0x4365ea
push eax
call fcn.00452a60
add esp, 4
jmp 0x4365f0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0x18
push 0
push eax
mov eax, dword [0x4c26a8]
call fcn.004010e0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 0xc]
push eax
call fcn.00452a60
mov ebx, eax
add esp, 4
test ebx, ebx
je case.0x4366a5.67
push ebx
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je case.0x4366a5.67
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
neg esi
sbb esi, esi
and esi, ebx
mov eax, dword [0x4c26a8]
push 0x18
push 0
push esi
call fcn.004010e0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [0x4c26a8]
push 1
push 0
push 0xffffffffffffffff
push 0x49b8c0
call fcn.00471c00
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
movzx ecx, word [edi]
push ecx
call fcn.0048a1ab
movzx eax, ax
add eax, 0xffffffbf
add esp, 4
cmp eax, 0x11
ja case.0x4366a5.67
movzx edx, byte [eax + 0x4367dc]
jmp dword [edx*4 + 0x4367c0]
mov esi, 0x40
jmp 0x4366d4
mov esi, 0x4000
jmp 0x4366d4
mov esi, 0x20
jmp 0x4366d4
mov esi, 0x8000
jmp 0x4366d4
mov esi, 0x80
jmp 0x4366d4
mov esi, 0x100
mov eax, dword [ebp + 0xc]
cmp word [eax], 0
je 0x4366e8
push eax
call fcn.00452a60
add esp, 4
jmp 0x4366ee
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
test ebx, ebx
je case.0x4366a5.67
push ebx
push 0
push 0x200
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je case.0x4366a5.67
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
jmp 0x43663c
cmp word [edi], 0
je 0x436748
mov esi, edi
mov byte [esp + 0x13], 0
call fcn.00412710
fmul qword [0x4b8958]
call fcn.004967e0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x14], eax
jmp 0x436750
mov byte [esp + 0x13], 1
xor edi, edi
nop
mov eax, dword [ebp + 0xc]
push eax
call fcn.00452a60
add esp, 4
mov esi, eax
cmp ebx, 4
jne 0x43676d
test esi, esi
jne 0x43664b
jmp 0x436775
test esi, esi
je case.0x4366a5.67
cmp byte [esp + 0x13], 0
jne 0x436793
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 0x14]
add ecx, edi
sub ecx, eax
cmp ecx, 5
jle 0x43664b
push 1
push 0x64
call fcn.004012b0
add esp, 8
jmp 0x436750
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x437050
Capabilities:
Get graphical window text

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [0x4c1e48]
push eax
mov eax, dword [esp + 0x18]
call fcn.00442800
mov ebp, eax
test ebp, ebp
je 0x437076
push ebp
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ebx, [eax + 1]
jmp 0x43707b
mov ebx, 1
push 1
push 0
lea ecx, [ebx - 1]
push ecx
push 0
mov ecx, edi
call fcn.00471c00
cmp eax, 1
je 0x43709a
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret 4
test ebp, ebp
je 0x4371af
cmp byte [edi + 0x17], 0
jne 0x4370ad
mov esi, dword [edi + 0xc]
jmp 0x4370af
mov esi, edi
test byte [esi + 0x15], 8
je 0x4370bc
mov eax, esi
call fcn.00401160
mov al, byte [esi + 0x17]
cmp al, 1
jne 0x4370d5
test byte [esi + 0x15], 4
je 0x4370d0
mov eax, esi
call fcn.0042f5b0
mov eax, dword [esi + 8]
jmp 0x4370e5
cmp al, 2
jne 0x4370e0
call fcn.00401000
jmp 0x4370e5
mov eax, 0x4c3fa8
push ebx
push eax
push ebp
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp byte [edi + 0x17], 0
mov ebx, eax
jne 0x4370fb
mov esi, dword [edi + 0xc]
jmp 0x4370fd
mov esi, edi
cmp byte [esi + 0x17], 1
jne 0x437115
test byte [esi + 0x15], 8
je 0x437110
mov eax, esi
call fcn.00401160
lea eax, [esi + 0xc]
jmp 0x43711a
mov eax, 0x4c4e80
lea edx, [ebx + ebx]
mov dword [eax], edx
cmp byte [edi + 0x17], 0
jne 0x43712a
mov esi, dword [edi + 0xc]
jmp 0x43712c
mov esi, edi
cmp byte [esi + 0x17], 1
jne 0x437144
test byte [esi + 0x15], 8
je 0x43713f
mov eax, esi
call fcn.00401160
lea eax, [esi + 0xc]
jmp 0x437149
mov eax, 0x4c4e80
test dword [eax], 0xfffffffe
jne 0x437226
cmp byte [edi + 0x17], 0
jne 0x437160
mov esi, dword [edi + 0xc]
jmp 0x437162
mov esi, edi
test byte [esi + 0x15], 8
je 0x43716f
mov eax, esi
call fcn.00401160
mov al, byte [esi + 0x17]
cmp al, 1
jne 0x437190
test byte [esi + 0x15], 4
je 0x437183
mov eax, esi
call fcn.0042f5b0
mov eax, dword [esi + 8]
xor ecx, ecx
mov word [eax], cx
jmp 0x437226
cmp al, 2
jne 0x4371a3
call fcn.00401000
xor ecx, ecx
mov word [eax], cx
jmp 0x437226
mov eax, 0x4c3fa8
xor ecx, ecx
mov word [eax], cx
jmp 0x437226
cmp byte [edi + 0x17], 0
jne 0x4371ba
mov esi, dword [edi + 0xc]
jmp 0x4371bc
mov esi, edi
test byte [esi + 0x15], 8
je 0x4371c9
mov eax, esi
call fcn.00401160
mov al, byte [esi + 0x17]
cmp al, 1
jne 0x4371e2
test byte [esi + 0x15], 4
je 0x4371dd
mov eax, esi
call fcn.0042f5b0
mov eax, dword [esi + 8]
jmp 0x4371f2
cmp al, 2
jne 0x4371ed
call fcn.00401000
jmp 0x4371f2
mov eax, 0x4c3fa8
xor edx, edx
mov word [eax], dx
cmp byte [edi + 0x17], dl
jne 0x437201
mov esi, dword [edi + 0xc]
jmp 0x437203
mov esi, edi
cmp byte [esi + 0x17], 1
jne 0x43721b
test byte [esi + 0x15], 8
je 0x437216
mov eax, esi
call fcn.00401160
lea eax, [esi + 0xc]
jmp 0x437220
mov eax, 0x4c4e80
mov dword [eax], 0
cmp byte [edi + 0x17], 0
jne 0x43722f
mov edi, dword [edi + 0xc]
cmp byte [edi + 0x17], 2
jne 0x43724f
cmp dword [0x4c4b0c], 0
je 0x43724f
mov ecx, 0x4c4b00
call fcn.00403ca0
pop edi
pop esi
pop ebp
pop ebx
ret 4
and byte [edi + 0x15], 0x86
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 4
Function at 0x43dee0
Capabilities:
Get keyboard layout
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x218
mov eax, dword [0x4c1e48]
push ebx
push edi
push 0
mov dword [esp + 0xc], eax
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
movzx ecx, word [esi]
test cx, cx
je 0x43dfc5
cmp word [esi + 2], 0
jne 0x43df4a
cmp ecx, 0xa
jne 0x43df1e
mov al, 0xd
jmp 0x43dfbf
push eax
push ecx
call dword [sym.imp.USER32.dll_VkKeyScanExW]
movzx ecx, ax
mov eax, ecx
shr eax, 8
cmp al, 0xff
jne 0x43df3e
cmp cl, 0xff
jne 0x43df3e
xor al, al
jmp 0x43dfbf
and al, 0x38
neg al
sbb al, al
not al
and al, cl
jmp 0x43dfbf
mov edi, ecx
test edi, 0xffffff80
jne 0x43df66
push 2
push edi
call fcn.004893ee
add esp, 8
test eax, eax
je 0x43df66
and edi, 0xffffffdf
cmp di, 0x56
jne 0x43df8d
mov ax, word [esi + 2]
call fcn.00408f10
cmp ax, 0x4b
jne 0x43df8d
push 0x10
lea eax, [esi + 4]
push 0
push eax
call fcn.004897cb
add esp, 0xc
jmp 0x43dfbf
xor edi, edi
nop
mov ecx, dword [edi*8 + 0x4bf230]
push esi
push ecx
call fcn.004881a9
add esp, 8
test eax, eax
je 0x43dff6
inc edi
cmp edi, 0x6d
jl 0x43df90
mov eax, esi
call fcn.004118c0
movzx ecx, ax
test cx, cx
je 0x43dfc5
call fcn.00412040
mov bl, al
test bl, bl
jne 0x43e039
push 0
lea ebx, [esp + 0x10]
mov eax, esi
call fcn.0044dad0
mov edi, eax
add esp, 4
test edi, edi
jne 0x43dfff
mov ecx, dword [esp + 8]
push 1
push eax
push 0xffffffffffffffff
push 0x4a59a4
call fcn.00471c00
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov bl, byte [edi*8 + 0x4bf234]
jmp 0x43dfc1
mov eax, dword [esp + 0xc]
push 0
lea edx, [esp + 0x24]
push eax
lea eax, [esp + 0x18]
mov dword [esp + 0x20], 0
mov dword [esp + 0x18], edx
call fcn.0044dd80
fstp st(0)
mov edi, dword [esp + 0x10]
add esp, 8
lea eax, [esp + 0x10]
call fcn.00471610
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp + 8]
movzx edi, word [ecx]
test edi, 0xffffff80
jne 0x43e059
push 2
push edi
call fcn.004893ee
add esp, 8
test eax, eax
je 0x43e059
and edi, 0xffffffdf
movzx eax, di
cmp eax, 0x50
je 0x43e071
xor edx, edx
cmp eax, 0x54
setne dl
lea eax, [edx - 1]
and eax, 2
jmp 0x43e076
mov eax, 1
push eax
call fcn.0044dcd0
add esp, 4
test al, al
mov eax, 0x4a4a04
jne 0x43e08d
mov eax, 0x4a4a08
mov ecx, dword [esp + 8]
push 1
push 0
push 0xffffffffffffffff
push eax
call fcn.00471c00
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x43e0b0
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov ecx, dword [0x4c1e48]
sub esp, 0x238
push esi
push edi
push 1
push 0
push 0xffffffffffffffff
push 0
mov esi, eax
call fcn.00471c00
test esi, esi
je 0x43e23f
cmp word [esi], 0
je 0x43e23f
push 0x104
lea eax, [esp + 0x34]
push esi
push eax
call fcn.0048ac34
add esp, 0xc
xor ecx, ecx
lea eax, [esp + 0x30]
mov word [esp + 0x238], cx
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43e110
sub eax, edx
sar eax, 1
cmp word [esp + eax*2 + 0x2e], 0x5c
je 0x43e147
lea edx, [eax + 1]
cmp edx, 0x105
jae 0x43e23f
mov ecx, 0x5c
xor edx, edx
mov word [esp + eax*2 + 0x30], cx
mov word [esp + eax*2 + 0x32], dx
push 1
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
test byte [0x4c5750], 1
jne 0x43e17d
or dword [0x4c5750], 1
push str.GetDiskFreeSpaceExW
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4c574c], eax
jmp 0x43e182
mov eax, dword [0x4c574c]
test eax, eax
je 0x43e1ce
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x3c]
push edx
call eax
test eax, eax
je 0x43e23f
test bl, bl
je 0x43e1bb
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
shrd esi, eax, 0x14
shr eax, 0x14
mov edi, eax
jmp 0x43e20e
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
shrd esi, eax, 0x14
shr eax, 0x14
mov edi, eax
jmp 0x43e20e
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x40]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
test eax, eax
je 0x43e23f
mov eax, dword [esp + 0x14]
test bl, bl
jne 0x43e1fd
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 [0x4c26a8]
push 1
push 0
push 0xffffffffffffffff
push 0x49b8c0
call fcn.00471c00
mov eax, dword [0x4c1e48]
push 0x18
push edi
push esi
call fcn.004010e0
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
mov edx, dword [0x4be3fc]
cmp byte [edx + 0x100], 0
jne 0x43e269
mov eax, dword [0x4c26a8]
push eax
or eax, 0xffffffff
mov ecx, 0x49e334
call fcn.00401200
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp + 8]
push 0x4a59a4
push 0
push 0x49e334
call fcn.0042ea30
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x43f530
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x218
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
jne 0x43f560
cmp byte [0x4c4a9c], al
je 0x43f60b
call fcn.00408fd0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [0x4c4a9c], 0
mov esi, 0x4c26b0
jne 0x43f572
lea esi, [esp + 0x18]
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push esi
push 0x104
call ebx
test eax, eax
je 0x43f5d4
cmp word [edi], 0
je 0x43f5ec
cmp word [edi + 2], 0x3a
jne 0x43f5ec
cmp word [edi + 4], 0
jne 0x43f5ec
push esi
push edi
call fcn.004881a9
add esp, 8
test eax, eax
je 0x43f5ec
push edi
lea ecx, [esp + 0xc]
push 0x4a4e98
push ecx
call fcn.004885b3
add esp, 0xc
lea edx, [esp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
je 0x43f5ec
push esi
push 0x104
call ebx
test eax, eax
jne 0x43f5ec
push 0x103
push edi
push esi
call fcn.0048ac34
add esp, 0xc
xor eax, eax
mov word [esi + 0x206], ax
cmp byte [0x4c4a9c], 0
je 0x43f60b
mov ecx, dword [0x4c26a8]
push 1
push 0
push 0xffffffffffffffff
push 0x49b8c0
call fcn.00471c00
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43fc80
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
sub esp, 0x208
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x21c]
mov ebp, ecx
test edi, edi
je 0x43fe0e
cmp word [edi], 0
je 0x43fe0e
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43fcd4
shr eax, 4
not al
and al, 1
movzx eax, al
push 0xb7
push eax
push ebp
call fcn.0042ecf0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 4
push 0x5c
push edi
call fcn.00489c64
mov ebx, eax
add esp, 8
cmp ebx, edi
jbe 0x43fde7
mov eax, edi
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43fcf0
sub eax, edx
sar eax, 1
cmp eax, 0x104
jb 0x43fd5b
mov eax, dword [0x4be3fc]
mov dword [eax + 0x30], 0x6f
cmp byte [eax + 0x100], cl
jne 0x43fd3b
mov ecx, dword [0x4c26a8]
push ecx
or eax, 0xffffffff
mov ecx, 0x49e334
call fcn.00401200
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 4
mov ecx, ebp
push 0x4a59a4
push 0
push 0x49e334
call fcn.0042ea30
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 4
mov esi, ebx
sub esi, edi
sar esi, 1
push esi
lea edx, [esp + 0x14]
push edi
push edx
call fcn.0048ac34
add esp, 0xc
lea ecx, [esp + 0x10]
xor eax, eax
push ecx
mov ecx, ebp
mov word [esp + esi*2 + 0x14], ax
call fcn.0043fc80
cmp word [ebx + 2], 0
je 0x43fdd5
mov esi, dword [0x4c26a8]
cmp byte [esi + 0x17], 0
jne 0x43fd99
mov esi, dword [esi + 0xc]
test byte [esi + 0x15], 8
je 0x43fda6
mov eax, esi
call fcn.00401160
mov al, byte [esi + 0x17]
cmp al, 1
jne 0x43fdbf
test byte [esi + 0x15], 4
je 0x43fdba
mov eax, esi
call fcn.0042f5b0
mov eax, dword [esi + 8]
jmp 0x43fdcf
cmp al, 2
jne 0x43fdca
call fcn.00401000
jmp 0x43fdcf
mov eax, 0x4c3fa8
cmp word [eax], 0x31
jne 0x43fde7
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 4
push 0xffffffffffffffff
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
sete dl
movzx eax, dl
push eax
push ebp
call fcn.0042ecf0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 4
mov eax, dword [0x4be3fc]
cmp byte [eax + 0x100], 0
mov dword [eax + 0x30], 0x57
jne 0x43fd3d
mov ecx, dword [0x4c26a8]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
mov dword [esp + 4], ecx
or eax, 0xffffffff
mov ecx, 0x49e334
jmp fcn.00401200
Function at 0x4414b0
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
sub esp, 0x210
push ebx
push ebp
push esi
push edi
mov edi, eax
mov esi, ecx
mov ebx, edx
call fcn.0040c8e0
test al, al
je 0x4414d8
push 0x10
push 0
push edi
call fcn.004897cb
add esp, 0xc
jmp 0x4414e1
push edi
call fcn.00489436
add esp, 4
cmp eax, 1
je 0x441543
call fcn.004526d0
test al, al
je 0x441543
mov eax, dword [0x4be3fc]
cmp byte [eax + 0x100], 0
jne 0x44151e
mov ecx, dword [0x4c26a8]
push ecx
or eax, 0xffffffff
mov ecx, 0x49e334
call fcn.00401200
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x210
ret 4
mov ecx, dword [esp + 0x224]
push 0x4a59a4
push 0
push 0x49e334
call fcn.0042ea30
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x210
ret 4
push 0
push 0
push 2
push 0
push 0
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x44158e
mov edx, dword [0x4be3fc]
cmp byte [edx + 0x100], 0
jne 0x44151e
mov eax, dword [0x4c26a8]
push eax
or eax, ebp
mov ecx, 0x49e334
call fcn.00401200
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x210
ret 4
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x441593
sub eax, edx
sar eax, 1
cmp eax, 0x104
jb 0x4415ae
mov eax, 0x103
lea ecx, [eax + eax + 2]
push ecx
lea edx, [esp + 0x1c]
push ebx
push edx
call fcn.00490240
lea eax, [esp + 0x24]
add esp, 0xc
push eax
call fcn.0048a381
add esp, 4
push 0xa
lea ecx, [esp + 0x1c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x44161d
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x44161d
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x44161d
push 0
lea edx, [esp + 0x18]
push edx
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 0x44161f
xor bl, bl
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [esp + 0x224]
test bl, bl
sete al
movzx ecx, al
push ecx
push edx
call fcn.0042eb20
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x210
ret 4
Function at 0x441650
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov ecx, dword [0x4c1e48]
sub esp, 0x104
push esi
push 1
push 0
push 0xffffffffffffffff
push 0
mov esi, eax
call fcn.00471c00
test esi, esi
je 0x4416e5
cmp word [esi], 0
je 0x4416e5
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4416a2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x4be3fc]
cmp byte [ecx + 0x100], 0
mov dword [ecx + 0x30], eax
jmp 0x4416f8
mov ecx, dword [0x4be3fc]
mov edx, dword [0x4c26a8]
mov dword [ecx + 0x30], 0
push edx
or eax, 0xffffffff
mov ecx, 0x49b8c0
call fcn.00401200
mov edx, esi
lea eax, [esp + 8]
call fcn.004700a0
mov ecx, dword [0x4c1e48]
push 1
push 0
push 0xffffffffffffffff
push eax
call fcn.00471c00
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [0x4be3fc]
cmp byte [eax + 0x100], 0
mov dword [eax + 0x30], 0x57
jne 0x441712
mov eax, dword [0x4c26a8]
push eax
or eax, 0xffffffff
mov ecx, 0x49e334
call fcn.00401200
pop esi
mov esp, ebp
pop ebp
ret
push 0x4a59a4
push 0
push 0x49e334
mov ecx, edi
call fcn.0042ea30
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x44dcd0
Capabilities:
Log keystrokes via polling

Disassembly:
test bl, bl
jne 0x44dcd7
xor al, al
ret
mov eax, dword [esp + 4]
dec eax
je 0x44dcff
dec eax
je 0x44dcf1
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 0x44dd0c
cmp bl, 3
jne 0x44dd13
lea eax, [ebx + 0x66]
cmp al, 5
ja 0x44dd39
cmp dword [0x4c1fdc], 0
je 0x44dd29
movzx ecx, bl
mov al, byte [ecx + 0x4c1ec8]
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 [0x4c1fd8], 0
je 0x44dd68
xor ecx, ecx
xor edx, edx
mov al, bl
call fcn.00411310
test al, al
je 0x44dd5b
push 1
call fcn.00411140
add esp, 4
movzx eax, bl
mov al, byte [eax + 0x4c1ec8]
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 0x44e300
Capabilities:
Get disk information

Disassembly:
sub esp, 0x210
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_OpenProcess]
push ebp
push esi
push edi
mov edi, eax
mov esi, ecx
xor eax, eax
push esi
push eax
push 0x410
mov word [edi], ax
call ebx
mov ebp, eax
test ebp, ebp
jne 0x44e342
push esi
push eax
push 0x1000
call ebx
mov ebp, eax
test ebp, ebp
jne 0x44e342
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x210
ret
cmp byte [esp + 0x224], 0
push 0x104
push edi
push 0
push ebp
je 0x44e35d
call dword [sym.imp.PSAPI.DLL_GetModuleBaseNameW]
jmp 0x44e363
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
test byte [0x4c5714], 1
mov ebx, eax
jne 0x44e393
or dword [0x4c5714], 1
push str.GetProcessImageFileNameW
push str.psapi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4c5710], eax
jmp 0x44e398
mov eax, dword [0x4c5710]
test ebx, ebx
jne 0x44e4af
test eax, eax
je 0x44e4af
push 0x104
push edi
push ebp
call eax
mov ebx, eax
test ebx, ebx
je 0x44e4af
cmp byte [esp + 0x224], 0
je 0x44e413
push 0x5c
push edi
call fcn.00489c64
add esp, 8
test eax, eax
je 0x44e4af
mov ecx, eax
lea esi, [ecx + 2]
lea ecx, [ecx]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x44e3e0
sub ecx, esi
sar ecx, 1
add ecx, ecx
push ecx
add eax, 2
push eax
push edi
call fcn.00488c10
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, 0x210
ret
mov ecx, 0x41
mov dword [esp + 0x12], 0x3a
mov word [esp + 0x10], cx
push 0x104
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
mov esi, eax
cmp esi, 2
jbe 0x44e45e
sub esi, 2
push esi
lea ecx, [esp + 0x1c]
push edi
push ecx
call fcn.00489c92
add esp, 0xc
test eax, eax
jne 0x44e45e
cmp word [edi + esi*2], 0x5c
je 0x44e484
mov ax, word [esp + 0x10]
inc ax
mov word [esp + 0x10], ax
cmp ax, 0x5a
jbe 0x44e425
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x210
ret
mov dx, word [esp + 0x10]
mov ax, word [esp + 0x12]
sub ebx, esi
mov word [edi], dx
lea ecx, [ebx + ebx + 2]
push ecx
lea edx, [edi + esi*2]
mov word [edi + 2], ax
push edx
add edi, 4
push edi
call fcn.00488c10
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, 0x210
ret
Function at 0x451560
Capabilities:
Create shortcut via ishelllink
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push esi
push 0
mov esi, ecx
mov byte [esp + 0xb], 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [esp + 8]
push eax
push 0x499720
push 1
push 0
push 0x499730
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x451709
mov eax, dword [esp + 8]
mov edx, dword [ebp + 0xc]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x50]
call eax
cmp word [esi], 0
je 0x4515bd
mov eax, dword [esp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x24]
push esi
push eax
call edx
cmp word [edi], 0
je 0x4515d0
mov eax, dword [esp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x2c]
push edi
push eax
call edx
mov ecx, dword [ebp + 0x14]
cmp word [ecx], 0
je 0x4515e6
mov eax, dword [esp + 8]
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x1c]
call eax
mov esi, dword [ebp + 0x18]
cmp word [esi], 0
je 0x45162c
cmp word [ebx], 0
je 0x45161c
mov eax, ebx
call fcn.0040c8e0
test al, al
je 0x451610
push 0x10
push 0
push ebx
call fcn.004897cb
add esp, 0xc
dec eax
jmp 0x45161e
push ebx
call fcn.00489436
add esp, 4
dec eax
jmp 0x45161e
xor eax, eax
mov ecx, dword [esp + 8]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x44]
push esi
push ecx
call eax
mov esi, dword [ebp + 0x1c]
cmp word [esi], 0
je 0x45166e
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push 1
mov ecx, eax
push 0
xor edx, edx
mov eax, esi
call fcn.00411960
add esp, 8
test al, al
je 0x45166e
mov ecx, dword [esp + 8]
mov edx, dword [ecx]
movzx eax, al
mov esi, 0x600
or ax, si
movzx eax, ax
push eax
push ecx
mov ecx, dword [edx + 0x34]
call ecx
mov esi, dword [ebp + 0x20]
cmp word [esi], 0
je 0x4516a7
mov eax, esi
call fcn.0040c8e0
test al, al
je 0x451691
push 0x10
push 0
push esi
call fcn.004897cb
add esp, 0xc
jmp 0x45169a
push esi
call fcn.00489436
add esp, 4
mov ecx, dword [esp + 8]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x3c]
push ecx
call eax
mov eax, dword [esp + 8]
mov ecx, dword [eax]
lea edx, [esp + 0xc]
push edx
push 0x499740
push eax
mov eax, dword [ecx]
call eax
test eax, eax
js 0x4516fd
mov eax, dword [esp + 0xc]
mov edx, dword [ebp + 0x10]
mov ecx, dword [eax]
push 1
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
test eax, eax
js 0x4516f1
mov ecx, dword [0x4c26a8]
push 1
push 0
push 0xffffffffffffffff
push 0x49b8c0
call fcn.00471c00
mov byte [esp + 7], 1
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
cmp byte [esp + 7], 0
je 0x451722
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 0x1c
mov eax, dword [0x4be3fc]
cmp byte [eax + 0x100], 0
jne 0x45174b
mov ecx, dword [0x4c26a8]
push ecx
or eax, 0xffffffff
mov ecx, 0x49e334
call fcn.00401200
pop esi
mov esp, ebp
pop ebp
ret 0x1c
mov ecx, dword [ebp + 8]
push 0x4a59a4
push 0
push 0x49e334
call fcn.0042ea30
pop esi
mov esp, ebp
pop ebp
ret 0x1c