joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4161d0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x422118
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x450
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push 0x4275cc
lea ecx, [ebp + 0x70]
mov dword [ebp - 4], 1
xor edi, edi
call fcn.0040fd60
push eax
call dword [0xb3e418]
test eax, eax
je 0x416218
lea edi, [ebx + 1]
push 0
push 0x4275dc
lea ecx, [ebp + 0x70]
call fcn.0040fd60
push eax
call dword [0xb3e418]
test eax, eax
je 0x41623b
mov edi, 1
mov ebx, edi
jmp 0x416243
test edi, edi
je 0x416355
lea eax, [ebp - 0x74]
push eax
push 0x64
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
cmp byte [ebp - 0x74], 0
lea esi, [ebp - 0x74]
je 0x4163b8
lea esp, [esp]
push 0x3e8
lea ecx, [ebp - 0x45c]
push 0
push ecx
call sub.msvcrt.dll_memset
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
test ebx, ebx
je 0x4162a4
cmp eax, 2
jne 0x4162a4
lea ecx, [ebp + 0x70]
call fcn.0040fd60
push eax
lea edx, [ebp - 0x45c]
push edx
call dword [0xb3e528]
push esi
push str._DRIVE_REMOVABLE_
jmp 0x4162c0
lea ecx, [ebp + 0x70]
call fcn.0040fd60
push eax
lea edx, [ebp - 0x45c]
push edx
call dword [0xb3e528]
push esi
push str._DRIVE_FIXED_
lea eax, [ebp - 0x45c]
push eax
call fcn.00411500
add esp, 0xc
push eax
lea ecx, [ebp - 0x45c]
push ecx
call dword [0xb3e528]
mov edx, dword [ebp + 0x94]
mov eax, dword [ebp + 0x8c]
mov ecx, dword [ebp + 0x88]
push 0
push edx
push edi
push eax
push 0
push ecx
lea ecx, [ebp + 0x7c]
call fcn.0040fd60
push eax
lea edx, [ebp - 0x45c]
push edx
lea ecx, [ebp + 0x64]
call fcn.0040fd60
push eax
push 0x4272ca
lea ecx, [ebp + 0x98]
call fcn.0040fd60
push eax
sub esp, 0x5c
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x10], esp
push eax
call fcn.00401060
call fcn.00415d90
add esp, 0x88
push esi
call dword [0xb3e3a0]
cmp byte [esi + eax + 1], 0
lea esi, [esi + eax + 1]
jne 0x416260
jmp 0x4163b8
mov ecx, dword [ebp + 0x94]
mov edx, dword [ebp + 0x8c]
mov eax, dword [ebp + 0x88]
push 0
push ecx
push 0
push edx
push 0
push eax
lea ecx, [ebp + 0x7c]
call fcn.0040fd60
push eax
lea ecx, [ebp + 0x70]
call fcn.0040fd60
push eax
lea ecx, [ebp + 0x64]
call fcn.0040fd60
push eax
push 0x4272cb
lea ecx, [ebp + 0x98]
call fcn.0040fd60
push eax
sub esp, 0x5c
lea edx, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x10], esp
push edx
call fcn.00401060
call fcn.00415d90
add esp, 0x88
mov eax, dword [ebp + 0xa4]
mov dword [eax], 0
lea ecx, [ebp + 0x28]
mov byte [ebp - 4], 8
call fcn.0040fb40
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], 7
call fcn.0040fb40
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0
call fcn.0040fb40
lea ecx, [ebp + 0x98]
mov dword [ebp - 4], 0xb
call fcn.0040fb40
lea ecx, [ebp + 0x7c]
mov byte [ebp - 4], 0xa
call fcn.0040fb40
lea ecx, [ebp + 0x70]
mov byte [ebp - 4], 9
call fcn.0040fb40
lea ecx, [ebp + 0x64]
mov dword [ebp - 4], 0xffffffff
call fcn.0040fb40
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41b477
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x92c520]
jne 0x41b481
repz ret
jmp fcn.0041e16f
Function at 0x41e946
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x92c520]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0041ad9a
and dword [ebp - 0x14], 0
cmp dword [0xb3f0fc], 0
mov dword [ebp - 0x18], eax
jne 0x41e9f9
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x41eaa1
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x41eaa1
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0xb3f0fc], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0xb3f100], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0xb3f104], eax
call edi
push eax
call esi
mov dword [0xb3f10c], eax
test eax, eax
je 0x41e9f9
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0xb3f108], eax
mov eax, dword [0xb3f108]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x41ea52
cmp dword [0xb3f10c], ecx
je 0x41ea52
push eax
call esi
push dword [0xb3f10c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x41ea52
test ebx, ebx
je 0x41ea52
call edi
test eax, eax
je 0x41ea49
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41ea49
test byte [ebp - 8], 1
jne 0x41ea52
or dword [ebp + 0x10], 0x200000
jmp 0x41ea85
mov eax, dword [0xb3f100]
cmp eax, dword [ebp - 0x18]
je 0x41ea85
push eax
call esi
test eax, eax
je 0x41ea85
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41ea85
mov eax, dword [0xb3f104]
cmp eax, dword [ebp - 0x18]
je 0x41ea85
push eax
call esi
test eax, eax
je 0x41ea85
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0xb3f0fc]
call esi
test eax, eax
je 0x41eaa1
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x41eaa3
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041b477
leave
ret
Function at 0x415f50
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xf000]
push edi
jmp 0x415f6a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x415f71
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x415f60
mov eax, 1
add ebx, ebx
jne 0x415f83
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x415f78
jne 0x415f94
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x415f78
xor ecx, ecx
sub eax, 3
jb 0x415fa8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41601a
mov ebp, eax
add ebx, ebx
jne 0x415fb3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x415fc0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x415fe4
inc ecx
add ebx, ebx
jne 0x415fd0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x415fc5
jne 0x415fe1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x415fc5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x416004
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x415ff5
jmp 0x415f66
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x416004
add edi, ecx
jmp 0x415f66
pop esi
lea edi, [esi + 0x13000]
mov eax, dword [edi]
or eax, eax
je 0x416063
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1a7d8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1a844]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x416021
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1a84c]
or eax, eax
je 0x41605d
mov dword [ebx], eax
add ebx, 4
jmp 0x41603e
call dword [esi + 0x1a848]
mov ebp, dword [esi + 0x1a850]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ff]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x416097
sub esp, 0xffffff80
jmp 0x402540
Function at 0x4018f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov dword [ebp - 0x114], str.777ll
push 0x104
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov ecx, dword [ebp - 0x114]
push ecx
lea edx, [ebp - 0x110]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0
push 0x80
push 3
push 0
push 3
push 1
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 0xffffffff
je 0x40195f
cmp dword [ebp - 0x118], 0
je 0x40195f
jmp 0x4019c3
mov ecx, dword [ebp + 8]
cmp dword [ecx + 4], 0
je 0x4019c3
mov dword [ebp - 0x11c], 0x7dc35
mov edx, dword [ebp + 8]
add edx, 8
mov dword [0x4302f4], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov dword [0x430310], ecx
mov dword [ebp - 0x11c], 0x7dc35
mov dword [ebp - 0x11c], 0x7dc35
call fcn.004011b0
mov edx, dword [ebp + 8]
mov dword [0x43030c], edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 1
call fcn.00401300
add esp, 0xc
mov dword [ebp + 8], eax
jmp 0x40195f
mov esp, ebp
pop ebp
ret

Function at 0x401a60
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [0x430300], 0x24e1
mov eax, dword [0x430300]
sub eax, 0x24e1
mov dword [0x430300], eax
mov ecx, 1
test ecx, ecx
je 0x401b0b
mov edx, dword [0x430300]
cmp edx, dword [ebp + 0xc]
jb 0x401a97
jmp 0x401b0b
cmp dword [0x430300], 0
jne 0x401ab5
push 0x263
push 0
call dword [sym.imp.USER32.dll_LoadIconW]
test eax, eax
je 0x401ab5
xor eax, eax
jmp 0x401b0b
mov eax, dword [ebp + 8]
add eax, dword [0x430300]
mov ecx, dword [eax]
add ecx, dword [0x430300]
mov edx, dword [ebp + 8]
add edx, dword [0x430300]
mov dword [edx], ecx
mov dword [ebp - 4], 0x263fa
mov eax, dword [0x430300]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax + 2]
push edx
mov eax, dword [ebp + 8]
add eax, dword [0x430300]
push eax
call fcn.004011c0
add esp, 8
mov ecx, dword [0x430300]
add ecx, 4
mov dword [0x430300], ecx
jmp 0x401a7d
mov esp, ebp
pop ebp
ret

Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
nop
push 4
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x430072
nop
nop
nop
nop
mov ebx, 0x408f6c
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x2515273b
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x430060
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
je 0x4300d2
nop
nop
nop
nop
nop
mov ebx, 0x42e3d0
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x35e535c6
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
loop 0x4300c0
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40de38
nop
mov ecx, 0x110f0abb
nop
nop
nop
test eax, eax
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x433024
nop
nop
nop
nop
nop
mov eax, section..rsrc
nop
mov ebx, 0x4304d8
mov ecx, 0x28454ff8
nop
nop
nop
test eax, eax
nop
nop
je 0x433084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43306c
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x430005
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
mov eax, section..text
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
je 0x430072
nop
nop
nop
nop
mov ebx, 0x408f6c
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x9743330
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x430060
nop
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4300d2
mov ebx, 0x42e3d0
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x1c574b2f
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x433030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
popal
nop
nop
jmp fcn.00431219
Function at 0x407c80
Capabilities:
Create directory
Get common file path

Disassembly:
push esi
mov esi, dword [0x4ac85c]
push edi
push 2
push 0x104
call fcn.0046cff4
mov edi, eax
add esp, 8
test edi, edi
je 0x407cc7
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push esi
push 0
push 0x48aed8
push edi
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push edi
call fcn.0046c837
mov esi, dword [0x4ac85c]
add esp, 4
cmp word [esi], 0
je 0x407cf8
push esi
call fcn.0046d3c8
add esp, 4
push 0
push dword [0x4ac85c]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x407cf8
mov ecx, dword [0x4ac85c]
call fcn.00424600
pop edi
xor eax, eax
pop esi
ret
pop edi
mov eax, 0x67
pop esi
ret

Function at 0x407c88
Capabilities:
Create directory
Get common file path

Disassembly:
push esi
mov esi, dword [0x4ac85c]
push edi
push 2
push 0x104
call fcn.0046cff4
mov edi, eax
add esp, 8
test edi, edi
je 0x407cc7
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push esi
push 0
push 0x48aed8
push edi
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push edi
call fcn.0046c837
mov esi, dword [0x4ac85c]
add esp, 4
cmp word [esi], 0
je 0x407cf8
push esi
call fcn.0046d3c8
add esp, 4
push 0
push dword [0x4ac85c]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x407cf8
mov ecx, dword [0x4ac85c]
call fcn.00424600
pop edi
xor eax, eax
pop esi
ret
pop edi
mov eax, 0x67
pop esi
ret
Function at 0x424ab0
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push 2
push 0x104
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.0046cff4
mov esi, eax
add esp, 8
test esi, esi
je 0x424bd9
push edi
push 2
push 0x104
call fcn.0046cff4
mov edi, eax
add esp, 8
test edi, edi
je 0x424b0d
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push esi
push ebx
push 0x4a9b20
push edi
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push edi
call fcn.0046c837
add esp, 4
cmp word [esi], bx
je 0x424bca
push esi
call fcn.0046d3c8
mov ecx, esi
add esp, 4
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x424b24
sub ecx, edx
sar ecx, 1
cmp word [esi + ecx*2 - 2], 0x5c
je 0x424b53
lea edi, [esi - 2]
mov edi, edi
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x424b40
mov eax, dword [0x48af3c]
mov dword [edi], eax
mov ecx, esi
lea edx, [ecx + 2]
jmp 0x424b60
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x424b60
sub ecx, edx
sar ecx, 1
lea edi, [ecx*2 + 4]
push edi
call fcn.0046c7a5
mov edx, eax
add esp, 4
test edx, edx
jne 0x424b95
call fcn.0046ef81
push edi
call fcn.0046c7a5
add esp, 4
mov edx, eax
mov eax, dword [ebp - 4]
mov ecx, esi
mov dword [eax], edx
sub edx, esi
mov edi, edi
movzx eax, word [ecx]
mov word [edx + ecx], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x424ba0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push esi
call fcn.0046c837
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
mov ebx, 0xe
call fcn.0046c837
add esp, 4
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x424d00
Capabilities:
Get common file path
Set current directory

Disassembly:
push esi
push 2
push 0x104
call fcn.0046cff4
mov esi, eax
add esp, 8
test esi, esi
je 0x424d3e
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x48af40
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push esi
call fcn.0046de7d
push esi
call fcn.0046c837
add esp, 8
pop esi
ret
push 0x48af40
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
pop esi
ret

Function at 0x424d01
Capabilities:
Get common file path
Set current directory

Disassembly:
push esi
push 2
push 0x104
call fcn.0046cff4
mov esi, eax
add esp, 8
test esi, esi
je 0x424d3e
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x48af40
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push esi
call fcn.0046de7d
push esi
call fcn.0046c837
add esp, 8
pop esi
ret
push 0x48af40
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
pop esi
ret
Function at 0x42b970
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x4ac9b4]
push ebx
mov al, byte [ecx + 0x1a7]
test al, al
jne 0x42b9ec
mov ecx, 1
call fcn.00429370
mov eax, dword [0x4ac9b4]
push dword [eax]
call dword [0x4ab734]
call fcn.004010a0
call fcn.0042c150
call fcn.004011c0
mov eax, dword [0x4ac9b4]
push dword [eax]
call dword [0x4ab738]
call fcn.00401210
mov eax, dword [0x4ac9b4]
push dword [eax]
call dword [0x4ab73c]
call fcn.00429470
mov eax, dword [0x4ac9b4]
cmp byte [eax + 0x4c8], 0
je 0x42b9e3
push dword [eax]
call dword [0x4ab704]
pop ebx
ret
mov byte [eax + 0x4c8], 1
pop ebx
ret
mov byte [ecx + 0x1a7], 0
test al, 4
je 0x42ba44
mov edx, dword [0x4ac9b0]
mov ecx, dword [0x4ac9b4]
movsx ebx, al
mov eax, dword [edx + 0x1c]
cmp eax, dword [ecx + 0x190]
jne 0x42ba1c
mov eax, dword [edx + 0x20]
cmp eax, dword [ecx + 0x194]
je 0x42ba27
call fcn.004384f0
mov edx, dword [0x4ac9b0]
mov ecx, 6
test bl, 8
jne 0x42ba3d
test byte [edx + 0xc], 0x20
mov eax, 0x16
cmovne ecx, eax
call fcn.00437070
jmp 0x42ba7b
test al, 1
je 0x42baa1
mov ecx, dword [0x4ac9b0]
mov edx, dword [0x4ac9b4]
mov eax, dword [ecx + 0x1c]
cmp eax, dword [edx + 0x190]
jne 0x42ba76
mov eax, dword [ecx + 0x20]
cmp eax, dword [edx + 0x194]
jne 0x42ba76
mov ecx, 6
call fcn.00437070
jmp 0x42ba7b
call fcn.004385d0
mov ecx, dword [0x4ac9b4]
mov eax, dword [ecx + 0xb0]
mov dword [ecx + 0x190], eax
mov ecx, dword [0x4ac9b4]
mov eax, dword [ecx + 0xb4]
mov dword [ecx + 0x194], eax
pop ebx
ret
mov ecx, 0x86
pop ebx
jmp fcn.00437070
Function at 0x4413f0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [0x4ac9b4]
mov dword [ebp - 8], ecx
xor ecx, ecx
mov dword [ebp - 4], edx
test esi, esi
jne 0x441410
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
cmp edx, 0x100
jne 0x441453
cmp dword [ebp + 8], 9
jne 0x44147b
cmp dword [esi + 0x518], ecx
jle 0x44147b
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, dword [0x4ac9b4]
test ax, ax
js 0x441440
call fcn.0044ebb0
jmp 0x441445
call fcn.0044ed70
test eax, eax
je 0x441470
mov eax, 4
pop esi
mov esp, ebp
pop ebp
ret
cmp edx, 5
jne 0x44147b
mov eax, dword [0x4ac9ac]
test byte [eax + 0x14], 0x10
je 0x44147b
cmp byte [esi + 0x4c8], cl
je 0x44147b
call fcn.0042c070
mov edx, dword [ebp - 4]
mov esi, dword [0x4ac9b4]
xor ecx, ecx
movsx eax, word [esi + 0x1d8]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x4414c4
push edi
xor edi, edi
test eax, eax
jle 0x4414c3
push ebx
mov ebx, 0x1dc
push dword [ebp + 0xc]
mov eax, dword [ebx + esi]
push dword [ebp + 8]
push edx
push dword [ebp - 8]
push esi
call eax
movsx ecx, ax
test cl, 0x5c
jne 0x4414c2
inc edi
add ebx, 4
cmp edi, dword [ebp - 0xc]
jge 0x4414c2
mov esi, dword [0x4ac9b4]
mov edx, dword [ebp - 4]
jmp 0x441496
pop ebx
pop edi
mov eax, ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4415b0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push dword [0x4ac988]
call dword [sym.imp.USER32.dll_IsWindowVisible]
mov dword [ebp - 4], eax
test eax, eax
je 0x4415d7
push 0
push dword [0x4ac988]
call dword [sym.imp.USER32.dll_ShowWindow]
push ebx
push esi
push edi
push 0x304
push 0
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov edi, dword [sym.imp.USER32.dll_RedrawWindow]
push eax
call edi
mov ebx, dword [sym.imp.USER32.dll_GetWindow]
push 0
push dword [0x4ac988]
call ebx
mov esi, eax
test esi, esi
je 0x441627
jmp 0x441610
push 0x100
push 0
push 0
push esi
call edi
push 2
push esi
call ebx
mov esi, eax
test esi, esi
jne 0x441610
mov eax, dword [0x4ac9ac]
cmp dword [eax + 0x1fc], 0
jne 0x44167e
mov esi, dword [sym.imp.USER32.dll_PeekMessageW]
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call esi
test eax, eax
je 0x44167e
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageW]
lea esp, [esp]
lea eax, [ebp - 0x20]
push eax
call edi
lea eax, [ebp - 0x20]
push eax
call ebx
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call esi
test eax, eax
jne 0x441660
push dword [0x4ac984]
call dword [0x4ab994]
cmp dword [ebp - 4], 0
pop edi
pop esi
pop ebx
je 0x4416a1
push 5
push dword [0x4ac988]
call dword [sym.imp.USER32.dll_ShowWindow]
mov esp, ebp
pop ebp
ret
Function at 0x4545c0
Capabilities:
Check os version
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x484dd0
mov eax, dword fs:[0]
push eax
sub esp, 0x138
mov eax, dword [0x4a6ff8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
cmp dword [0x4ac980], 0
mov dword [0x4acb98], 1
je 0x45470b
lea eax, [ebp - 0x128]
push eax
mov dword [ebp - 0x128], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x45469a
cmp dword [ebp - 0x118], 2
jne 0x45469a
mov eax, dword [ebp - 0x124]
cmp eax, 6
ja 0x454642
jne 0x45469a
cmp dword [ebp - 0x120], 1
jbe 0x45469a
push str.Imm32.dll
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x45469a
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.ImmDisableIME
push esi
call ebx
mov edi, eax
test edi, edi
je 0x454693
push str.ImmIsIME
push esi
call ebx
mov ebx, eax
test ebx, ebx
je 0x45468f
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
test eax, eax
je 0x45468f
push eax
call ebx
test eax, eax
je 0x454693
push 0xffffffffffffffff
call edi
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push dword [0x4ac980]
call dword [0x4ab9a0]
push 0
mov dword [0x4ac980], 0
mov dword [0x4ac988], 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov esi, dword [sym.imp.USER32.dll_PeekMessageW]
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x144]
push eax
call esi
test eax, eax
je 0x45470b
mov edi, dword [sym.imp.USER32.dll_GetMessageW]
push 0
push 0
push 0
lea eax, [ebp - 0x144]
push eax
call edi
test eax, eax
je 0x45470b
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x144]
push eax
call esi
test eax, eax
jne 0x4546e3
mov eax, dword [0x4acb14]
test eax, eax
je 0x454725
push eax
call dword [0x4ab9f8]
mov dword [0x4acb14], 0
mov eax, dword [0x4ac990]
test eax, eax
je 0x45473f
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [0x4ac990], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0046c796
mov esp, ebp
pop ebp
ret