joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4512f0
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 [0x4b0840]
push 0
call fcn.004759c0
mov esi, dword [esp + 0x98]
test esi, esi
je 0x451471
cmp byte [esi], 0
je 0x451471
push ebp
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
mov ebp, eax
test ebp, ebp
jne 0x451390
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x4ac1d8]
test byte [ecx + 0xe0], 1
mov dword [ecx + 0x30], eax
jne 0x451371
mov ecx, dword [0x4af094]
push 1
push ebp
push 0xffffffffffffffff
push 0x4a09f8
call fcn.004759c0
pop ebp
pop esi
pop ebx
add esp, 0x8c
ret 4
push 0x49e065
push 0
push 0x4a09f8
mov ecx, ebx
call fcn.0042ddd0
pop ebp
pop esi
pop ebx
add esp, 0x8c
ret 4
push edi
push ebp
call fcn.00485a15
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 0x451445
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x14]
push eax
push 0x4a1034
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueA]
test eax, eax
je 0x451445
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.00472ab0
push edi
call fcn.004858b4
mov eax, dword [0x4ac1d8]
add esp, 0x20
mov ecx, dword [0x4af094]
push 1
push 0
push 0xffffffffffffffff
push 0x49e080
mov dword [eax + 0x30], 0
call fcn.004759c0
mov ecx, dword [0x4b0840]
lea eax, [esp + 0x1c]
push 1
push 0
push 0xffffffffffffffff
push eax
call fcn.004759c0
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x8c
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x4ac1d8]
push edi
mov dword [ecx + 0x30], eax
call fcn.004858b4
add esp, 4
mov ecx, ebx
call fcn.00430720
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x8c
ret 4
mov eax, dword [0x4ac1d8]
test byte [eax + 0xe0], 1
mov dword [eax + 0x30], 0x57
jne 0x4514a7
mov ecx, dword [0x4af094]
push 1
push 0
push 0xffffffffffffffff
push 0x4a09f8
call fcn.004759c0
pop esi
pop ebx
add esp, 0x8c
ret 4
push 0x49e065
push 0
push 0x4a09f8
mov ecx, ebx
call fcn.0042ddd0
pop esi
pop ebx
add esp, 0x8c
ret 4
Function at 0x4514d0
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 0x4514f8
sub ecx, edx
je 0x45150e
cmp byte [esp + ecx + 0x2b], 0x5c
jne 0x45150e
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 0x451530
sub ecx, edx
je 0x45154c
cmp byte [esp + ecx + 0x133], 0x5c
jne 0x45154c
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 0x45157f
test al, 0x10
je 0x45157f
lea eax, [esp + 0x134]
push eax
call esi
cmp eax, 0xffffffff
je 0x45158a
test al, 0x10
je 0x45158a
cmp byte [esp + 0x240], 0
jne 0x45159a
pop edi
xor al, al
pop esi
add esp, 0x234
ret
lea ecx, [esp + 0x134]
call fcn.00451ee0
test al, al
je 0x45157f
lea ecx, [esp + 0x2c]
dec ecx
nop
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x4515a0
mov eax, dword [str..]
mov dword [ecx], eax
mov al, byte [0x4a5184]
mov byte [ecx + 4], al
lea ecx, [esp + 0x2c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4515c0
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 0x4515d7
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 0x451650
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 0x451678
sub ecx, edx
je 0x45168e
cmp byte [esp + ecx + 0x2b], 0x5c
jne 0x45168e
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 0x4516b0
sub ecx, edx
je 0x4516cc
cmp byte [esp + ecx + 0x133], 0x5c
jne 0x4516cc
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 0x4517f2
test al, 0x10
je 0x4517f2
lea eax, [esp + 0x134]
push eax
call esi
mov esi, dword [esp + 0x240]
cmp eax, 0xffffffff
je 0x451716
test al, 0x10
je 0x4517f2
cmp esi, 1
je 0x451716
cmp esi, 2
jne 0x4517f2
lea edx, [esp + 0x134]
lea ecx, [esp + 0x2c]
call fcn.00451ff0
lea ecx, [esp + 0x2c]
test al, al
je 0x45175b
push 1
lea edx, [esp + 0x138]
call fcn.004514d0
add esp, 4
test al, al
je 0x4517f2
mov dl, 1
lea ecx, [esp + 0x2c]
call fcn.00451800
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 0x451760
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 0x451777
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 0x4517d9
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 0x451800
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 0x451826
sub ecx, edx
je 0x45183c
cmp byte [esp + ecx + 0x27], 0x5c
jne 0x45183c
mov byte [esp + ecx + 0x27], al
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4518e7
test al, 0x10
je 0x4518e7
test bl, bl
jne 0x451874
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 0x451880
mov al, byte [ecx]
inc ecx
test al, al
jne 0x451880
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 0x451ee0
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 0x451f66
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub eax, 2
je 0x451f51
dec eax
jne 0x451f73
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x451f06
sub ecx, edx
cmp ecx, 0x104
ja 0x451f73
lea eax, [ecx + 1]
call fcn.004903b0
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 0x451f27
push 0x5c
push edi
call fcn.00487e3e
add esp, 8
test eax, eax
je 0x451f73
mov ecx, edi
mov byte [eax], 0
call fcn.00451ee0
test al, al
je 0x451f73
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 0x451f73
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 0x451f80
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub esp, 0x148
push esi
mov esi, ecx
push 0x2a
push esi
call fcn.00486ac4
add esp, 8
test eax, eax
jne 0x451fbc
push 0x3f
push esi
call fcn.00486ac4
add esp, 8
test eax, eax
jne 0x451fbc
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 0x451fd7
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 0x452100
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 0x452124
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 0x45211d
push eax
push esi
call dword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
pop esi
setne al
add esp, 0x18
ret
Function at 0x463700
Capabilities:
Hide graphical window

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

Function at 0x463720
Capabilities:
Hide graphical window

Disassembly:
cmp dword [ecx + 0x24], 0
jne 0x46373c
mov eax, dword [ecx + 4]
test eax, eax
je 0x463751
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 0x463790
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 0x463903
xor edi, edi
cmp dword [esi + 0x10], edi
jbe 0x4637d9
xor ebx, ebx
lea esp, [esp]
mov eax, dword [esi + 0x18]
add eax, ebx
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x4637d0
cmp byte [eax + 4], 6
je 0x4637d0
push str.Submit
push eax
push ecx
mov ecx, esi
call fcn.004639c0
inc edi
add ebx, 0x14
cmp edi, dword [esi + 0x10]
jb 0x4637b0
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 0x463811
mov eax, dword [esi + 0x18]
push 0xfffffffffffffff0
push dword [eax + ecx]
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, 0x20000
je 0x463860
mov eax, dword [esp + 0x10]
cmp edi, 1
jne 0x463845
cmp ebp, edi
jle 0x463845
xor ecx, ecx
cmp eax, 0xffffffff
push 0xa
cmove eax, ecx
lea ecx, [esp + 0x24]
push ecx
push eax
call fcn.00485828
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x2c]
add esp, 0xc
push edi
push 0
push 0xffffffffffffffff
push eax
call fcn.004759c0
cmp ebx, dword [esi + 0x10]
je 0x4638f1
xor ecx, ecx
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], ecx
xor ebp, ebp
jmp 0x463864
mov ecx, dword [esp + 0x14]
mov eax, dword [esi + 0x18]
mov edx, dword [esp + 0x18]
cmp byte [eax + edx + 4], 6
jne 0x4638d4
mov edi, dword [eax + edx + 8]
inc ebp
test edi, edi
je 0x463884
inc ecx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], ecx
push 0
push 0
push 0xf0
push dword [eax + edx]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 1
jne 0x4638be
cmp dword [esp + 0x10], 0
mov eax, ebp
mov ecx, 0xffffffff
cmovne eax, ecx
mov dword [esp + 0x10], eax
test edi, edi
je 0x4638d8
push 1
push 0
push ecx
push 0x4a09f8
jmp 0x4638cd
test edi, edi
je 0x4638d4
push 1
push 0
push 0xffffffffffffffff
push 0x49e080
mov ecx, edi
call fcn.004759c0
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 0x4637f6
cmp byte [esp + 0x44], 0
je 0x463903
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 0x466330
Capabilities:
Get keyboard layout

Disassembly:
push ebx
push esi
mov esi, ecx
xor bl, bl
mov al, byte [esi]
test al, al
je 0x466361
lea esp, [esp]
cmp al, 0x21
je 0x466356
cmp al, 0x2b
je 0x466351
cmp al, 0x5e
jne 0x466361
or bl, 2
jmp 0x466359
or bl, 1
jmp 0x466359
or bl, 4
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x466340
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
push ecx
push 0
xor edx, edx
mov ecx, esi
call fcn.004134c0
mov bh, al
add esp, 0xc
test bh, bh
jne 0x466384
pop esi
xor eax, eax
pop ebx
ret
mov ecx, esi
call fcn.00413410
movzx eax, ax
test ax, ax
jne 0x46639f
xor dl, dl
mov cl, bh
call fcn.00413a80
movzx eax, ax
test eax, 0x100
je 0x4663a9
or bl, 8
movzx eax, bl
movzx ecx, bh
shl eax, 8
pop esi
or eax, ecx
pop ebx
ret
Function at 0x4678d0
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.0x4678f1.12
jmp dword [eax*4 + 0x4679ec]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x19f
push dword [esi]
call edi
cmp eax, 0xffffffff
je 0x467997
lea ecx, [esp + 8]
push ecx
push eax
push 0x198
push dword [esi]
call edi
jmp 0x467997
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 1
push 0xffffffffffffffff
push 0x100c
push dword [esi]
call edi
cmp eax, 0xffffffff
je 0x467997
lea ecx, [esp + 8]
mov dword [esp + 8], 2
push ecx
push eax
push 0x100e
push dword [esi]
call edi
jmp 0x467997
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 9
push 0x110a
push dword [esi]
call edi
test eax, eax
je 0x467997
mov dword [esp + 8], eax
lea eax, [esp + 8]
push eax
push 1
push 0x1104
push dword [esi]
call edi
jmp 0x467997
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.0x4678f1.12
push 2
lea eax, [esp + 0xc]
push eax
push 0
push dword [esi]
call dword [sym.imp.USER32.dll_MapWindowPoints]
jmp 0x4679c1
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 0x467f20
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 0x467f3a
cmp al, 9
jne 0x467f3d
inc esi
jmp 0x467f30
mov al, byte [esi]
test al, al
jne 0x467f49
pop edi
pop esi
add esp, 8
ret
cmp byte [esi + 1], 0
lea ecx, [esi + 1]
jne 0x467f64
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.00486ac4
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x46801e
lea edi, [ebp - 1]
cmp edi, esi
jbe 0x467f9f
jmp 0x467f90
mov al, byte [edi]
cmp al, 0x20
je 0x467f9a
cmp al, 9
jne 0x467f9f
dec edi
cmp edi, esi
ja 0x467f90
sub edi, esi
inc edi
push edi
push str.Ctrl
push esi
call fcn.0048616d
add esp, 0xc
test eax, eax
jne 0x467fba
or bl, 1
jmp 0x467fe8
push edi
push 0x49efd0
push esi
call fcn.0048616d
add esp, 0xc
test eax, eax
jne 0x467fd2
or bl, 4
jmp 0x467fe8
push edi
push str.Shift
push esi
call fcn.0048616d
add esp, 0xc
test eax, eax
jne 0x46804d
or bl, 0x10
mov byte [esp + 0x13], bl
lea esi, [ebp + 1]
nop
mov al, byte [esi]
cmp al, 0x20
je 0x467ffa
cmp al, 9
jne 0x467ffd
inc esi
jmp 0x467ff0
cmp byte [esi], 0
je 0x46804d
lea eax, [esi + 1]
push 0x2b
push eax
call fcn.00486ac4
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x467f84
mov edi, dword [esp + 0x14]
cmp byte [esi + 1], 0
jne 0x468057
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.004135a0
mov bl, byte [esp + 0x1b]
add esp, 8
jmp 0x46806f
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.004134c0
add esp, 0xc
movzx eax, al
mov word [edi + 2], ax
test bl, 1
je 0x46807e
or byte [edi], 8
test bl, 4
je 0x468086
or byte [edi], 0x10
test bl, 0x10
je 0x46808e
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 0x46dfb0
Capabilities:
Set current directory

Disassembly:
push 0xffffffffffffffff
push 0x498338
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 0x46e0de
mov ebp, dword [esp + 0x44]
cmp edx, ebp
jl 0x46e046
cmp dword [0x4af0a8], 0
mov ecx, 0x3a
mov eax, dword [0x4ac1d8]
mov esi, 0x4aee98
mov edi, eax
xorps xmm0, xmm0
rep movsd dword es:[edi], dword [esi]
mov dword [eax + 0x2c], 0
movlpd qword [0x4b0fb8], xmm0
je 0x46e042
push 0x4aef88
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.0046acf0
add esp, 0x14
test eax, eax
je 0x46e0bc
cmp dword [esp + 0x14], 0
jne 0x46e097
mov edx, dword [esp + 0x20]
inc edx
mov dword [esp + 0x20], edx
cmp edx, dword [esp + 0x24]
jl 0x46e005
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [ecx + 4], edx
jmp 0x46e0e1
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 0x46f3e0
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x10110
call fcn.00492d90
push esi
mov esi, dword [esp + 0x10124]
test esi, esi
je 0x46f3fb
cmp byte [esi], 0
jne 0x46f400
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 0x46f484
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 [0x4b0840]
lea eax, [esp + 0x114]
push 1
push 0
push 0xffffffffffffffff
push eax
call fcn.004759c0
pop esi
add esp, 0x10110
ret 0x10
cmp byte [eax], 0
je 0x46f4a4
lea ecx, [esp + 0xc]
push ecx
push 0xffff
lea ecx, [esp + 0x11c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionA]
jmp 0x46f4bc
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 0x46f461
lea eax, [esp + 0x114]
cmp byte [eax], 0
jne 0x46f4d5
cmp byte [eax + 1], 0
je 0x46f461
mov byte [eax], 0xa
inc eax
jmp 0x46f4c7
Function at 0x46fd00
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 0x46fdb7
mov ebp, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
lea eax, [esp + 0x14]
push eax
mov eax, dword [0x4ac1d8]
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 0x46fdc4
mov ecx, dword [esp + 0x14]
call fcn.0046fd00
push dword [esp + 0x14]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x46fdc4
lea eax, [esp + 0x20]
push eax
push edi
call ebp
mov esi, eax
test esi, esi
jne 0x46fdc4
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 0x46fd41
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 0x46fde0
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 0x46fed6
mov edi, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
test edi, edi
je 0x46fe08
cmp byte [edi], 0
jne 0x46fe10
test ebx, ebx
je 0x46fed6
lea eax, [esp + 0x1c]
push eax
mov eax, dword [0x4ac1d8]
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 0x46fedb
test ebx, ebx
jne 0x46febd
mov ecx, dword [esp + 0x1c]
call fcn.0046fd00
push dword [esp + 0x1c]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x46fedb
mov eax, dword [0x4b26e0]
test al, 1
jne 0x46fe8d
push str.RegDeleteKeyExA
or eax, 1
push str.advapi32
mov dword [0x4b26e0], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
mov dword [0x4b26e4], ecx
jmp 0x46fe93
mov ecx, dword [0x4b26e4]
mov eax, dword [0x4ac1d8]
mov eax, dword [eax + 0xb0]
test eax, eax
je 0x46feb1
test ecx, ecx
je 0x46feb1
push 0
push eax
push edi
push ebp
call ecx
mov esi, eax
jmp 0x46fedb
push edi
push ebp
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov esi, eax
jmp 0x46fedb
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 0x46fedb
mov esi, 0x57
mov ecx, dword [esp + 0x14]
test esi, esi
push esi
setne al
movzx eax, al
push eax
call fcn.0042e020
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc