joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44fe10
Capabilities:
Get file version info

Disassembly:
sub esp, 0x8c
push ebx
push esi
push 1
push 0
push 0xffffffffffffffff
mov ebx, ecx
mov ecx, dword [0x4ae860]
push 0
call fcn.004744e0
mov esi, dword [esp + 0x98]
test esi, esi
je 0x44ff91
cmp byte [esi], 0
je 0x44ff91
push ebp
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
mov ebp, eax
test ebp, ebp
jne 0x44feb0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x4aa1d8]
test byte [ecx + 0xe0], 1
mov dword [ecx + 0x30], eax
jne 0x44fe91
mov ecx, dword [0x4ad0c8]
push 1
push ebp
push 0xffffffffffffffff
push 0x49e628
call fcn.004744e0
pop ebp
pop esi
pop ebx
add esp, 0x8c
ret 4
push 0x49bc4d
push 0
push 0x49e628
mov ecx, ebx
call fcn.0042c8f0
pop ebp
pop esi
pop ebx
add esp, 0x8c
ret 4
push edi
push ebp
call fcn.00484535
add esp, 4
mov edi, eax
push edi
push ebp
push 0
push esi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoA]
test eax, eax
je 0x44ff65
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x14]
push eax
push 0x49ec70
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueA]
test eax, eax
je 0x44ff65
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 8]
mov ecx, dword [eax + 0xc]
movzx eax, cx
push eax
shr ecx, 0x10
push ecx
movzx eax, dx
push eax
shr edx, 0x10
lea eax, [esp + 0x28]
push edx
push str._u._u._u._u
push 0x80
push eax
call fcn.004715d0
push edi
call fcn.004843d4
mov eax, dword [0x4aa1d8]
add esp, 0x20
mov ecx, dword [0x4ad0c8]
push 1
push 0
push 0xffffffffffffffff
push 0x49bca8
mov dword [eax + 0x30], 0
call fcn.004744e0
mov ecx, dword [0x4ae860]
lea eax, [esp + 0x1c]
push 1
push 0
push 0xffffffffffffffff
push eax
call fcn.004744e0
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x8c
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x4aa1d8]
push edi
mov dword [ecx + 0x30], eax
call fcn.004843d4
add esp, 4
mov ecx, ebx
call fcn.0042f240
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x8c
ret 4
mov eax, dword [0x4aa1d8]
test byte [eax + 0xe0], 1
mov dword [eax + 0x30], 0x57
jne 0x44ffc7
mov ecx, dword [0x4ad0c8]
push 1
push 0
push 0xffffffffffffffff
push 0x49e628
call fcn.004744e0
pop esi
pop ebx
add esp, 0x8c
ret 4
push 0x49bc4d
push 0
push 0x49e628
mov ecx, ebx
call fcn.0042c8f0
pop esi
pop ebx
add esp, 0x8c
ret 4
Function at 0x44fff0
Capabilities:
Check if file exists
Copy file
Get file attributes

Disassembly:
sub esp, 0x234
lea eax, [esp]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
push edi
push eax
lea eax, [esp + 0x30]
mov edi, edx
push eax
push 0x104
push ecx
call esi
lea ecx, [esp + 0x2c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x450018
sub ecx, edx
je 0x45002e
cmp byte [esp + ecx + 0x2b], 0x5c
jne 0x45002e
mov byte [esp + ecx + 0x2b], al
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x138]
push eax
push 0x104
push edi
call esi
lea ecx, [esp + 0x134]
lea edx, [ecx + 1]
lea ecx, [ecx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x450050
sub ecx, edx
je 0x45006c
cmp byte [esp + ecx + 0x133], 0x5c
jne 0x45006c
mov byte [esp + ecx + 0x133], al
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
lea eax, [esp + 0x2c]
push eax
call esi
cmp eax, 0xffffffff
je 0x45009f
test al, 0x10
je 0x45009f
lea eax, [esp + 0x134]
push eax
call esi
cmp eax, 0xffffffff
je 0x4500aa
test al, 0x10
je 0x4500aa
cmp byte [esp + 0x240], 0
jne 0x4500ba
pop edi
xor al, al
pop esi
add esp, 0x234
ret
lea ecx, [esp + 0x134]
call fcn.00450a00
test al, al
je 0x45009f
lea ecx, [esp + 0x2c]
dec ecx
nop
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x4500c0
mov eax, dword [str..]
mov dword [ecx], eax
mov al, byte [0x4a2e70]
mov byte [ecx + 4], al
lea ecx, [esp + 0x2c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4500e0
sub ecx, edx
mov byte [esp + ecx + 0x2d], al
lea ecx, [esp + 0x134]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4500f7
sub ecx, edx
mov dword [esp + 0xc], 0
xorps xmm0, xmm0
mov word [esp + 0x28], 0
movdqu xmmword [esp + 0x10], xmm0
mov dword [esp + 0x10], 2
mov byte [esp + ecx + 0x135], al
lea eax, [esp + 0x2c]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x134]
mov dword [esp + 0x18], eax
mov eax, 0x614
mov word [esp + 0x1c], ax
lea eax, [esp + 0xc]
push eax
movq qword [esp + 0x24], xmm0
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
neg eax
pop edi
sbb eax, eax
inc eax
pop esi
add esp, 0x234
ret
Function at 0x450170
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub esp, 0x234
lea eax, [esp]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
push edi
push eax
lea eax, [esp + 0x30]
mov edi, edx
push eax
push 0x104
push ecx
call esi
lea ecx, [esp + 0x2c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x450198
sub ecx, edx
je 0x4501ae
cmp byte [esp + ecx + 0x2b], 0x5c
jne 0x4501ae
mov byte [esp + ecx + 0x2b], al
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x138]
push eax
push 0x104
push edi
call esi
lea ecx, [esp + 0x134]
lea edx, [ecx + 1]
lea ecx, [ecx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4501d0
sub ecx, edx
je 0x4501ec
cmp byte [esp + ecx + 0x133], 0x5c
jne 0x4501ec
mov byte [esp + ecx + 0x133], al
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
lea eax, [esp + 0x2c]
push eax
call esi
cmp eax, 0xffffffff
je 0x450312
test al, 0x10
je 0x450312
lea eax, [esp + 0x134]
push eax
call esi
mov esi, dword [esp + 0x240]
cmp eax, 0xffffffff
je 0x450236
test al, 0x10
je 0x450312
cmp esi, 1
je 0x450236
cmp esi, 2
jne 0x450312
lea edx, [esp + 0x134]
lea ecx, [esp + 0x2c]
call fcn.00450b10
lea ecx, [esp + 0x2c]
test al, al
je 0x45027b
push 1
lea edx, [esp + 0x138]
call fcn.0044fff0
add esp, 4
test al, al
je 0x450312
mov dl, 1
lea ecx, [esp + 0x2c]
call fcn.00450320
pop edi
pop esi
add esp, 0x234
ret
lea edx, [ecx + 1]
mov edi, edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x450280
sub ecx, edx
mov byte [esp + ecx + 0x2d], al
lea ecx, [esp + 0x134]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x450297
sub ecx, edx
mov dword [esp + 0xc], 0
mov word [esp + 0x28], 0
xorps xmm0, xmm0
movq qword [esp + 0x20], xmm0
movdqu xmmword [esp + 0x10], xmm0
mov byte [esp + ecx + 0x135], al
lea eax, [esp + 0x2c]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x134]
mov dword [esp + 0x18], eax
mov eax, 0x614
mov dword [esp + 0x10], 1
mov word [esp + 0x1c], ax
cmp esi, 2
jne 0x4502f9
mov eax, 0x615
mov word [esp + 0x1c], ax
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
neg eax
pop edi
sbb eax, eax
inc eax
pop esi
add esp, 0x234
ret
pop edi
xor al, al
pop esi
add esp, 0x234
ret
Function at 0x450320
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes

Disassembly:
sub esp, 0x12c
lea eax, [esp + 0x20]
push ebx
push eax
lea eax, [esp + 0x2c]
mov bl, dl
push eax
push 0x104
push ecx
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
lea ecx, [esp + 0x28]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x450346
sub ecx, edx
je 0x45035c
cmp byte [esp + ecx + 0x27], 0x5c
jne 0x45035c
mov byte [esp + ecx + 0x27], al
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x450407
test al, 0x10
je 0x450407
test bl, bl
jne 0x450394
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
pop ebx
setne al
add esp, 0x12c
ret
lea ecx, [esp + 0x28]
lea edx, [ecx + 1]
jmp 0x4503a0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4503a0
sub ecx, edx
mov dword [esp + 0x10], 0
mov dword [esp + 0x1a], 0
mov dword [esp + 0x1e], 0
mov dword [esp + 0x16], 0
mov byte [esp + ecx + 0x29], al
lea eax, [esp + 0x28]
mov dword [esp + 0xc], eax
mov eax, 0x614
mov word [esp + 0x14], ax
lea eax, [esp + 4]
push eax
mov dword [esp + 8], 0
mov dword [esp + 0xc], 3
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
neg eax
pop ebx
sbb eax, eax
inc eax
add esp, 0x12c
ret
xor al, al
pop ebx
add esp, 0x12c
ret
Function at 0x450a00
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov esi, ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x450a86
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub eax, 2
je 0x450a71
dec eax
jne 0x450a93
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x450a26
sub ecx, edx
cmp ecx, 0x104
ja 0x450a93
lea eax, [ecx + 1]
call fcn.0048eed0
mov edi, esp
mov ecx, esi
mov edx, edi
sub edx, esi
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x450a47
push 0x5c
push edi
call fcn.0048695e
add esp, 8
test eax, eax
je 0x450a93
mov ecx, edi
mov byte [eax], 0
call fcn.00450a00
test al, al
je 0x450a93
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
setne al
lea esp, [ebp - 8]
pop edi
pop esi
pop ebp
ret
test al, 0x10
je 0x450a93
mov al, 1
lea esp, [ebp - 8]
pop edi
pop esi
pop ebp
ret
xor al, al
lea esp, [ebp - 8]
pop edi
pop esi
pop ebp
ret

Function at 0x450aa0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub esp, 0x148
push esi
mov esi, ecx
push 0x2a
push esi
call fcn.004855e4
add esp, 8
test eax, eax
jne 0x450adc
push 0x3f
push esi
call fcn.004855e4
add esp, 8
test eax, eax
jne 0x450adc
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
setne al
pop esi
add esp, 0x148
ret
lea eax, [esp + 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
jne 0x450af7
xor al, al
pop esi
add esp, 0x148
ret
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov al, 1
pop esi
add esp, 0x148
ret

Function at 0x450c20
Capabilities:
Shutdown system

Disassembly:
sub esp, 0x18
lea eax, [esp]
push esi
push eax
push 0x28
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x450c44
xor al, al
pop esi
add esp, 0x18
ret
lea eax, [esp + 0xc]
push eax
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
push 0
push 0
push 0
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 1
push eax
push 0
push dword [esp + 0x18]
mov dword [esp + 0x2c], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x450c3d
push eax
push esi
call dword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
pop esi
setne al
add esp, 0x18
ret
Function at 0x462220
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [ecx + 4]
test eax, eax
je 0x462230
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, 1
ret

Function at 0x462240
Capabilities:
Hide graphical window

Disassembly:
cmp dword [ecx + 0x24], 0
jne 0x46225c
mov eax, dword [ecx + 4]
test eax, eax
je 0x462271
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, 1
ret
push 0
push 0x2af80006
push 0x414
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, 1
ret

Function at 0x4622b0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x30
push ebx
push ebp
push esi
mov esi, ecx
push edi
cmp dword [esi + 4], 0
je 0x462423
xor edi, edi
cmp dword [esi + 0x10], edi
jbe 0x4622f9
xor ebx, ebx
lea esp, [esp]
mov eax, dword [esi + 0x18]
add eax, ebx
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x4622f0
cmp byte [eax + 4], 6
je 0x4622f0
push str.Submit
push eax
push ecx
mov ecx, esi
call fcn.004624e0
inc edi
add ebx, 0x14
cmp edi, dword [esi + 0x10]
jb 0x4622d0
xor edi, edi
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x14], edi
xor ebx, ebx
mov dword [esp + 0x1c], edi
xor ebp, ebp
mov dword [esp + 0x10], eax
cmp ebx, dword [esi + 0x10]
mov dword [esp + 0x18], ecx
je 0x462331
mov eax, dword [esi + 0x18]
push 0xfffffffffffffff0
push dword [eax + ecx]
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, 0x20000
je 0x462380
mov eax, dword [esp + 0x10]
cmp edi, 1
jne 0x462365
cmp ebp, edi
jle 0x462365
xor ecx, ecx
cmp eax, 0xffffffff
push 0xa
cmove eax, ecx
lea ecx, [esp + 0x24]
push ecx
push eax
call fcn.004840fe
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x2c]
add esp, 0xc
push edi
push 0
push 0xffffffffffffffff
push eax
call fcn.004744e0
cmp ebx, dword [esi + 0x10]
je 0x462411
xor ecx, ecx
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], ecx
xor ebp, ebp
jmp 0x462384
mov ecx, dword [esp + 0x14]
mov eax, dword [esi + 0x18]
mov edx, dword [esp + 0x18]
cmp byte [eax + edx + 4], 6
jne 0x4623f4
mov edi, dword [eax + edx + 8]
inc ebp
test edi, edi
je 0x4623a4
inc ecx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], ecx
push 0
push 0
push pe_nt_image_headers32
push dword [eax + edx]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 1
jne 0x4623de
cmp dword [esp + 0x10], 0
mov eax, ebp
mov ecx, 0xffffffff
cmovne eax, ecx
mov dword [esp + 0x10], eax
test edi, edi
je 0x4623f8
push 1
push 0
push ecx
push 0x49e628
jmp 0x4623ed
test edi, edi
je 0x4623f4
push 1
push 0
push 0xffffffffffffffff
push 0x49bca8
mov ecx, edi
call fcn.004744e0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
inc ebx
mov edi, dword [esp + 0x14]
add ecx, 0x14
mov dword [esp + 0x18], ecx
cmp ebx, dword [esi + 0x10]
jbe 0x462316
cmp byte [esp + 0x44], 0
je 0x462423
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x30
ret 4
Function at 0x464e50
Capabilities:
Get keyboard layout

Disassembly:
push ebx
push esi
mov esi, ecx
xor bl, bl
mov al, byte [esi]
test al, al
je 0x464e81
lea esp, [esp]
cmp al, 0x21
je 0x464e76
cmp al, 0x2b
je 0x464e71
cmp al, 0x5e
jne 0x464e81
or bl, 2
jmp 0x464e79
or bl, 1
jmp 0x464e79
or bl, 4
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x464e60
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
push ecx
push 0
xor edx, edx
mov ecx, esi
call fcn.00412340
mov bh, al
add esp, 0xc
test bh, bh
jne 0x464ea4
pop esi
xor eax, eax
pop ebx
ret
mov ecx, esi
call fcn.00412290
movzx eax, ax
test ax, ax
jne 0x464ebf
xor dl, dl
mov cl, bh
call fcn.00412900
movzx eax, ax
test eax, 0x100
je 0x464ec9
or bl, 8
movzx eax, bl
movzx ecx, bh
shl eax, 8
pop esi
or eax, ecx
pop ebx
ret
Function at 0x4663f0
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x14
push esi
mov esi, dword [esp + 0x1c]
push edi
mov dword [esp + 8], CreateStatusWindowA
movzx eax, byte [esi + 4]
add eax, 0xfffffff7
cmp eax, 8
ja case.0x466411.12
jmp dword [eax*4 + 0x46650c]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x19f
push dword [esi]
call edi
cmp eax, 0xffffffff
je 0x4664b7
lea ecx, [esp + 8]
push ecx
push eax
push 0x198
push dword [esi]
call edi
jmp 0x4664b7
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 1
push 0xffffffffffffffff
push 0x100c
push dword [esi]
call edi
cmp eax, 0xffffffff
je 0x4664b7
lea ecx, [esp + 8]
mov dword [esp + 8], 2
push ecx
push eax
push 0x100e
push dword [esi]
call edi
jmp 0x4664b7
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 9
push 0x110a
push dword [esi]
call edi
test eax, eax
je 0x4664b7
mov dword [esp + 8], eax
lea eax, [esp + 8]
push eax
push 1
push 0x1104
push dword [esi]
call edi
jmp 0x4664b7
lea eax, [esp + 8]
push eax
push 0
push 0x419
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [esp + 8], 0x80000000
je case.0x466411.12
push 2
lea eax, [esp + 0xc]
push eax
push 0
push dword [esi]
call dword [sym.imp.USER32.dll_MapWindowPoints]
jmp 0x4664e1
lea eax, [esp + 8]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 8]
pop edi
mov dword [esi], eax
mov eax, dword [esp + 0x10]
sub eax, dword [esp + 8]
cdq
sub eax, edx
sar eax, 1
add eax, 2
add eax, dword [esp + 8]
mov dword [esi + 4], eax
pop esi
add esp, 0x14
ret 8
Function at 0x466a40
Capabilities:
Get keyboard layout

Disassembly:
sub esp, 8
push esi
push edi
mov edi, edx
mov esi, ecx
mov dword [esp + 0xc], edi
lea ecx, [ecx]
mov al, byte [esi]
cmp al, 0x20
je 0x466a5a
cmp al, 9
jne 0x466a5d
inc esi
jmp 0x466a50
mov al, byte [esi]
test al, al
jne 0x466a69
pop edi
pop esi
add esp, 8
ret
cmp byte [esi + 1], 0
lea ecx, [esi + 1]
jne 0x466a84
movzx eax, al
mov word [edi + 2], ax
mov al, 1
mov byte [edi], 0
pop edi
pop esi
add esp, 8
ret
push ebx
push ebp
push 0x2b
xor bl, bl
mov byte [edi], 1
push ecx
mov byte [esp + 0x1b], bl
call fcn.004855e4
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x466b3e
lea edi, [ebp - 1]
cmp edi, esi
jbe 0x466abf
jmp 0x466ab0
mov al, byte [edi]
cmp al, 0x20
je 0x466aba
cmp al, 9
jne 0x466abf
dec edi
cmp edi, esi
ja 0x466ab0
sub edi, esi
inc edi
push edi
push str.Ctrl
push esi
call fcn.00484c8d
add esp, 0xc
test eax, eax
jne 0x466ada
or bl, 1
jmp 0x466b08
push edi
push 0x49cbf8
push esi
call fcn.00484c8d
add esp, 0xc
test eax, eax
jne 0x466af2
or bl, 4
jmp 0x466b08
push edi
push str.Shift
push esi
call fcn.00484c8d
add esp, 0xc
test eax, eax
jne 0x466b6d
or bl, 0x10
mov byte [esp + 0x13], bl
lea esi, [ebp + 1]
nop
mov al, byte [esi]
cmp al, 0x20
je 0x466b1a
cmp al, 9
jne 0x466b1d
inc esi
jmp 0x466b10
cmp byte [esi], 0
je 0x466b6d
lea eax, [esi + 1]
push 0x2b
push eax
call fcn.004855e4
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x466aa4
mov edi, dword [esp + 0x14]
cmp byte [esi + 1], 0
jne 0x466b77
push 1
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
movzx eax, byte [esi]
push eax
call dword [sym.imp.USER32.dll_CharLowerA]
lea edx, [esp + 0x1b]
mov cl, al
call fcn.00412420
mov bl, byte [esp + 0x1b]
add esp, 8
jmp 0x466b8f
pop ebp
pop ebx
pop edi
xor al, al
pop esi
add esp, 8
ret
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
push ecx
push 0
xor edx, edx
mov ecx, esi
call fcn.00412340
add esp, 0xc
movzx eax, al
mov word [edi + 2], ax
test bl, 1
je 0x466b9e
or byte [edi], 8
test bl, 4
je 0x466ba6
or byte [edi], 0x10
test bl, 0x10
je 0x466bae
or byte [edi], 4
cmp word [edi + 2], 0
pop ebp
pop ebx
pop edi
setne al
pop esi
add esp, 8
ret
Function at 0x46cad0
Capabilities:
Set current directory

Disassembly:
push 0xffffffffffffffff
push 0x496e58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
mov ebx, ecx
mov dword [esp + 8], 0
push ebp
push esi
xor edx, edx
mov dword [esp + 0x14], ebx
mov ecx, dword [ebx + 4]
lea esi, [esp + 0x14]
mov eax, dword [ebx + 8]
push edi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
mov dword [ebx + 4], esi
mov dword [esp + 0x34], edx
test eax, eax
jle 0x46cbfe
mov ebp, dword [esp + 0x44]
cmp edx, ebp
jl 0x46cb66
cmp dword [0x4ad0dc], 0
mov ecx, 0x3a
mov eax, dword [0x4aa1d8]
mov esi, 0x4acec8
mov edi, eax
xorps xmm0, xmm0
rep movsd dword es:[edi], dword [esi]
mov dword [eax + 0x2c], 0
movlpd qword [0x4aefc8], xmm0
je 0x46cb62
push 0x4acfc0
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov edx, dword [esp + 0x20]
mov eax, dword [ebx]
lea ecx, [edx + edx*2]
push 0
mov ecx, dword [eax + ecx*4]
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x48]
mov edx, ecx
push dword [esp + 0x48]
push str.call
call fcn.00469810
add esp, 0x14
test eax, eax
je 0x46cbdc
cmp dword [esp + 0x14], 0
jne 0x46cbb7
mov edx, dword [esp + 0x20]
inc edx
mov dword [esp + 0x20], edx
cmp edx, dword [esp + 0x24]
jl 0x46cb25
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [ecx + 4], edx
jmp 0x46cc01
mov ecx, dword [esp + 0x18]
mov eax, 3
mov edx, dword [esp + 0x1c]
mov dword [ecx + 4], edx
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 0xc
mov ecx, dword [esp + 0x18]
xor eax, eax
mov edx, dword [esp + 0x1c]
mov dword [ecx + 4], edx
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 0xc
mov dword [ebx + 4], ecx
mov ecx, dword [esp + 0x2c]
mov eax, 1
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x28
ret 0xc
Function at 0x46df00
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x10110
call fcn.004918b0
push esi
mov esi, dword [esp + 0x10124]
test esi, esi
je 0x46df1b
cmp byte [esi], 0
jne 0x46df20
mov esi, str.ERROR
lea eax, [esp + 8]
mov byte [esp + 0x114], 0
push eax
lea eax, [esp + 0x10]
mov byte [esp + 0xb], 0
push eax
push 0x104
push dword [esp + 0x10124]
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
mov edx, dword [esp + 0x10120]
mov eax, dword [esp + 0x1011c]
cmp byte [edx], 0
je 0x46dfa4
cmp byte [eax], 0
lea ecx, [esp + 7]
cmovne ecx, eax
lea eax, [esp + 0xc]
push eax
push 0xffff
lea eax, [esp + 0x11c]
push eax
push esi
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [0x4ae860]
lea eax, [esp + 0x114]
push 1
push 0
push 0xffffffffffffffff
push eax
call fcn.004744e0
pop esi
add esp, 0x10110
ret 0x10
cmp byte [eax], 0
je 0x46dfc4
lea ecx, [esp + 0xc]
push ecx
push 0xffff
lea ecx, [esp + 0x11c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionA]
jmp 0x46dfdc
lea eax, [esp + 0xc]
push eax
push 0xffff
lea eax, [esp + 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesA]
test eax, eax
je 0x46df81
lea eax, [esp + 0x114]
cmp byte [eax], 0
jne 0x46dff5
cmp byte [eax + 1], 0
je 0x46df81
mov byte [eax], 0xa
inc eax
jmp 0x46dfe7
Function at 0x46e820
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
sub esp, 0x114
push ebx
push ebp
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
lea eax, [esp + 0x10]
push esi
push edi
push eax
push 0
push 0
push 0
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0xff
push eax
lea eax, [esp + 0x34]
mov edi, ecx
push eax
push 0
push edi
call ebx
cmp eax, 0x103
je 0x46e8d7
mov ebp, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
lea eax, [esp + 0x14]
push eax
mov eax, dword [0x4aa1d8]
mov eax, dword [eax + 0xb0]
or eax, 0x20019
push eax
push 0
lea eax, [esp + 0x2c]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x46e8e4
mov ecx, dword [esp + 0x14]
call fcn.0046e820
push dword [esp + 0x14]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x46e8e4
lea eax, [esp + 0x20]
push eax
push edi
call ebp
mov esi, eax
test esi, esi
jne 0x46e8e4
lea eax, [esp + 0x18]
mov dword [esp + 0x10], 0xff
push eax
push esi
push esi
push esi
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x34]
push eax
push esi
push edi
call ebx
cmp eax, 0x103
jne 0x46e861
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x114
ret
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x114
ret

Function at 0x46e900
Capabilities:
Delete registry key
Delete registry value

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, dword [esp + 0x14]
mov dword [esp + 0xc], ecx
push esi
push edi
test ebp, ebp
je 0x46e9f6
mov edi, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
test edi, edi
je 0x46e928
cmp byte [edi], 0
jne 0x46e930
test ebx, ebx
je 0x46e9f6
lea eax, [esp + 0x1c]
push eax
mov eax, dword [0x4aa1d8]
mov eax, dword [eax + 0xb0]
or eax, 0x2001f
push eax
push 0
push edi
push ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x46e9fb
test ebx, ebx
jne 0x46e9dd
mov ecx, dword [esp + 0x1c]
call fcn.0046e820
push dword [esp + 0x1c]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x46e9fb
mov eax, dword [0x4b06b0]
test al, 1
jne 0x46e9ad
push str.RegDeleteKeyExA
or eax, 1
push str.advapi32
mov dword [0x4b06b0], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
mov dword [0x4b06b4], ecx
jmp 0x46e9b3
mov ecx, dword [0x4b06b4]
mov eax, dword [0x4aa1d8]
mov eax, dword [eax + 0xb0]
test eax, eax
je 0x46e9d1
test ecx, ecx
je 0x46e9d1
push 0
push eax
push edi
push ebp
call ecx
mov esi, eax
jmp 0x46e9fb
push edi
push ebp
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov esi, eax
jmp 0x46e9fb
push ebx
push dword [esp + 0x20]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push dword [esp + 0x1c]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x46e9fb
mov esi, 0x57
mov ecx, dword [esp + 0x14]
test esi, esi
push esi
setne al
movzx eax, al
push eax
call fcn.0042cb40
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc