joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45c3c8
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45c573
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45c554
mov dl, 1
mov eax, dword [0x416448]
call fcn.00403c4c
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404a08
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45c543
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.00449e50
test al, al
je 0x45c536
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x45c584
lea eax, [ebp - 0x254]
call fcn.00409f38
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x45c536
xor eax, eax
push ebp
push 0x45c52f
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x45c5bc
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
jne 0x45c518
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404c78
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x45c518
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404c78
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45c536
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45c439
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041a260
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45c57a
lea eax, [ebp - 0x260]
call fcn.00404a08
ret

Function at 0x45cebc
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x478be0]
cmp byte [eax + 0xa5], 0
jne 0x45cf2d
cmp dword [0x478bf8], 0
jne 0x45ceee
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
push 0
mov eax, 0x45ce78
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x478bf8], eax
cmp dword [0x478bf4], 0
jne 0x45cf09
push 0
push 0
push 0
push 0
call sub.KERNEL32.DLL_CreateEventA
mov dword [0x478bf4], eax
cmp dword [0x478bfc], 0
jne 0x45cf2d
push esp
push 0
push 0
push 0x45ce1c
push 0x3e8
push 0
call sub.KERNEL32.DLL_CreateThread
mov dword [0x478bfc], eax
pop edx
ret
Function at 0x45d5c0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x478be0]
cmp dword [eax + 0x30], 0
je 0x45d66a
cmp dword [ebx + 0x94], 0
jne 0x45d664
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45d550
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45d664
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x45d62a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45d664
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00418394
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45d639
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45e1c8
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x45e1fd
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404af8
jmp 0x45e20a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404a5c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45f3c4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45f405
mov eax, esi
call fcn.00445438
test al, al
je 0x45f405
mov eax, dword [ebx + 0x84]
call fcn.00445134
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45f405
push 0
mov eax, dword [ebx + 0x84]
call fcn.00445134
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x46c498
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x46c524
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x46c53c
lea eax, [ebp - 8]
mov edx, esi
call fcn.00404c6c
push dword [ebp - 8]
push 0x46c53c
lea eax, [ebp - 4]
mov edx, 3
call fcn.00404d88
mov edx, dword [ebp - 4]
mov eax, ebx
mov ecx, 0xff
call fcn.00404ca4
xor edx, edx
mov dl, byte [ebx]
dec edx
sub edx, 2
jl 0x46c4ff
inc edx
lea eax, [ebx + 2]
mov cl, byte [eax]
xor cl, 0x55
mov byte [eax], cl
inc eax
dec edx
jne 0x46c4f4
dec byte [ebx + 1]
xor eax, eax
mov al, byte [ebx]
dec byte [ebx + eax]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46c52b
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404a2c
ret

Function at 0x46c8d8
Capabilities:
Check os version

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffd4
mov ebp, edx
mov edi, eax
xor ebx, ebx
cmp dword [0x478c58], 0
jne 0x46c974
mov eax, dword [0x477b70]
cmp dword [eax], 2
jne 0x46c9e1
call sub.KERNEL32.DLL_GetVersion
and eax, 0xff
cmp ax, 5
jb 0x46c9e1
push 0x46c9ec
call sub.KERNEL32.DLL_GetModuleHandleA
mov esi, eax
push 0x46c9fc
push esi
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x478c58], eax
push 0x46ca10
push esi
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x478c5c], eax
push 0x46ca28
push esi
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x478c60], eax
cmp dword [0x478c5c], 0
je 0x46c96b
cmp dword [0x478c58], 0
je 0x46c96b
cmp dword [0x478c60], 0
jne 0x46c974
xor eax, eax
mov dword [0x478c58], eax
jmp 0x46c9e1
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 0x28
call fcn.0040355c
push 3
push 1
push 0x10000000
push ebp
lea eax, [esp + 0x14]
push eax
call dword [0x478c60]
xor eax, eax
mov dword [esp], eax
push esp
push 0
lea eax, [esp + 0xc]
push eax
push 1
call dword [0x478c58]
test eax, eax
je 0x46c9bd
mov eax, dword [esp]
push eax
call sub.KERNEL32.DLL_LocalFree
jmp 0x46c9e1
push 0
mov eax, dword [esp + 4]
push eax
push 0
push 0
push 4
push 1
push edi
call dword [0x478c5c]
test eax, eax
sete bl
mov eax, dword [esp]
push eax
call sub.KERNEL32.DLL_LocalFree
mov eax, ebx
add esp, 0x2c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x46ca48
Capabilities:
Check os version

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [0x477b70]
cmp dword [eax], 2
jne 0x46ca65
call sub.KERNEL32.DLL_GetVersion
and eax, 0xff
cmp ax, 5
jae 0x46ca69
mov al, 1
pop ebx
ret
cmp dword [0x477650], 0
je 0x46ca83
mov edx, dword [0x477650]
mov eax, ebx
call fcn.0046c8d8
test al, al
jne 0x46caf5
mov edx, 0x46caf8
mov eax, ebx
call fcn.0046c8d8
test al, al
je 0x46caa0
mov edx, 0x46caf8
mov dword [0x477650], edx
pop ebx
ret
mov edx, 0x46cb04
mov eax, ebx
call fcn.0046c8d8
test al, al
je 0x46cabd
mov edx, 0x46cb04
mov dword [0x477650], edx
pop ebx
ret
mov edx, 0x46cb0c
mov eax, ebx
call fcn.0046c8d8
test al, al
je 0x46cada
mov edx, 0x46cb0c
mov dword [0x477650], edx
pop ebx
ret
mov edx, 0x46cb14
mov eax, ebx
call fcn.0046c8d8
test al, al
je 0x46caf5
mov edx, 0x46cb14
mov dword [0x477650], edx
pop ebx
ret
Function at 0x46da68
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404ec8
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
cmp eax, 0xffffffff
je 0x46da81
test al, 0x10
jne 0x46da85
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x46e194
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffef8
mov ebx, edx
push esp
push eax
mov eax, dword [0x4776a8]
push eax
call sub.shell32.dll_SHGetSpecialFolderLocation
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
mov eax, ebx
lea edx, [esp + 4]
mov ecx, 0x104
call fcn.00404c78
add esp, 0x108
pop ebx
ret

Function at 0x46e408
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffea4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x15c], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x46e563
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x46e574
call sub.KERNEL32.DLL_GetModuleHandleA
mov esi, eax
test esi, esi
je 0x46e53d
push 0x46e580
push esi
call sub.KERNEL32.DLL_GetProcAddress
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x46e53d
mov esi, dword [ebp - 0xc]
lea eax, [ebp - 8]
mov ecx, 0x46e5a0
mov edx, ebx
call fcn.00404d14
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x158]
call fcn.004031e8
call fcn.00402c8c
mov edx, 1
lea eax, [ebp - 0x158]
call fcn.004036a0
call fcn.00402c8c
test eax, eax
je 0x46e4ae
lea eax, [ebp - 0x158]
call fcn.00403380
jmp 0x46e53d
push 0x46e5b4
push edi
push 0x46e5dc
lea eax, [ebp - 4]
mov edx, 3
call fcn.00404d88
push 0
mov eax, dword [ebp - 4]
call fcn.00404cc8
push eax
lea eax, [ebp - 4]
call fcn.00404f20
mov edx, eax
lea eax, [ebp - 0x158]
pop ecx
call fcn.00403360
lea eax, [ebp - 0x158]
call fcn.00403380
mov edx, dword [ebp - 8]
mov eax, dword [0x4776c4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
push 0x86
mov eax, dword [ebp - 8]
call fcn.00404ec8
push eax
call sub.KERNEL32.DLL_SetFileAttributesA
lea eax, [ebp - 0x15c]
push eax
mov eax, ebx
call fcn.00404cc8
mov ecx, eax
dec ecx
mov edx, 1
mov eax, ebx
call fcn.00404f28
mov eax, dword [ebp - 0x15c]
call fcn.00404ec8
push eax
call esi
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46e56a
lea eax, [ebp - 0x15c]
call fcn.00404a08
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404a2c
ret

Function at 0x46f0bc
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
xor eax, eax
push ebp
push 0x46f135
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
cmp dword [0x4776a0], 0
je 0x46f11f
lea eax, [ebp - 4]
mov edx, dword [0x4776a0]
call fcn.00404aa0
cmp dword [0x4776a4], 0
je 0x46f10d
push dword [ebp - 4]
push 0x46f14c
push dword [0x4776a4]
lea eax, [ebp - 4]
mov edx, 3
call fcn.00404d88
push 5
mov eax, dword [ebp - 4]
call fcn.00404ec8
push eax
call sub.KERNEL32.DLL_WinExec
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46f13c
lea eax, [ebp - 4]
call fcn.00404a08
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
pop eax
nop
add eax, 0x403d6f
nop
nop
sub eax, 0x403d15
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp loc.00401219
Function at 0x42dd3f
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push 0x80
push 3
push ebx
push 7
push 0x80000000
push dword [ebp + 8]
lea ecx, [ebp - 8]
mov dword [ebp - 8], ebx
call fcn.00403b3c
cmp dword [ebp - 8], ebx
je 0x42dd84
push dword [ebp - 8]
call fcn.0042a969
mov edi, edx
cmp edi, ebx
pop ecx
mov esi, eax
jg 0x42dd88
jl 0x42dd84
cmp esi, ebx
jae 0x42dd88
xor esi, esi
xor edi, edi
lea ecx, [ebp - 4]
call fcn.0042adba
cmp edi, ebx
jl 0x42ddd2
jg 0x42dd9a
cmp esi, ebx
jbe 0x42ddd2
lea eax, [esi + 5]
push eax
lea ecx, [ebp - 4]
call fcn.0042adfe
push ebx
lea eax, [ebp - 0xc]
push eax
push esi
push dword [ebp - 4]
mov dword [ebp - 0xc], ebx
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp - 0xc]
xor eax, eax
cmp eax, edi
jl 0x42ddcc
jg 0x42ddca
cmp ecx, esi
jbe 0x42ddcc
mov ecx, esi
mov eax, dword [ebp - 4]
mov byte [ecx + eax], bl
mov ecx, dword [ebp + 0xc]
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp - 4]
call fcn.00409f00
lea ecx, [ebp - 4]
call fcn.0042602e
lea ecx, [ebp - 8]
call fcn.004029f8
pop edi
pop esi
pop ebx
leave
ret

Function at 0x42e26e
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
xor ebx, ebx
push ebx
push ebx
push 3
push ebx
push 7
push 0x80000000
push dword [ebp + 8]
lea ecx, [ebp - 4]
mov byte [ebp - 0x28], bl
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
call fcn.00403b3c
cmp dword [ebp - 4], ebx
je 0x42e2c2
push ebx
lea eax, [ebp - 8]
push eax
push 0x20
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
push dword [ebp - 8]
lea eax, [ebp - 0x28]
push eax
call fcn.004285d7
add esp, 0xc
mov bl, al
lea ecx, [ebp - 4]
call fcn.004029f8
mov al, bl
pop ebx
leave
ret
Function at 0x432a96
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, 0x104
push edi
mov ecx, esi
call fcn.0042aeff
mov eax, dword [esi]
and word [eax], 0
mov eax, dword [esi]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
push eax
push dword [esp + 0x18]
call edi
mov ebx, eax
test ebx, ebx
jle 0x432ae3
mov eax, dword [esi]
cmp word [eax], 0
jne 0x432ae3
lea eax, [ebx + 2]
push eax
mov ecx, esi
call fcn.0042aeff
inc ebx
push ebx
push dword [esi]
push dword [esp + 0x18]
call edi
pop edi
pop esi
pop ebx
ret

Function at 0x432ba5
Capabilities:
Get disk information
Get disk information via ioctl

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
cmp ax, 0x61
jb 0x432bbf
cmp ax, 0x7a
ja 0x432bbf
and eax, 0xffdf
push ebx
push esi
push 0x5c
pop ecx
xor ebx, ebx
push ebx
push ebx
push 3
push ebx
push 3
mov word [ebp - 0x1c], ax
mov word [ebp - 0x24], ax
push ebx
lea eax, [ebp - 0x2c]
push eax
mov word [ebp - 0x1a], 0x3a
mov word [ebp - 0x18], cx
mov word [ebp - 0x16], bx
mov word [ebp - 0x2c], cx
mov word [ebp - 0x2a], cx
mov word [ebp - 0x28], 0x2e
mov word [ebp - 0x26], cx
mov word [ebp - 0x22], 0x3a
mov word [ebp - 0x20], bx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x432c5e
push edi
push ebx
lea eax, [ebp - 0x30]
push eax
push 0xc
lea eax, [ebp - 0x40]
push eax
push ebx
push ebx
push 0x2d1080
push esi
mov dword [ebp - 0x30], ebx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, ebx
pop edi
je 0x432c5e
mov esi, dword [ebp - 0x3c]
cmp esi, 0xffffffff
je 0x432c5e
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
push eax
push esi
mov dword [ebp - 8], ebx
call fcn.00429bbb
cmp eax, ebx
pop ecx
pop ecx
jne 0x432c66
xor eax, eax
inc eax
jmp 0x432d03
push ebx
push eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x10], ebx
call dword [sym.imp.SETUPAPI.dll_CM_Get_Parent]
push ebx
push dword [ebp - 8]
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.SETUPAPI.dll_CM_Get_DevNode_Status]
mov eax, dword [ebp - 0x14]
shr eax, 0xe
and al, 1
mov byte [ebp - 1], al
mov dword [ebp - 0xc], 1
mov esi, 0x208
push ebx
push esi
cmp al, bl
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 8]
mov word [ebp - 0x248], bx
je 0x432cca
call dword [sym.imp.SETUPAPI.dll_CM_Request_Device_EjectW]
jmp 0x432cd0
call dword [sym.imp.SETUPAPI.dll_CM_Query_And_Remove_SubTreeW]
cmp eax, ebx
jne 0x432cd9
cmp dword [ebp - 0x10], ebx
je 0x432cf6
push 0xc8
mov ecx, 0x48feb8
call fcn.0040b352
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 3
jg 0x432cf8
mov al, byte [ebp - 1]
jmp 0x432ca7
mov bl, 1
neg bl
sbb ebx, ebx
and ebx, 0xfffffffe
inc ebx
inc ebx
mov eax, ebx
pop esi
pop ebx
leave
ret
Function at 0x43b18c
Capabilities:
Parse credit card information
Query environment variable

Disassembly:
push ebp
mov ebp, esp
cmp byte [ecx + 0x86], 0
jne 0x43b1a4
test byte [ecx + 0xb], 0xf
jne 0x43b1a4
pop ebp
jmp fcn.0043b094
pop ebp
jmp fcn.00439f58
Function at 0x43bafd
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov eax, esi
call fcn.00432ba5
and word [ebp - 0xc], 0
and word [ebp - 2], 0
mov ebx, eax
lea eax, [ebp - 8]
push eax
mov word [ebp - 0x18], 0x20
mov word [ebp - 0x16], 0x2a
mov word [ebp - 0x14], 0x20
mov word [ebp - 0x12], si
mov word [ebp - 0x10], 0x3a
mov word [ebp - 0xe], 0x2c
mov word [ebp - 8], si
mov word [ebp - 6], 0x3a
mov word [ebp - 4], 0x5c
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
je 0x43bb5d
cmp ebx, 2
je 0x43bb6d
push 0
lea eax, [ebp - 0x18]
push eax
mov ecx, 0x48feb8
call fcn.00438211
pop ebx
leave
ret
Function at 0x43d43f
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
dec eax
dec eax
push esi
je 0x43d527
sub eax, 0x80
je 0x43d4bc
sub eax, 0x8e
je 0x43d49e
dec eax
je 0x43d474
sub eax, 0x2ef
je 0x43d46d
pop esi
pop ebp
jmp fcn.0043d138
mov eax, 0x4d28
jmp 0x43d48a
movzx eax, word [ebp + 0x10]
cmp eax, 2
jne 0x43d48f
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
call dword [eax + 0x80]
xor eax, eax
pop esi
pop ebp
ret 0x10
cmp eax, 1
jne 0x43d488
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
call dword [eax + 0x7c]
jmp 0x43d488
mov esi, dword [ebp + 8]
push 0
push 0
push 0x400
push dword [esi + 0x18]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10]
jmp 0x43d48a
push dword [sym.imp.USER32.dll_DefWindowProcW]
mov esi, dword [ebp + 8]
push 0xfffffffffffffffc
push dword [esi + 0x18]
call dword [sym.imp.USER32.dll_SetWindowLongW]
cmp dword [esi + 0x30], 0
je 0x43d51f
test byte [esi + 0x4c], 1
je 0x43d51f
push ebx
push edi
mov edi, 0x49062c
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x30]
and dword [esi + 0x30], 0
mov ebx, dword [eax + 0x18]
dec dword [eax + 0x94]
push esi
mov esi, dword [sym.imp.USER32.dll_PostMessageW]
push eax
push 0x447
push ebx
call esi
push 0
push 0
push 0x43d
push ebx
call esi
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop ebx
xor eax, eax
inc eax
jmp 0x43d48a
mov eax, dword [ebp + 8]
test byte [eax + 0x4c], 0x10
je 0x43d488
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x43d51f
Function at 0x474105
Capabilities:
Accept command line arguments

Disassembly:
mov eax, dword [0x491028]
push ebp
xor ebp, ebp
cmp eax, ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetCommandLineW]
jne 0x474145
call esi
test eax, eax
je 0x47412a
mov dword [0x491028], 1
jmp 0x47414a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x474141
mov dword [0x491028], 2
jmp 0x474153
xor eax, eax
jmp 0x4741a1
cmp eax, 1
jne 0x47414e
call esi
jmp 0x4741a1
cmp eax, 2
jne 0x474141
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push ebp
push ebp
push 0xffffffffffffffff
mov ebx, eax
push ebx
push 1
push ebp
call edi
mov esi, eax
cmp esi, ebp
je 0x474199
lea eax, [esi + esi]
push eax
call fcn.004695b3
mov ebp, eax
test ebp, ebp
pop ecx
je 0x474199
push esi
push ebp
push 0xffffffffffffffff
push ebx
push 1
push 0
call edi
test eax, eax
jne 0x47419d
push ebp
call fcn.00469491
pop ecx
xor eax, eax
jmp 0x47419f
mov eax, ebp
pop edi
pop ebx
pop esi
pop ebp
ret
Function at 0x47631e
Capabilities:
Contain obfuscated stackstrings

Disassembly:
salc
mov byte [ebp - 0x12], 0xcd
out dx, al
int 0xc6
inc ebp
out dx, eax
retf
mov byte [ebp - 0x10], 0xca
mov byte [ebp - 0xf], 0xde
mov byte [ebp - 0xe], 0xd3
mov byte [ebp - 0xd], 0xf9
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf
call fcn.00475faf
push eax
push esi
push dword [ebp + 8]
call fcn.00475f64
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.00475faf
push eax
push esi
push dword [ebp + 8]
call fcn.00475f64
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.00475faf
push eax
push esi
push dword [ebp + 8]
call fcn.00475f64
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.00475f9f
mov bh, 0x76
test al, 0xaf
mov byte [ebp - 0x84], bl
mov byte [ebp - 0x83], bl
mov byte [ebp - 0x82], 0xe9
mov byte [ebp - 0x81], bl
mov byte [ebp - 0x80], 0x51
mov byte [ebp - 0x7f], 0x73
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
mov byte [ebp - 0x71], 0x57
mov byte [ebp - 0x70], 0x16
call fcn.00475f9f
rcl edx, 1
mov esi, 0x7c858d73
invalid