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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x479218
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x51bcbc], 0
jne 0x4791fc
lea eax, [ebp - 4]
mov edx, 0x479230
call fcn.00404dec
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00405204
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x4791fc
mov eax, ebx
call fcn.004027ec
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4791f5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
push ebx
mov eax, dword [ebp - 8]
push eax
push esi
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x4791df
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x479240
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4791df
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov dword [0x51bcbc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4791fc
mov eax, dword [ebp - 0xc]
call fcn.0040280c
ret
mov ebx, dword [0x51bcbc]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47921f
lea eax, [ebp - 4]
call fcn.00404d54
ret

Function at 0x4838bc
Capabilities:
Set global application hook

Disassembly:
cmp dword [0x51bce0], 0
jne 0x4838df
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x483830
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x51bce0], eax
ret
Function at 0x4901c8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x490428
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x49022b
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.0048fc90
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040df04
cmp al, 1
jne 0x49022b
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.0048ffa8
test al, al
je 0x4903b7
cmp dword [ebp - 8], 0
jge 0x490249
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.0048fc90
mov eax, dword [ebp - 0x210]
call fcn.0040500c
cmp ebx, eax
jge 0x490293
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.0048fc90
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x51a3d8]
and eax, 0xff
bt dword [edx], eax
jae 0x490293
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x4902a7
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004901a4
cmp ebx, dword [ebp - 8]
je 0x4903a9
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x4902d3
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00404160
and eax, 0x7f
movzx eax, word [eax*2 + 0x519128]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.user32.dll_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 1
xor eax, eax
push ebp
push 0x490396
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00404160
and eax, 0x7f
movzx eax, word [eax*2 + 0x519128]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.00451f34
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00404160
and eax, 0x7f
movzx eax, word [eax*2 + 0x519128]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.00451f34
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49039d
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 0
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x230], edx
jmp 0x49040a
cmp dword [ebp - 8], 0
jge 0x4903c2
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.0048fc90
mov eax, dword [ebp - 0x218]
call fcn.0040500c
cmp eax, dword [ebp - 8]
jg 0x4903fc
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.0048fc90
mov eax, dword [ebp - 0x21c]
call fcn.0040500c
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004901a4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49042f
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.00404d78
ret
Function at 0x49afb4
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x415228]
call fcn.00405a74
xor eax, eax
push ebp
push 0x49b0f8
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x519134], 0
jne 0x49b007
mov ecx, dword [0x519eb4]
mov dl, 1
mov eax, dword [0x40879c]
call fcn.0040d6f4
call fcn.00404730
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.004033d4
mov eax, ebx
call fcn.004056bc
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x49b108
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00406e20
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.004056cc
test eax, eax
jle 0x49b09f
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x49b098
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404fd4
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404fbc
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00409648
test eax, eax
jne 0x49b098
mov ebx, 0x15
jmp 0x49b0a4
mov ebx, 0x10
jmp 0x49b0a4
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x519134]
call fcn.0049af0c
mov eax, dword [ebp - 8]
call fcn.0049af0c
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00406e38
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49b0ff
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404d78
lea eax, [ebp - 0x10]
mov edx, dword [0x415228]
call fcn.00405b44
ret

Function at 0x4bf158
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x4bf186
mov eax, ebx
call fcn.004bfc10
cmp dword [ebx + 0x3c], 0
je 0x4bf17f
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x4bf1f7
mov edx, dword [ebx + 0x1ac]
cmp dword [edx + 0x10], 0
je 0x4bf1e9
cmp dword [ebx + 8], 0
je 0x4bf1a8
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1ac]
call dword [edx]
test eax, eax
jne 0x4bf1ba
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4bf1e9
cmp dword [ebx + 8], 0
je 0x4bf19b
cmp eax, 3
je 0x4bf1cd
dec eax
jne 0x4bf19b
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4bf19b
mov edx, dword [ebx + 0x138]
add dword [eax + 8], edx
jmp 0x4bf19b
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x4bf215
cmp dword [ebx + 0x10], 0xcc
je 0x4bf215
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x12
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004bf220
pop ebx
ret
Function at 0x4f09a4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], ecx
mov ebx, edx
xor eax, eax
push ebp
push 0x4f0b4e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
mov edx, 0x4f0b6c
call fcn.00405150
jne 0x4f09df
mov byte [ebp - 0x31], 0x10
jmp 0x4f0a05
mov eax, ebx
mov edx, 0x4f0b80
call fcn.00405150
jne 0x4f09f3
mov byte [ebp - 0x31], 8
jmp 0x4f0a05
mov eax, ebx
mov edx, 0x4f0b94
call fcn.00405150
jne 0x4f0a05
mov byte [ebp - 0x31], 2
mov byte [ebp - 0x4c], 0x30
mov byte [ebp - 0x4b], 0x31
mov byte [ebp - 0x4a], 0x32
mov byte [ebp - 0x49], 0x33
mov byte [ebp - 0x48], 0x34
mov byte [ebp - 0x47], 0x35
mov byte [ebp - 0x46], 0x36
mov byte [ebp - 0x45], 0x37
mov byte [ebp - 0x44], 0x38
mov byte [ebp - 0x43], 0x39
mov byte [ebp - 0x42], 0x61
mov byte [ebp - 0x41], 0x62
mov byte [ebp - 0x40], 0x63
mov byte [ebp - 0x3f], 0x64
mov byte [ebp - 0x3e], 0x65
mov byte [ebp - 0x3d], 0x66
lea eax, [ebp - 0x14]
call fcn.00404d54
mov eax, dword [ebp - 4]
call fcn.0040500c
test eax, eax
jle 0x4f0aad
mov dword [ebp - 0x38], eax
mov edi, 1
lea eax, [ebp - 0x150]
mov dword [ebp - 0x3c], eax
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.004094a4
xor esi, esi
lea ebx, [ebp - 0x4c]
mov eax, dword [ebp - 0x18]
mov al, byte [eax + edi - 1]
cmp al, byte [ebx]
jne 0x4f0a8f
lea edx, [ebp - 0x14]
mov eax, esi
call fcn.00409af8
inc esi
inc ebx
cmp esi, 0x10
jne 0x4f0a7a
mov eax, dword [ebp - 0x14]
call fcn.00409b9c
mov edx, dword [ebp - 0x3c]
mov dword [edx], eax
inc edi
add dword [ebp - 0x3c], 4
dec dword [ebp - 0x38]
jne 0x4f0a6a
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 4]
call fcn.0040500c
mov esi, eax
cmp esi, 1
jl 0x4f0b27
lea ebx, [ebp + esi*4 - 0x154]
push dword [ebp - 0x24]
push dword [ebp - 0x28]
mov eax, dword [ebx]
cdq
call fcn.00406048
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
xor eax, eax
mov al, byte [ebp - 0x31]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
call fcn.00406048
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
add eax, dword [ebp - 0x30]
adc edx, dword [ebp - 0x2c]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
dec esi
sub ebx, 4
test esi, esi
jne 0x4f0adf
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f0b55
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00404d78
ret
Function at 0x4f5c24
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, eax
push 0x90
call sub.user32.dll_GetKeyState
cmp ax, 0xff81
je 0x4f5c3d
cmp ax, 1
jne 0x4f5c5f
mov eax, dword [ebx + 0x35c]
mov eax, dword [eax + 0x208]
mov edx, 2
call fcn.0047b8ec
mov edx, 0x4f5db0
call fcn.0047b848
jmp 0x4f5c87
cmp ax, 0xff80
je 0x4f5c6a
test ax, ax
jne 0x4f5c87
mov eax, dword [ebx + 0x35c]
mov eax, dword [eax + 0x208]
mov edx, 2
call fcn.0047b8ec
xor edx, edx
call fcn.0047b848
push 0x14
call sub.user32.dll_GetKeyState
cmp ax, 0xff81
je 0x4f5c9a
cmp ax, 1
jne 0x4f5cbc
mov eax, dword [ebx + 0x35c]
mov eax, dword [eax + 0x208]
mov edx, 3
call fcn.0047b8ec
mov edx, 0x4f5dbc
call fcn.0047b848
jmp 0x4f5ce4
cmp ax, 0xff80
je 0x4f5cc7
test ax, ax
jne 0x4f5ce4
mov eax, dword [ebx + 0x35c]
mov eax, dword [eax + 0x208]
mov edx, 3
call fcn.0047b8ec
xor edx, edx
call fcn.0047b848
push 0x91
call sub.user32.dll_GetKeyState
cmp ax, 0xff81
je 0x4f5cfa
cmp ax, 1
jne 0x4f5d1c
mov eax, dword [ebx + 0x35c]
mov eax, dword [eax + 0x208]
mov edx, 4
call fcn.0047b8ec
mov edx, 0x4f5dcc
call fcn.0047b848
jmp 0x4f5d44
cmp ax, 0xff80
je 0x4f5d27
test ax, ax
jne 0x4f5d44
mov eax, dword [ebx + 0x35c]
mov eax, dword [eax + 0x208]
mov edx, 4
call fcn.0047b8ec
xor edx, edx
call fcn.0047b848
push 0x2d
call sub.user32.dll_GetKeyState
cmp ax, 0xff81
je 0x4f5d57
cmp ax, 1
jne 0x4f5d79
mov eax, dword [ebx + 0x35c]
mov eax, dword [eax + 0x208]
mov edx, 5
call fcn.0047b8ec
mov edx, 0x4f5ddc
call fcn.0047b848
pop ebx
ret
cmp ax, 0xff80
je 0x4f5d84
test ax, ax
jne 0x4f5da4
mov eax, dword [ebx + 0x35c]
mov eax, dword [eax + 0x208]
mov edx, 5
call fcn.0047b8ec
mov edx, 0x4f5df0
call fcn.0047b848
pop ebx
ret
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

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

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..pdata
nop
mov ebx, 0x408f6c
nop
nop
mov ecx, 0x39d26124
nop
nop
nop
test eax, eax
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..pdata_1
nop
mov ebx, 0x42e3d0
nop
mov ecx, 0xb003226
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x401136
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x412b30
push 0x40f760
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push 0xb75bffff
push 0x410dffff
call fcn.004027fb
pop ecx
pop ecx
add word [0x415302], ax
xor eax, eax
mov dword [ebp - 0x1c], eax
xor ecx, ecx
cmp byte [0x4152fb], al
setne cl
mov dword [0x415320], ecx
mov dword [ebp - 4], eax
call dword [0x415834]
test eax, 0x80000000
je 0x4011d8
mov al, byte [0x41530c]
add byte [0x4152fd], al
push ecx
push eax
or ecx, 0x3f8dffff
add eax, eax
pop eax
pop ecx
mov ecx, dword fs:[0x20]
push ecx
push ebx
push eax
or eax, 0x71a9ffff
and eax, ecx
imul ebx, ecx
pop eax
pop ebx
pop ecx
mov dword [ebp - 0x1c], ecx
push edx
push ebx
or edx, 0xda47ffff
dec ebx
pop ebx
pop edx
jmp 0x401239
inc dword [0x415324]
mov ecx, dword fs:[0x30]
push eax
sub eax, 0x8a91ffff
imul eax, eax
sub eax, 0x185dffff
pop eax
mov al, byte [ecx + 2]
push ebx
mov ebx, 0xe77bffff
pop ebx
movzx ecx, al
push edx
push eax
sub eax, edx
dec eax
pop eax
pop edx
mov dword [ebp - 0x1c], ecx
push edx
push ecx
push ebx
push eax
or ecx, ebx
sub eax, edx
or ebx, ebx
pop eax
pop ebx
pop ecx
pop edx
jmp 0x401239
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4014c9
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x412b50
push 0x40f760
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
xor ebx, ebx
mov byte [ebp - 0x24], bl
push 0x6163ffff
push dword [0x415338]
call fcn.00402831
pop ecx
pop ecx
add dword [0x41533c], eax
push 0x40
mov eax, 0x1000
push eax
push eax
push ebx
call dword [0x415818]
mov dword [ebp - 0x20], eax
movsx eax, byte [0x4152fe]
push eax
push 0x52bbffff
call fcn.004027fb
pop ecx
pop ecx
add byte [0x4152f9], al
mov esi, dword [0x4126d8]
mov al, byte [esi]
add al, 0x69
movzx eax, al
add eax, 3
and al, 0xfc
call fcn.0040f730
mov dword [ebp - 0x18], esp
mov eax, esp
push 5
push esi
push eax
call fcn.0040ea15
pop ecx
pop ecx
push eax
push dword [ebp - 0x20]
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov al, byte [0x415306]
imul byte [0x4152f8]
mov byte [0x415300], al
mov dword [ebp - 4], ebx
mov byte [0x415301], 1
pushal
push edx
inc edx
pop edx
mov ecx, dword [ebp - 0x20]
push ecx
push ebx
push eax
inc ebx
mov eax, ecx
pop eax
pop ebx
pop ecx
call ecx
popal
push edx
push ecx
push ebx
push eax
add ebx, 0xe279ffff
inc ecx
xor eax, edx
pop eax
pop ebx
pop ecx
pop edx
inc byte [ebp - 0x24]
push ecx
push ebx
xor ebx, ecx
and ebx, 0x3d87ffff
pop ebx
pop ecx
push 0xab65ffff
movsx eax, word [0x415308]
push eax
call fcn.00402831
pop ecx
pop ecx
mov dword [0x41531c], eax
jmp 0x4015e5
or dword [ebp - 4], 0xffffffff
movsx eax, byte [0x4152fa]
push eax
push 0x9821ffff
call fcn.004028bd
pop ecx
pop ecx
add dword [0x415328], eax
push 0x8000
push 0
push dword [ebp - 0x20]
call dword [0x41581c]
mov al, byte [0x415338]
push eax
call dword [sym.imp.USER32.dll_IsCharUpperA]
mov byte [0x415300], al
cmp byte [ebp - 0x24], 0
setne al
lea esp, [ebp - 0x30]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x402c9d
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb0
add dword [0x415320], 0x1b51ffff
push esi
xor esi, esi
mov dword [ebp - 8], ecx
cmp dword [ecx + 0x400], esi
mov dword [ebp - 4], esi
jne 0x402ccc
mov eax, dword [0x415850]
mov dword [ecx + 0x400], eax
push 0xd305ffff
push 0xb61ffff
call fcn.004026ee
add word [0x41530a], ax
push 0xb7ffff
push 0xcbd3ffff
call fcn.00402909
mov dword [0x415324], eax
mov eax, dword [ebp + 8]
add esp, 0x10
mov eax, dword [eax + 4]
cmp eax, esi
jne 0x402d08
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push esi
push esi
push 3
push esi
push 3
push esi
push eax
call dword [0x415728]
mov dword [ebp + 8], eax
push 0x4711ffff
movsx eax, word [0x415308]
push eax
call fcn.00402879
add byte [0x4152fb], al
cmp dword [ebp + 8], 0xffffffff
pop ecx
pop ecx
je 0x402e1b
push ebx
push edi
push 0x9eb5ffff
push 0xd539ffff
mov dword [ebp - 0xc], esi
call fcn.004026ee
mov ebx, 0xa3
mov dword [0x415334], eax
push ebx
lea eax, [ebp - 0xb0]
push esi
push eax
call sub.MSVCRT.dll_memset
movsx eax, byte [0x4152fc]
push eax
push 0x93d1ffff
mov dword [ebp - 0xb0], esi
call fcn.004027fb
mov edi, 0x400
mov dword [0x415324], eax
push edi
push esi
push dword [ebp - 8]
mov dword [ebp - 0xac], esi
call sub.MSVCRT.dll_memset
push 0x91a9ffff
push 0xcf23ffff
call fcn.00402879
add word [0x41530c], ax
mov al, byte [0x415318]
neg al
add esp, 0x30
mov byte [0x415301], al
lea eax, [ebp - 0xc]
push esi
push eax
push edi
mov edi, dword [ebp - 8]
push edi
lea eax, [ebp - 0xb0]
push ebx
push eax
push 0x2d1400
push dword [ebp + 8]
call dword [edi + 0x400]
test eax, eax
je 0x402e10
or byte [0x4152fd], 0xff
mov ecx, edi
call fcn.00402e23
xor eax, eax
cmp word [0x415302], si
push 1
setne al
mov word [0x415302], ax
pop eax
mov dword [ebp - 4], eax
mov dword [0x415328], eax
push dword [ebp + 8]
call dword [0x415810]
pop edi
pop ebx
mov eax, dword [ebp - 4]
pop esi
leave
ret 4
Function at 0x40814d
Capabilities:
Identify system language via api

Disassembly:
push ebx
push esi
push edi
xor bl, bl
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov esi, dword [esp + 0x10]
movzx eax, ax
mov dword [0x415320], eax
mov eax, dword [esi + 8]
inc eax
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
pop ecx
movsx eax, byte [0x4152f9]
or eax, 0x93b3ffff
add dword [0x41533c], eax
mov eax, dword [esi + 4]
test eax, eax
jne 0x40818f
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push edi
push eax
call dword [0x415880]
test eax, eax
je 0x4081cc
movsx eax, word [0x415310]
push eax
movsx eax, byte [0x4152fe]
push eax
call fcn.00402831
add word [0x415302], ax
push edi
call sub.MSVCRT.dll_strlen
add esp, 0xc
mov ecx, esi
push eax
push edi
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
mov bl, 1
push 0x2f73ffff
push 0x13a5ffff
call fcn.00402735
push edi
mov dword [0x415320], eax
call fcn.0040f716
add esp, 0xc
inc byte [0x4152fa]
mov al, bl
pop edi
pop esi
pop ebx
ret

Function at 0x409cec
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov byte [0x4152fa], al
lea eax, [ebp - 0x34]
push 0x412b80
push eax
call fcn.00409cb4
mov esi, eax
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x44]
push 0x412b70
push eax
movsd dword es:[edi], dword [esi]
call fcn.00409cb4
mov esi, eax
lea edi, [ebp - 0x24]
movsd dword es:[edi], dword [esi]
add esp, 0x10
lea eax, [ebp - 4]
movsd dword es:[edi], dword [esi]
push eax
lea eax, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
push eax
push 1
lea eax, [ebp - 0x24]
push 0
push eax
movsd dword es:[edi], dword [esi]
call dword [0x4157ec]
push 0x66cfffff
mov esi, eax
push dword [0x415328]
call fcn.00402735
pop ecx
mov word [0x41530a], ax
pop ecx
push dword [ebp - 4]
mov ecx, dword [ebp + 8]
call fcn.0040b335
movsx eax, word [0x415310]
push eax
push eax
call fcn.004026ee
pop ecx
mov byte [0x4152fd], al
mov eax, dword [ebp - 4]
pop ecx
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, esi
pop edi
pop esi
leave
ret
Function at 0x40b56b
Capabilities:
Hash data with md5

Disassembly:
push esi
mov esi, ecx
push 8
push 0
lea eax, [esi + 0x10]
push eax
call sub.MSVCRT.dll_memset
mov ax, word [0x415330]
push 0xd911ffff
or ax, word [0x415312]
push 0x885ffff
add word [0x415312], ax
mov dword [esi], 0x67452301
mov al, byte [0x415306]
dec al
mov byte [0x4152fd], al
mov dword [esi + 4], 0xefcdab89
call fcn.00402735
mov dword [0x415330], eax
mov dword [esi + 8], 0x98badcfe
sub dword [0x415328], 0x492dffff
xor eax, eax
add esp, 0x14
mov dword [esi + 0xc], 0x10325476
cmp dword [0x41531c], eax
pop esi
setne al
add byte [0x415300], al
ret