joyce8/EMBER2024-capa huggingface dataset:
Function at 0x781396ba
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call sym.MSVCR80.dll__encoded_null
xor ebx, ebx
cmp dword [0x781c4054], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x78139790
push 0x78194ebc
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x78139870
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x78139870
push eax
call sym.MSVCR80.dll__encode_pointer
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x781c4054], eax
call esi
push eax
call sym.MSVCR80.dll__encode_pointer
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x781c4058], eax
call esi
push eax
call sym.MSVCR80.dll__encode_pointer
mov dword [0x781c405c], eax
lea eax, [ebp - 0xc]
push eax
call sym.MSVCR80.dll__get_osplatform
test eax, eax
pop ecx
pop ecx
je 0x7813975e
push ebx
push ebx
push ebx
push ebx
push ebx
call sym.MSVCR80.dll__invoke_watson
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x78139790
push str.GetUserObjectInformationA
push edi
call esi
push eax
call sym.MSVCR80.dll__encode_pointer
cmp eax, ebx
pop ecx
mov dword [0x781c4064], eax
je 0x78139790
push str.GetProcessWindowStation
push edi
call esi
push eax
call sym.MSVCR80.dll__encode_pointer
pop ecx
mov dword [0x781c4060], eax
mov eax, dword [0x781c4060]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x78139815
cmp dword [0x781c4064], ecx
je 0x78139815
push eax
call sym.MSVCR80.dll__decode_pointer
push dword [0x781c4064]
mov esi, eax
call sym.MSVCR80.dll__decode_pointer
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x78139815
cmp edi, ebx
je 0x78139815
call esi
cmp eax, ebx
je 0x781397e2
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x781397e2
test byte [ebp - 0x18], 1
jne 0x78139815
lea eax, [ebp - 0x10]
push eax
call sym.MSVCR80.dll__get_winmajor
test eax, eax
pop ecx
je 0x781397fd
push ebx
push ebx
push ebx
push ebx
push ebx
call sym.MSVCR80.dll__invoke_watson
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x7813980c
or dword [ebp + 0x10], 0x200000
jmp 0x78139850
or dword [ebp + 0x10], 0x40000
jmp 0x78139850
mov eax, dword [0x781c4058]
cmp eax, dword [ebp - 8]
je 0x78139850
push eax
call sym.MSVCR80.dll__decode_pointer
cmp eax, ebx
pop ecx
je 0x78139850
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x78139850
mov eax, dword [0x781c405c]
cmp eax, dword [ebp - 8]
je 0x78139850
push eax
call sym.MSVCR80.dll__decode_pointer
cmp eax, ebx
pop ecx
je 0x78139850
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x781c4054]
call sym.MSVCR80.dll__decode_pointer
cmp eax, ebx
pop ecx
je 0x78139870
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x78139872
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x78139a5d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x781c19d8]
jne 0x78139a67
repz ret
jmp sym.MSVCR80.dll___report_gsfailure
Function at 0x7813b566
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call sym.MSVCR80.dll__encoded_null
xor ebx, ebx
cmp dword [0x781c40a0], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x7813b63c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
cmp edi, ebx
je 0x7813b71c
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push edi
call esi
cmp eax, ebx
je 0x7813b71c
push eax
call sym.MSVCR80.dll__encode_pointer
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x781c40a0], eax
call esi
push eax
call sym.MSVCR80.dll__encode_pointer
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x781c40a4], eax
call esi
push eax
call sym.MSVCR80.dll__encode_pointer
mov dword [0x781c40a8], eax
lea eax, [ebp - 0xc]
push eax
call sym.MSVCR80.dll__get_osplatform
test eax, eax
pop ecx
pop ecx
je 0x7813b60a
push ebx
push ebx
push ebx
push ebx
push ebx
call sym.MSVCR80.dll__invoke_watson
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x7813b63c
push str.GetUserObjectInformationW
push edi
call esi
push eax
call sym.MSVCR80.dll__encode_pointer
cmp eax, ebx
pop ecx
mov dword [0x781c40b0], eax
je 0x7813b63c
push str.GetProcessWindowStation
push edi
call esi
push eax
call sym.MSVCR80.dll__encode_pointer
pop ecx
mov dword [0x781c40ac], eax
mov eax, dword [0x781c40ac]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x7813b6c1
cmp dword [0x781c40b0], ecx
je 0x7813b6c1
push eax
call sym.MSVCR80.dll__decode_pointer
push dword [0x781c40b0]
mov esi, eax
call sym.MSVCR80.dll__decode_pointer
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x7813b6c1
cmp edi, ebx
je 0x7813b6c1
call esi
cmp eax, ebx
je 0x7813b68e
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x7813b68e
test byte [ebp - 0x18], 1
jne 0x7813b6c1
lea eax, [ebp - 0x10]
push eax
call sym.MSVCR80.dll__get_winmajor
test eax, eax
pop ecx
je 0x7813b6a9
push ebx
push ebx
push ebx
push ebx
push ebx
call sym.MSVCR80.dll__invoke_watson
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x7813b6b8
or dword [ebp + 0x10], 0x200000
jmp 0x7813b6fc
or dword [ebp + 0x10], 0x40000
jmp 0x7813b6fc
mov eax, dword [0x781c40a4]
cmp eax, dword [ebp - 8]
je 0x7813b6fc
push eax
call sym.MSVCR80.dll__decode_pointer
cmp eax, ebx
pop ecx
je 0x7813b6fc
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x7813b6fc
mov eax, dword [0x781c40a8]
cmp eax, dword [ebp - 8]
je 0x7813b6fc
push eax
call sym.MSVCR80.dll__decode_pointer
cmp eax, ebx
pop ecx
je 0x7813b6fc
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x781c40a0]
call sym.MSVCR80.dll__decode_pointer
cmp eax, ebx
pop ecx
je 0x7813b71c
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x7813b71e
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x781547e8
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 8], esi
jne 0x78154815
call sym.MSVCR80.dll___doserrno
mov dword [eax], esi
call sym.MSVCR80.dll__errno
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call sym.MSVCR80.dll__invalid_parameter
add esp, 0x14
push 0x16
pop eax
pop esi
ret
test dword [esp + 0xc], 0xfffffff9
jne 0x781547f1
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x78154844
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call sym.MSVCR80.dll__dosmaperr
pop ecx
call sym.MSVCR80.dll__errno
mov eax, dword [eax]
pop esi
ret
test al, 0x10
jne 0x7815486b
test al, 1
je 0x7815486b
test byte [esp + 0xc], 2
je 0x7815486b
call sym.MSVCR80.dll___doserrno
mov dword [eax], 5
call sym.MSVCR80.dll__errno
mov dword [eax], 0xd
jmp 0x7815483b
xor eax, eax
pop esi
ret

Function at 0x78154b0d
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 8], esi
jne 0x78154b3a
call sym.MSVCR80.dll___doserrno
mov dword [eax], esi
call sym.MSVCR80.dll__errno
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call sym.MSVCR80.dll__invalid_parameter
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x78154b58
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call sym.MSVCR80.dll__dosmaperr
pop ecx
jmp 0x78154b35
test byte [esp + 0xc], 0x80
je 0x78154b64
and eax, 0xfffffffe
jmp 0x78154b67
or eax, 1
push eax
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
je 0x78154b49
xor eax, eax
pop esi
ret
Function at 0x78155d47
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 8], esi
jne 0x78155d74
call sym.MSVCR80.dll___doserrno
mov dword [eax], esi
call sym.MSVCR80.dll__errno
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call sym.MSVCR80.dll__invalid_parameter
add esp, 0x14
push 0x16
pop eax
pop esi
ret
test dword [esp + 0xc], 0xfffffff9
jne 0x78155d50
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x78155da3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call sym.MSVCR80.dll__dosmaperr
pop ecx
call sym.MSVCR80.dll__errno
mov eax, dword [eax]
pop esi
ret
test al, 0x10
jne 0x78155dca
test al, 1
je 0x78155dca
test byte [esp + 0xc], 2
je 0x78155dca
call sym.MSVCR80.dll___doserrno
mov dword [eax], 5
call sym.MSVCR80.dll__errno
mov dword [eax], 0xd
jmp 0x78155d9a
xor eax, eax
pop esi
ret

Function at 0x78155f14
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 8], esi
jne 0x78155f41
call sym.MSVCR80.dll___doserrno
mov dword [eax], esi
call sym.MSVCR80.dll__errno
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call sym.MSVCR80.dll__invalid_parameter
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x78155f5f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call sym.MSVCR80.dll__dosmaperr
pop ecx
jmp 0x78155f3c
test byte [esp + 0xc], 0x80
je 0x78155f6b
and eax, 0xfffffffe
jmp 0x78155f6e
or eax, 1
push eax
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x78155f50
xor eax, eax
pop esi
ret
Function at 0x403280
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404a84
test esi, esi
jne 0x4032b6
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00404b74
jmp 0x4032d4
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00403124
mov edi, eax
test esi, esi
je 0x4032d4
cmp dword [ebx], 0
je 0x4032d4
dec esi
jmp 0x4032bd
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x4039a4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x428020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403a3c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403a1c
xor eax, eax
push ebp
push 0x403a15
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403a58
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403a1c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
movzx eax, word [0x428020]
and ax, 0xffc0
movzx edx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x428020], ax
mov esp, ebp
pop ebp
ret

Function at 0x404904
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x42904c], 0
je 0x404965
cmp word [0x429220], 0xd7b2
jne 0x40492d
cmp dword [0x429228], 0
jbe 0x40492d
mov eax, 0x42921c
call dword [0x429238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40498c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x42802c], 0
jne 0x404981
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x406250
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x406480
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x4062d3
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x406480
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x4062d3
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x40649c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x40635c
xor eax, eax
push ebp
push 0x406355
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.0040608c
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x40633a
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x4064bc
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x40633a
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40635c
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpynA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x406476
cmp byte [ebp - 0xd], 0
jne 0x4063a3
cmp byte [ebp - 0x12], 0
je 0x406476
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x4063bc
dec ebx
cmp byte [ebx], 0x2e
je 0x4063cb
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x4063bb
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x406476
inc ebx
cmp byte [ebp - 0x12], 0
je 0x406408
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x406476
cmp byte [ebp - 0xd], 0
je 0x406476
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x406476
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40812c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x40817e
test eax, edx
je 0x408181
movzx ecx, byte [edx]
cmp cl, byte [eax]
je 0x408141
movzx eax, byte [eax]
sub eax, ecx
ret
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x408167
add ecx, 4
js 0x408157
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 3
add ecx, ebx
jns 0x408164
movzx eax, byte [ecx + eax]
movzx edx, byte [ecx + edx]
sub eax, edx
pop ebx
pop ebx
ret
xor eax, eax
ret
test eax, eax
je 0x40818d
test edx, edx
jne 0x408134
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x40b3c0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40b3f9
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404b74
jmp 0x40b402
mov eax, ebx
mov edx, esi
call fcn.00404ad8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40b40c
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40b42e
movzx eax, byte [esp]
jmp 0x40b430
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40bac0
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b938
mov eax, dword [0x428e54]
cmp byte [eax], 0
je 0x40bb3c
mov eax, dword [0x428d18]
call fcn.00403374
call fcn.00402f90
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00408c84
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40bb84
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40bb72
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x428cdc]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x42b7f8]
call fcn.00406034
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x41cd94
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x42d9e8
cmp dword [edi], 0
jne 0x41ce10
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x42d9e4]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x428b4c
mov ecx, 2
call fcn.00403024
mov edx, 0x41cd6c
lea eax, [esi + 5]
call fcn.0041cd8c
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041cd8c
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x41cde5
mov dword [0x42d9e4], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x41f348
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0x2001f
push 0
push 0x41f3e0
push 0
mov eax, ebx
call fcn.00404f14
push eax
mov eax, dword [ebp + 8]
push eax
call sub.advapi32.dll_RegCreateKeyExA
mov ebx, eax
test ebx, ebx
jne 0x41f3bb
mov ebx, esi
test ebx, ebx
je 0x41f391
sub ebx, 4
mov ebx, dword [ebx]
inc ebx
push ebx
mov eax, esi
call fcn.00404f14
push eax
push 1
push 0
mov eax, edi
call fcn.00404f14
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegSetValueExA
mov ebx, eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
test ebx, ebx
je 0x41f3d6
mov ecx, dword [0x428d30]
mov dl, 1
mov eax, dword [0x41d8e8]
call fcn.0040bc44
call fcn.004044cc
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4
Function at 0x423d68
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404f04
xor eax, eax
push ebp
push 0x423e57
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 4]
call fcn.00404f14
mov edi, eax
push edi
call sub.version.dll_GetFileVersionInfoSizeA
mov esi, eax
test esi, esi
je 0x423e41
mov eax, esi
call fcn.00402e34
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x423e3a
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x10]
push eax
push esi
push 0
push edi
call sub.version.dll_GetFileVersionInfoA
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x423e6c
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov edx, eax
shr edx, 0x10
mov ecx, dword [ebp - 8]
mov dword [ecx], edx
and eax, 0xffff
mov edx, dword [ebp - 0xc]
mov dword [edx], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0xc]
mov edx, eax
shr edx, 0x10
mov ecx, dword [ebp + 0xc]
mov dword [ecx], edx
and eax, 0xffff
mov edx, dword [ebp + 8]
mov dword [edx], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x423e41
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
call fcn.00402e50
mov bl, 1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x423e5e
lea eax, [ebp - 4]
call fcn.00404a84
ret

Function at 0x424820
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffe4
mov edi, eax
call sub.kernel32.dll_GetTickCount
mov ebx, eax
call sub.kernel32.dll_GetTickCount
mov esi, eax
jmp 0x424868
push 1
push 0
push 0
push 0
lea eax, [esp + 0x10]
push eax
call sub.user32.dll_PeekMessageA
test eax, eax
je 0x42485a
push esp
call sub.user32.dll_TranslateMessage
push esp
call sub.user32.dll_DispatchMessageA
push 1
call sub.kernel32.dll_Sleep_1
call sub.kernel32.dll_GetTickCount
mov ebx, eax
sub ebx, esi
cmp edi, ebx
jg 0x424838
add esp, 0x1c
pop edi
pop esi
pop ebx
ret
Function at 0x424f04
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edx
mov edi, eax
mov eax, dword [ebp - 4]
call fcn.004066a4
xor eax, eax
push ebp
push 0x42503e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
call fcn.0041f2b0
xor eax, eax
push ebp
push 0x42500e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x14]
movzx ebx, word [eax + 0x30]
dec ebx
test ebx, ebx
jl 0x424ff3
inc ebx
xor esi, esi
lea eax, [ebp - 0x1c]
push eax
push esi
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x24]
call fcn.0041f2b0
mov eax, dword [ebp - 0x1c]
and eax, 2
cmp eax, 2
jne 0x424feb
mov eax, dword [ebp - 0x1c]
and eax, 1
dec eax
jne 0x424feb
lea eax, [ebp - 0x18]
push eax
push esi
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x20]
call fcn.0041f2b0
lea eax, [ebp - 8]
call fcn.00406630
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x38]
call fcn.0041f2b0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
push 0xffffffffffffffff
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x30]
call fcn.0041f2b0
lea eax, [edi + 4]
mov edx, dword [ebp - 8]
call fcn.00406648
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.00424e6c
inc esi
dec ebx
jne 0x424f66
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x425015
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x4c]
ret

Function at 0x425848
Capabilities:
Encrypt data using rc6

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffbc
lea edx, [esp + 4]
mov eax, dword [0x42db00]
mov ecx, 0x40
call fcn.00403024
mov dword [0x42da4c], 0xb7e15163
mov ebx, 0x2b
mov eax, 0x42da4c
mov edx, dword [eax]
add edx, 0x9e3779b9
mov dword [eax + 4], edx
add eax, 4
dec ebx
jne 0x425876
xor ebx, ebx
xor edi, edi
xor esi, esi
xor ebp, ebp
mov dword [esp], 0x84
mov eax, dword [ebx*4 + 0x42da4c]
add eax, esi
add eax, ebp
mov edx, 3
call fcn.00425728
mov esi, eax
mov dword [ebx*4 + 0x42da4c], esi
lea edx, [ebp + esi]
mov eax, dword [esp + edi*4 + 4]
add eax, esi
add eax, ebp
call fcn.00425728
mov ebp, eax
mov dword [esp + edi*4 + 4], ebp
lea eax, [ebx + 1]
mov ecx, 0x2c
cdq
idiv ecx
mov ebx, edx
inc edi
and edi, 0x8000000f
jns 0x4258e6
dec edi
or edi, 0xfffffff0
inc edi
dec dword [esp]
jne 0x425896
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret