joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40e1ef
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov al, byte [ebp + 0x18]
sub esp, 0x10
push ebx
push esi
push edi
push 0
push dword [ebp + 0xc]
mov esi, ecx
mov byte [esi + 0x21], al
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebp + 8]
mov ecx, esi
call fcn.0040e188
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x14], eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ebx, dword [sym.imp.USER32.dll_GetParent]
push 2
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0xc]
call ebx
push eax
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [esi + 4]
test eax, eax
je 0x40e256
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [ebp - 0x10]
mov edi, dword [ebp - 8]
push esi
push dword [esi]
sub edi, eax
push 0
push dword [ebp + 0xc]
lea ecx, [eax + 1]
dec edi
mov dword [ebp + 0x18], ecx
dec edi
call ebx
push eax
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0xc]
push eax
push edi
push dword [ebp - 0xc]
xor edi, edi
push dword [ebp + 0x18]
push 0x40000000
push edi
push str.RarHtmlClassName
push edi
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [esi + 4], eax
cmp dword [esi + 0xc], edi
jne 0x40e2d7
cmp dword [ebp + 0xc], edi
je 0x40e2fa
cmp dword [esi + 0x14], edi
jne 0x40e2fa
mov eax, dword [esi + 0x10]
cmp eax, edi
je 0x40e2fa
push eax
mov ecx, esi
call fcn.0040de68
mov esi, eax
cmp esi, edi
je 0x40e2fa
push 5
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push esi
call fcn.00408d06
jmp 0x40e2fa
cmp eax, edi
je 0x40e2ed
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_UpdateWindow]
cmp dword [esi + 0x1c], 0x64
jbe 0x40e2fa
mov ecx, esi
call fcn.0040db7d
pop edi
pop esi
pop ebx
leave
ret 0x14
Function at 0x40e4a3
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
lea eax, [ebp - 4]
push eax
push 0x40fca0
push 1
xor ebx, ebx
push ebx
push 0x40fd50
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x40e574
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
lea edx, [ebp - 8]
push edx
push 0x40fd40
push eax
call dword [ecx]
test eax, eax
jl 0x40e56b
cmp byte [ebp + 8], bl
je 0x40e4f6
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push 2
push dword [ebp + 0x10]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 4]
push dword [ebp + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
cmp dword [ebp + 0x18], ebx
je 0x40e513
mov eax, dword [ebp - 4]
push dword [ebp + 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ebx
cmp dword [ebp + 0x1c], ebx
jne 0x40e525
push 0x40f308
jmp 0x40e528
push dword [ebp + 0x1c]
push eax
call dword [ecx + 0x44]
cmp dword [ebp + 0x20], ebx
je 0x40e53d
mov eax, dword [ebp - 4]
push dword [ebp + 0x20]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
cmp dword [ebp + 0x14], ebx
je 0x40e54e
mov eax, dword [ebp - 4]
push dword [ebp + 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push 1
push dword [ebp + 0x10]
push eax
call dword [ecx + 0x18]
test eax, eax
jl 0x40e562
mov bl, 1
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov al, bl
pop ebx
leave
ret 0x1c

Function at 0x40e58e
Capabilities:
Get common file path

Disassembly:
push dword [esp + 4]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
neg eax
sbb eax, eax
neg eax
ret 8
Function at 0x52e6cc
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edi, 0x530168
sub eax, eax
test esi, esi
je 0x52e7a4
sub eax, 1
test ecx, ecx
je 0x52e7a2
test esi, 3
je 0x52e70a
xor al, byte [esi]
inc esi
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x52e6ef
mov edx, ecx
and edx, 7
shr ecx, 3
je 0x52e789
xor eax, dword [esi]
add esi, 4
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
xor eax, dword [esi]
add esi, 4
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x52e714
mov ecx, edx
test ecx, ecx
je 0x52e7a2
xor al, byte [esi]
inc esi
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x52e78f
not eax
mov dword [esp + 0x1c], eax
popal
ret

Function at 0x52e7ac
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
xor ebx, ebx
movsb byte es:[edi], byte [esi]
mov bl, 2
call fcn.0052e82f
jae 0x52e7ba
xor ecx, ecx
call fcn.0052e82f
jae 0x52e7e9
xor eax, eax
call fcn.0052e82f
jae 0x52e7f9
mov bl, 2
inc ecx
mov al, 0x10
call fcn.0052e82f
adc al, al
jae 0x52e7db
jne 0x52e825
stosb byte es:[edi], al
jmp 0x52e7bd
call fcn.0052e83b
sub ecx, ebx
jne 0x52e802
call fcn.0052e839
jmp 0x52e821
lodsb al, byte [esi]
shr eax, 1
je 0x52e84b
adc ecx, ecx
jmp 0x52e81e
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.0052e839
cmp eax, 0x7d00
jae 0x52e81e
cmp ah, 5
jae 0x52e81f
cmp eax, 0x7f
ja 0x52e820
inc ecx
inc ecx
xchg ebp, eax
mov eax, ebp
mov bl, 1
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x52e7bd
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret
Function at 0x401050
Capabilities:
Create process on windows

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x20]
mov ecx, 0x4070e0
test edi, edi
je 0x401061
mov ecx, edi
mov esi, dword [esp + 0x10]
mov eax, 0x4070e0
test esi, esi
je 0x401070
mov eax, esi
push 5
push 0
push ecx
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
jbe 0x4010da
test esi, esi
je 0x4010a8
mov al, byte [esi - 1]
test al, al
je 0x40109e
cmp al, 0xff
je 0x40109e
dec al
mov byte [esi - 1], al
jmp 0x4010a8
dec esi
push esi
call fcn.00402830
add esp, 4
test edi, edi
je 0x4010d0
mov al, byte [edi - 1]
test al, al
je 0x4010c6
cmp al, 0xff
je 0x4010c6
dec al
mov byte [edi - 1], al
pop edi
mov eax, 1
pop esi
ret 0x20
dec edi
push edi
call fcn.00402830
add esp, 4
pop edi
mov eax, 1
pop esi
ret 0x20
test esi, esi
je 0x4010fa
mov al, byte [esi - 1]
test al, al
je 0x4010f0
cmp al, 0xff
je 0x4010f0
dec al
mov byte [esi - 1], al
jmp 0x4010fa
dec esi
push esi
call fcn.00402830
add esp, 4
test edi, edi
je 0x40111f
mov al, byte [edi - 1]
test al, al
je 0x401115
cmp al, 0xff
je 0x401115
dec al
mov byte [edi - 1], al
pop edi
xor eax, eax
pop esi
ret 0x20
dec edi
push edi
call fcn.00402830
add esp, 4
pop edi
xor eax, eax
pop esi
ret 0x20
Function at 0x402760
Capabilities:
Print debug messages

Disassembly:
sub esp, 8
push esi
mov esi, dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ecx, [esp + 4]
mov eax, dword [esp + 0x10]
push eax
call entry0
push str.Regedit
push esi
call fcn.004034c1
add esp, 8
test eax, eax
jne 0x4027aa
lea ecx, [esp + 4]
call fcn.00401150
lea ecx, [esp + 4]
call fcn.00401040
xor eax, eax
pop esi
add esp, 8
ret 0x10
push esi
lea ecx, [esp + 8]
call fcn.00401520
lea ecx, [esp + 4]
call fcn.00401040
xor eax, eax
pop esi
add esp, 8
ret 0x10

Function at 0x405879
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x408348
cmp edx, dword [eax]
je 0x40589b
add eax, 8
inc ecx
cmp eax, 0x4083d8
jl 0x40588c
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x408348]
jne 0x4059c9
mov eax, dword [0x4086fc]
cmp eax, 1
je 0x4059a3
test eax, eax
jne 0x4058cc
cmp dword [0x408174], 1
je 0x4059a3
cmp edx, 0xfc
je 0x4059c9
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x405903
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00406510
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004037b0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x405946
lea eax, [ebp - 0x1a4]
push eax
call fcn.004037b0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x407504
push edi
call fcn.00404b20
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00406510
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00406520
lea eax, [ebp - 0xa0]
push 0x4074e4
push eax
call fcn.00406520
push dword [esi + 0x40834c]
lea eax, [ebp - 0xa0]
push eax
call fcn.00406520
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004068ac
add esp, 0x2c
pop edi
jmp 0x4059c9
lea eax, [ebp + 8]
lea esi, [esi + 0x40834c]
push 0
push eax
push dword [esi]
call fcn.004037b0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x401434
Capabilities:
Copy file
Create directory
Create process on windows
Create shortcut via ishelllink
Delete file
Delete registry value
Enumerate files on windows
Get file attributes
Get file version info
Move file
Query environment variable
Query or enumerate registry key
Query or enumerate registry value
Read .ini file
Read file on windows
Set current directory
Set file attributes
Set registry value
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov eax, dword [0x423e88]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 7
pop ecx
lea edi, [ebp - 0x28]
mov dword [ebp - 0x34], eax
xor ebx, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x20]
mov esi, eax
mov edi, edx
shl esi, 0xa
mov ecx, section..ndata
mov dword [ebp - 4], ebx
shl edi, 0xa
add esi, ecx
add edi, ecx
lea ecx, [ebp - 0x24]
mov dword [0x409b48], ecx
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffffe
cmp ecx, 0x41
ja case.0x401489.65
jmp dword [ecx*4 + 0x40289d]

Function at 0x402a36
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
push esi
lea eax, [ebp - 4]
push edi
push eax
mov eax, dword [0x423f30]
or al, 8
xor ebx, ebx
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x402aca
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov edi, 0x105
jmp 0x402a87
cmp dword [ebp + 0x10], ebx
jne 0x402abe
lea eax, [ebp - 0x10c]
push ebx
push eax
push dword [ebp - 4]
call fcn.00402a36
test eax, eax
jne 0x402a99
lea eax, [ebp - 0x10c]
push edi
push eax
push ebx
push dword [ebp - 4]
call esi
test eax, eax
je 0x402a6e
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 2
call fcn.00405cff
cmp eax, ebx
je 0x402ad1
push ebx
push dword [0x423f30]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x402aca
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc
cmp dword [0x423f30], ebx
jne 0x402ac7
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x402ac7
jmp 0x402aca
Function at 0x405d6b
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x422a0c], 0
push esi
jne 0x405da2
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405d7c
mov dword [ecx*4 + 0x422a08], eax
inc ecx
cmp ecx, 0x100
jl 0x405d77
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405dd3
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x422a08]
xor eax, esi
inc ecx
dec edx
jne 0x405db5
pop edi
not eax
pop esi
ret 0xc

Function at 0x503b67
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
mov dword [0x505076], ecx
call dword [sym.imp.KERNEL32.DLL_GetCommandLineA]
mov dword [0x505298], eax
mov dword [0x505220], 0x5032dd
mov dword [0x50521c], 2
jmp 0x503b97
mov dword [0x505224], 0
mov dword [0x505228], 0
mov dword [0x505218], 0x30
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
mov dword [0x50522c], eax
mov dword [0x505240], 0x504088
mov dword [0x505238], 0xf
mov dword [0x50506e], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x505230], eax
mov dword [0x505244], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x505234], eax
push 0x505218
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x50506e]
push 0
push 0
push 0x1e5
push 0x21e
push 0xffffe52a
push 0xfffff588
push 0x40000
push str.wait
push str.aroka
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x505290], eax
push 5
push dword [0x505290]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x505290]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x503c6a
push 0
push 0
push 0
push 0x505248
call dword [sym.imp.user32.dll_GetMessageA]
or eax, eax
je 0x503c97
push 0x505248
call dword [sym.imp.user32.dll_TranslateMessage]
push 0x505248
call dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x503c6a
mov eax, dword [0x505250]
jmp 0x503ca4
call 0x502b16
ret
Function at 0x4016bb
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4012ec]
jne 0x401960
ret
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x403148], eax
mov dword [0x403144], ecx
mov dword [0x403140], edx
mov dword [0x40313c], ebx
mov dword [0x403138], esi
mov dword [0x403134], edi
mov word [0x403160], ss
mov word [0x403154], cs
mov word [0x403130], ds
mov word [0x40312c], es
mov word [0x403128], fs
mov word [0x403124], gs
pushfd
pop dword [0x403158]
mov eax, dword [ebp]
mov dword [0x40314c], eax
mov eax, dword [ebp + 4]
mov dword [0x403150], eax
lea eax, [ebp + 8]
mov dword [0x40315c], eax
mov eax, dword [ebp - 0x320]
mov dword [0x403098], 0x10001
mov eax, dword [0x403150]
mov dword [0x40304c], eax
mov dword [0x403040], 0xc0000409
mov dword [0x403044], 1
mov eax, dword [0x4012ec]
mov dword [ebp - 0x328], eax
mov eax, dword [0x40300c]
mov dword [ebp - 0x324], eax
call dword [sym.imp.kernel32.dll_IsDebuggerPresent]
mov dword [0x403090], eax
push 1
call sub.MSVCR100.dll__crt_debugger_hook
pop ecx
push 0
call dword [sym.imp.kernel32.dll_SetUnhandledExceptionFilter]
push 0x4012f0
call dword [sym.imp.kernel32.dll_UnhandledExceptionFilter]
cmp dword [0x403090], 0
jne 0x401a4c
push 1
call sub.MSVCR100.dll__crt_debugger_hook
pop ecx
push 0xc0000409
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
leave
ret
Function at 0x401956
Capabilities:
Terminate process

Disassembly:
push 0x10
push 0x402020
call fcn.00401d01
xor ebx, ebx
cmp dword [0x403390], ebx
jne 0x401734
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.kernel32.dll_HeapSetInformation]
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov dword [ebp - 0x1c], ebx
mov edi, 0x403384
push ebx
push esi
push edi
call dword [sym.imp.kernel32.dll_InterlockedCompareExchange]
cmp eax, ebx
je 0x40176e
cmp eax, esi
jne 0x401761
xor esi, esi
inc esi
mov dword [ebp - 0x1c], esi
jmp 0x401771
push 0x3e8
call dword [sym.imp.kernel32.dll_Sleep]
jmp 0x401748
xor esi, esi
inc esi
mov eax, dword [0x403380]
cmp eax, esi
jne 0x401784
push 0x1f
call sub.MSVCR100.dll__amsg_exit
pop ecx
jmp 0x4017bf
mov eax, dword [0x403380]
test eax, eax
jne 0x4017b9
mov dword [0x403380], esi
push 0x401100
push 0x4010f4
call sub.MSVCR100.dll__initterm_e
pop ecx
pop ecx
test eax, eax
je 0x4017bf
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x401896
mov dword [0x403038], esi
mov eax, dword [0x403380]
cmp eax, esi
jne 0x4017e3
push 0x4010f0
push 0x4010e8
call sub.MSVCR100.dll__initterm
pop ecx
pop ecx
mov dword [0x403380], 2
cmp dword [ebp - 0x1c], ebx
jne 0x4017f0
push ebx
push edi
call dword [sym.imp.kernel32.dll_InterlockedExchange]
cmp dword [0x403394], ebx
je 0x401811
push 0x403394
call fcn.00401dda
pop ecx
test eax, eax
je 0x401811
push ebx
push 2
push ebx
call dword [0x403394]
mov eax, dword [0x403020]
mov ecx, dword [sym.imp.MSVCR100.dll___initenv]
mov dword [ecx], eax
push dword [0x403020]
push dword [0x403024]
push dword [0x40301c]
call fcn.00401dda
add esp, 0xc
mov dword [0x403034], eax
cmp dword [0x403028], ebx
jne 0x40187c
push eax
call dword [sym.imp.MSVCR100.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x20], ecx
push eax
push ecx
call sub.MSVCR100.dll__XcptFilter
pop ecx
pop ecx
ret
cmp dword [0x403038], ebx
jne 0x40188a
call dword [sym.imp.MSVCR100.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x403034]
call fcn.00401d46
ret
call fcn.00401dda
jmp 0x401713
Function at 0x401dda
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x401de9
pop dword [ebp - 0x34]
mov eax, 0x4592e27c
add eax, 0xbaad3b6d
sub dword [ebp - 0x34], eax
mov dword [ebp - 0x44], 0xca022cc
add dword [ebp - 0x44], 0x41b2227f
mov dword [ebp - 0x40], 0x4a2fa14
sub dword [ebp - 0x40], 0xd26fadcf
mov dword [ebp - 0x3c], 0x883d720
add dword [ebp - 0x3c], 0x43c86d0e
mov dword [ebp - 0x38], 0x22ddeef9
sub dword [ebp - 0x38], 0x22ddeef9
lea eax, [ebp - 0x44]
push eax
mov eax, 0x2c5ffca2
add eax, 0xd3e01376
add eax, dword [ebp - 0x34]
call dword [eax]
mov dword [ebp - 0x44], 0x7ffe6d4c
sub dword [ebp - 0x44], 0xb8c03f6
mov dword [ebp - 0x40], 0x1bae39ae
sub dword [ebp - 0x40], 0xda41d839
mov dword [ebp - 0x3c], 0x885562d3
add dword [ebp - 0x3c], 0xdb1a0999
mov dword [ebp - 0x38], 0xe2ace8b8
add dword [ebp - 0x38], 0x1d531748
lea ebx, [ebp - 0x44]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x34]
call dword [eax]
push 0x40
push 0x1000
push 0x36c30
push 0
call eax
mov ecx, 0x491e
mov edx, eax
mov esi, 0xeadd3d01
sub esi, 0xea9cfb01
add esi, dword [ebp - 0x34]
mov ebx, 0x596ec9fe
add ebx, 0x8340af7b
xor dword [ebp - 8], 0xe57e0dec
mov edi, dword [esi]
add dword [ebp - 0x30], ecx
add edi, ebx
sub dword [ebp - 0x30], ebx
mov dword [edx], edi
mov dword [ebp - 0x10], 0x3881a306
add edx, 4
add esi, 0x81524688
sub esi, 0x81524684
loop 0x401f00
add eax, 0xf66ae41f
sub eax, 0xf669ccd4
mov ebx, eax
add eax, 0xeec72fcd
add eax, 0x1138d038
mov ecx, 0x101f0e12
sub ecx, 0xfdf0e12
add ecx, dword [ebp - 0x34]
call ebx
leave
ret
Function at 0x427110
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xd000]
push edi
jmp 0x42712a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x427131
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x427120
mov eax, 1
add ebx, ebx
jne 0x427143
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x427138
jne 0x427154
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x427138
xor ecx, ecx
sub eax, 3
jb 0x427168
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4271da
mov ebp, eax
add ebx, ebx
jne 0x427173
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x427180
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4271a4
inc ecx
add ebx, ebx
jne 0x427190
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x427185
jne 0x4271a1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x427185
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4271c4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4271b5
jmp 0x427126
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4271c4
add edi, ecx
jmp 0x427126
pop esi
mov edi, esi
mov ecx, 0x34b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4271e2
cmp byte [edi], 1
jne 0x4271e2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4271e7
lea edi, [esi + 0x25000]
mov eax, dword [edi]
or eax, eax
je 0x42725f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x29e1c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x29ee4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x427214
mov ecx, edi
jns 0x427243
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x29ee8]
or eax, eax
je 0x427259
mov dword [ebx], eax
add ebx, 4
jmp 0x427231
call dword [esi + 0x29ef8]
mov ebp, dword [esi + 0x29eec]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x427293
sub esp, 0xffffff80
jmp 0x408120
Function at 0x40b550
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x46df1b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.00462a61
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40b5d2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004607e0
mov eax, dword [eax]
push 0x6ad1f0
push eax
call fcn.00453414
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00462cec
test bl, bl
je 0x40b5d2
push 0x6ad1f0
lea ecx, [esp + 0xc]
call fcn.0046307c
push 0x6b0d64
lea ecx, [esp + 0xc]
call fcn.0046307c
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x40b60e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00462cec
jmp 0x40b6d9
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x40b692
lea edx, [esp + 0x7c]
push 0x6b0d60
push edx
call fcn.00453414
add esp, 8
test eax, eax
je 0x40b692
lea eax, [esp + 0x7c]
push 0x6b0d5c
push eax
call fcn.00453414
add esp, 8
test eax, eax
je 0x40b692
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40b622
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.00462cec
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x40bed0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x40bf32
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc