joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4010b3
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
lea edi, [esi + 0x14]
mov dword [esi], 0x40b2a0
cmp dword [edi], ebx
je 0x401158
push str._mozilla.org_observer_service_1
mov edx, 0x40b7fc
mov dword [ebp - 4], ebx
lea ecx, [ebp - 4]
call fcn.00408dcd
mov eax, dword [ebp - 4]
test eax, eax
je 0x401138
mov ecx, dword [eax]
push ebx
push str.profile_change_net_teardown
push ebx
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 4]
push ebx
push str.profile_change_teardown
push ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 4]
push ebx
push str.profile_before_change
push ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 4]
push ebx
push str.profile_before_change_qm
push ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 4]
push ebx
push str.profile_before_change_telemetry
push ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov eax, dword [edi]
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0x4c]
xor edx, edx
mov ecx, edi
call fcn.00408e7c
mov eax, dword [ebp - 4]
test eax, eax
je 0x401158
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x40118f
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push ebx
mov dword [esi + 0xc], ebx
call dword [sym.imp.xul.dll_NS_ShutdownXPCOM]
pop ecx
mov ecx, eax
shr ecx, 0x1f
test cl, 1
je 0x40118f
push eax
push str.XPCOM_shutdown_failed_with_code_0x_x
call fcn.00401599
pop ecx
pop ecx
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
push dword [esi + 8]
push str.Finished_running__s_tests._n
call fcn.004017ce
pop ecx
pop ecx
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x4011ab
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x4011b8
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [edi]
test ecx, ecx
je 0x4011c4
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 0x10]
pop edi
pop esi
pop ebx
test ecx, ecx
je 0x4011d4
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov esp, ebp
pop ebp
ret
Function at 0x403250
Capabilities:
Get thread local storage value

Disassembly:
cmp dword [0x40648c], 0
jne 0x40325e
call fcn.004031f0
mov eax, dword [0x406488]
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
push edi
push eax
call esi
test eax, eax
jne 0x403282
call fcn.004031f0
mov ecx, dword [0x406488]
push ecx
call esi
mov ecx, dword [eax]
mov edi, dword [eax + 4]
mov edx, dword [eax + ecx*4 + 0x4c]
mov ebp, dword [esp + 0x14]
mov esi, dword [eax + ecx*4 + 8]
mov ebx, dword [eax + edi*4 + 8]
inc ebp
ror edx, 0xd
add edx, dword [eax + edi*4 + 0x4c]
ror esi, 5
add esi, ebx
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0x4c], esi
dec edi
dec ecx
jns 0x4032b5
mov ecx, 0x10
test edi, edi
jns 0x4032be
mov edi, 0x10
mov dword [eax], ecx
mov dword [eax + 4], edi
mov eax, edx
test ebp, ebp
je 0x4032cd
mul ebp
mov eax, edx
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x403300
Capabilities:
Get thread local storage value

Disassembly:
sub esp, 8
cmp dword [0x40648c], 0
jne 0x403311
call fcn.004031f0
mov eax, dword [0x406488]
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
push edi
push eax
call esi
test eax, eax
jne 0x403334
jmp section..htext
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
cmp ecx, 8
jl 0x40339c
push ebp
mov ebp, ecx
shr ebp, 3
mov edx, ebp
neg edx
lea ecx, [ecx + edx*8]
mov dword [esp + 0x20], ecx
mov ecx, dword [eax]
mov edi, dword [eax + 4]
mov edx, dword [eax + ecx*4 + 0x4c]
mov esi, dword [eax + ecx*4 + 8]
ror edx, 0xd
add edx, dword [eax + edi*4 + 0x4c]
ror esi, 5
add esi, dword [eax + edi*4 + 8]
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0x4c], esi
dec edi
dec ecx
jns 0x40337e
mov ecx, 0x10
test edi, edi
jns 0x403387
mov edi, 0x10
mov dword [eax], ecx
mov dword [eax + 4], edi
mov dword [ebx], esi
mov dword [ebx + 4], edx
add ebx, 8
dec ebp
jne 0x403352
mov ecx, dword [esp + 0x20]
pop ebp
test ecx, ecx
jle 0x4033f5
mov ecx, dword [eax]
mov edi, dword [eax + 4]
mov edx, dword [eax + ecx*4 + 0x4c]
mov esi, dword [eax + ecx*4 + 8]
ror edx, 0xd
add edx, dword [eax + edi*4 + 0x4c]
ror esi, 5
add esi, dword [eax + edi*4 + 8]
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0x4c], esi
dec edi
dec ecx
jns 0x4033cc
mov ecx, 0x10
test edi, edi
jns 0x4033d5
mov edi, 0x10
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x1c]
mov dword [eax], ecx
mov dword [eax + 4], edi
push edx
lea eax, [esp + 0x10]
push eax
push ebx
mov dword [esp + 0x18], esi
call sub.MSVCRT.dll_memcpy
add esp, 0xc
pop edi
pop esi
pop ebx
add esp, 8
ret 8
Function at 0x404811
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
xor ebx, ebx
push edi
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, eax
mov dword [ebp - 0xc], esi
cmp dword [0x4064bc], ebx
jne 0x404847
push 0x4064a0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x4064bc], 1
push 0x4064a0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x4064b8]
mov edi, eax
cmp eax, ebx
je 0x4048ab
cmp dword [ebp - 4], ebx
jne 0x4049eb
xor eax, eax
inc eax
lea ecx, [edi + 0x114]
cmp esi, dword [ecx]
je 0x40487e
inc eax
add ecx, 4
cmp eax, 0x40
jl 0x40486f
jmp 0x40489c
push dword [ebp + 0xc]
lea esi, [edi + eax*4 + 0x210]
push dword [ebp + 8]
call fcn.00404666
mov esi, dword [ebp - 0xc]
pop ecx
pop ecx
mov dword [ebp - 4], 1
mov edi, dword [edi]
cmp edi, ebx
jne 0x40485d
cmp dword [ebp - 4], ebx
jne 0x4049eb
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push ebx
push ebx
push 0x100000
lea eax, [ebp - 8]
push eax
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call edi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x4049eb
mov edi, dword [0x4064b8]
jmp 0x4048eb
cmp dword [edi + 0xc], 0x3f
jl 0x404985
mov edi, dword [edi]
cmp edi, ebx
jne 0x4048df
push 0x310
push 8
push dword [0x406464]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
cmp edi, ebx
je 0x4049e2
push ebx
push 1
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
mov dword [edi + 8], eax
cmp eax, ebx
je 0x4049d4
push ebx
push ebx
push edi
push 0x4046b7
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 8]
mov dword [edi + 0x114], esi
push 0x1000
lea esi, [edi + 0x214]
push ebx
mov dword [edi + 0x14], eax
mov dword [esi], ebx
mov dword [edi + 0xc], 2
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, ebx
je 0x4049cb
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00404666
mov eax, dword [0x4064b8]
pop ecx
pop ecx
mov dword [edi + 4], ebx
mov dword [edi], eax
cmp eax, ebx
je 0x40497d
mov dword [eax + 4], edi
mov dword [0x4064b8], edi
jmp 0x4049eb
mov eax, dword [edi + 0xc]
mov ecx, dword [ebp - 8]
push dword [ebp + 0xc]
mov dword [edi + eax*4 + 0x10], ecx
mov eax, dword [edi + 0xc]
push dword [ebp + 8]
mov dword [edi + eax*4 + 0x110], esi
mov eax, dword [edi + 0xc]
mov dword [edi + eax*4 + 0x210], ebx
mov eax, dword [edi + 0xc]
lea esi, [edi + eax*4 + 0x210]
jmp 0x4083d4
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push ebx
push dword [0x406464]
call dword [sym.imp.KERNEL32.dll_HeapFree]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x4064a0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x401000
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x401090
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x40108d
push 0x5c
push esi
call dword [sym.imp.MSVCRT.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x40108d
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401066
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x40105f
test ebp, ebp
je 0x40105f
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x401066
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x401087
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x401087
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x401018
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x40287f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x40288e
pop dword [ebp - 0x28]
mov eax, 0xb4d72dc9
add eax, 0x4b68fac5
sub dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 0xd02870cc
sub dword [ebp - 0x38], 0x81d62b81
mov dword [ebp - 0x34], 0xa7df53c2
sub dword [ebp - 0x34], 0x75ac077d
mov dword [ebp - 0x30], 0x554b9c85
add dword [ebp - 0x30], 0xf700a7a9
mov dword [ebp - 0x2c], 0x822cf8d8
add dword [ebp - 0x2c], 0x7dd30728
lea eax, [ebp - 0x38]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x28]
call dword [eax]
mov dword [ebp - 0x38], 0x7c12f97a
sub dword [ebp - 0x38], 0x7a09024
mov dword [ebp - 0x34], 0xba5cc3a4
add dword [ebp - 0x34], 0x870f9dd1
mov dword [ebp - 0x30], 0x27fb0e92
add dword [ebp - 0x30], 0x3b745dda
mov dword [ebp - 0x2c], 0xeb85cd71
sub dword [ebp - 0x2c], 0xeb85cd71
lea ebx, [ebp - 0x38]
push ebx
push eax
mov eax, 0x5c07680f
sub eax, 0x5bc6f767
add eax, dword [ebp - 0x28]
call dword [eax]
push 0x40
push 0x1000
push 0x3b1be
push 0
call eax
mov ecx, 0x5a0d
mov edx, eax
mov esi, 0x410000
add esi, dword [ebp - 0x28]
mov ebx, 0x3490378b
sub ebx, 0x2c2c2c86
add dword [ebp - 0x1c], 0x79b0eb66
mov edi, dword [esi]
xor dword [ebp - 8], edx
xor edi, ebx
xor dword [ebp - 0x20], 0x2dd704eb
mov dword [edx], edi
add edx, 0x79998ba2
add edx, 0x86667462
add esi, 4
loop 0x40299f
add eax, 0xa637959f
sub eax, 0xa6363a98
mov ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x28]
call ebx
leave
ret
Function at 0x401ae3
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
push ebx
push esi
push edi
push str.CLASSPATH
mov byte [ebp - 4], 0x3b
mov byte [ebp - 3], 0
call dword [sym.imp.MSVCR71.dll_getenv]
mov esi, dword [sym.imp.MSVCR71.dll_sprintf]
mov edi, eax
test edi, edi
pop ecx
je 0x401b34
push edi
call sub.MSVCR71.dll_strlen
add eax, 0x28
push eax
call sub.jli.dll_JLI_MemAlloc
push edi
mov ebx, eax
push str._Denv.class.path_s
push ebx
call esi
push 0
push ebx
call fcn.004010bd
add esp, 0x1c
lea eax, [ebp - 0x110]
push 0x104
push eax
call fcn.00403220
test al, al
pop ecx
pop ecx
jne 0x401b60
push 1
push str.Cant_determine_application_home
call fcn.004034c6
pop ecx
pop ecx
xor al, al
jmp 0x401c24
lea eax, [ebp - 0x110]
push eax
call sub.MSVCR71.dll_strlen
add eax, 0x28
push eax
call sub.jli.dll_JLI_MemAlloc
mov edi, eax
lea eax, [ebp - 0x110]
push eax
push str._Dapplication.home_s
push edi
call esi
push 0
push edi
call fcn.004010bd
push 0x28
lea eax, [ebp - 0x110]
pop esi
push eax
call sub.MSVCR71.dll_strlen
mov edi, 0x408018
add esp, 0x20
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edi
mov ebx, 0x408020
mov eax, dword [ebp - 8]
push dword [eax]
call sub.MSVCR71.dll_strlen
add eax, dword [ebp - 0xc]
add dword [ebp - 8], 4
cmp dword [ebp - 8], ebx
pop ecx
lea esi, [esi + eax + 1]
jl 0x401bb0
inc esi
push esi
call sub.jli.dll_JLI_MemAlloc
mov esi, eax
mov dword [esp], str._Djava.class.path
push esi
call sub.MSVCR71.dll_strcpy
pop ecx
pop ecx
lea eax, [ebp - 0x110]
push eax
push esi
call sub.MSVCR71.dll_strcat
push dword [edi]
push esi
call sub.MSVCR71.dll_strcat
lea eax, [ebp - 4]
push eax
push esi
call sub.MSVCR71.dll_strcat
add edi, 4
add esp, 0x18
cmp edi, ebx
jl 0x401be3
push esi
call sub.MSVCR71.dll_strlen
push 0
push esi
mov byte [eax + esi - 1], 0
call fcn.004010bd
add esp, 0xc
mov al, 1
pop edi
pop esi
pop ebx
leave
ret

Function at 0x401e44
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
push ebx
push dword [ebp + 8]
lea eax, [ebp - 0x1a4]
push eax
call sub.MSVCR71.dll_strcpy
pop ecx
pop ecx
push str._Xusage.txt
lea eax, [ebp - 0x1a4]
push 0x5c
push eax
call dword [sym.imp.MSVCR71.dll_strrchr]
pop ecx
pop ecx
push eax
call sub.MSVCR71.dll_strcpy
lea eax, [ebp - 0x1a4]
push 0x405f80
push eax
call dword [sym.imp.MSVCR71.dll_fopen]
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x401eb9
lea eax, [ebp - 0x1a4]
push eax
mov eax, dword [sym.imp.MSVCR71.dll__iob]
add eax, 0x40
push str.Cant_open__s_n
push eax
call dword [sym.imp.MSVCR71.dll_fprintf]
xor eax, eax
add esp, 0xc
inc eax
jmp 0x401f09
push esi
mov esi, dword [sym.imp.MSVCR71.dll_fread]
push edi
push ebx
mov edi, 0x80
push edi
lea eax, [ebp - 0x80]
push 1
push eax
call esi
add esp, 0x10
jmp 0x401ef9
mov ecx, dword [sym.imp.MSVCR71.dll__iob]
add ecx, 0x20
push ecx
push eax
lea eax, [ebp - 0x80]
push 1
push eax
call dword [sym.imp.MSVCR71.dll_fwrite]
push ebx
push edi
lea eax, [ebp - 0x80]
push 1
push eax
call esi
add esp, 0x20
test eax, eax
jne 0x401ed5
push ebx
call dword [sym.imp.MSVCR71.dll_fclose]
pop ecx
pop edi
xor eax, eax
pop esi
pop ebx
leave
ret
Function at 0x457ae0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x38000]
push edi
or ebp, 0xffffffff
jmp 0x457b02
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x457b09
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x457af8
mov eax, 1
add ebx, ebx
jne 0x457b1b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x457b2c
jne 0x457b4b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x457b4b
dec eax
add ebx, ebx
jne 0x457b38
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x457b10
add ebx, ebx
jne 0x457b47
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x457b9d
xor ecx, ecx
sub eax, 3
jb 0x457b63
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x457bd2
sar eax, 1
mov ebp, eax
jmp 0x457b6e
add ebx, ebx
jne 0x457b6e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x457b3c
inc ecx
add ebx, ebx
jne 0x457b7c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x457b3c
add ebx, ebx
jne 0x457b89
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x457b7e
jne 0x457b9a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x457b7e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x457bbc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x457bae
jmp 0x457afe
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x457bbc
add edi, ecx
jmp 0x457afe
pop esi
mov edi, esi
mov ecx, 0xca9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x457bda
cmp byte [edi], 0x11
jne 0x457bda
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 0x457bdf
lea edi, [esi + 0x53000]
mov eax, dword [edi]
or eax, eax
je 0x457c4e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x5d208]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x5d274]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x457c0c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x5d27c]
or eax, eax
je 0x457c48
mov dword [ebx], eax
add ebx, 4
jmp 0x457c29
call dword [esi + 0x5d278]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x457c7f
cmp al, 0xef
ja 0x457c72
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x457c54
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x457c61
mov ebp, dword [esi + 0x5d280]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x457cb3
sub esp, 0xffffff80
jmp 0x408916
Function at 0x444790
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x3f000]
push edi
jmp 0x4447aa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4447b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4447a0
mov eax, 1
add ebx, ebx
jne 0x4447c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4447b8
jne 0x4447d4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4447b8
xor ecx, ecx
sub eax, 3
jb 0x4447e8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x44485a
mov ebp, eax
add ebx, ebx
jne 0x4447f3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x444800
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x444824
inc ecx
add ebx, ebx
jne 0x444810
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x444805
jne 0x444821
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x444805
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x444844
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x444835
jmp 0x4447a6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x444844
add edi, ecx
jmp 0x4447a6
pop esi
mov edi, esi
mov ecx, 0x24a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x444862
cmp byte [edi], 1
jne 0x444862
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 0x444867
lea edi, [esi + 0x42000]
mov eax, dword [edi]
or eax, eax
je 0x4448df
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x55c0c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x55cd8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x444894
mov ecx, edi
jns 0x4448c3
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 + 0x55ce0]
or eax, eax
je 0x4448d9
mov dword [ebx], eax
add ebx, 4
jmp 0x4448b1
call dword [esi + 0x55cdc]
mov ebp, dword [esi + 0x55ce4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1f7]
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 0x444913
sub esp, 0xffffff80
jmp 0x40323c
Function at 0x401069
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4bf030]
jne 0x401073
repz ret
jmp fcn.00401e41

Function at 0x408aeb
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00404d3a
and dword [ebp - 4], 0
cmp dword [0x4c1b68], 0
mov ebx, eax
jne 0x408b9c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x408c4d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x408c4d
push eax
call fcn.00404cc8
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4c1b68], eax
call esi
push eax
call fcn.00404cc8
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4c1b6c], eax
call esi
push eax
call fcn.00404cc8
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4c1b70], eax
call esi
push eax
call fcn.00404cc8
pop ecx
mov dword [0x4c1b78], eax
test eax, eax
je 0x408b9c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404cc8
pop ecx
mov dword [0x4c1b74], eax
mov eax, dword [0x4c1b74]
cmp eax, ebx
je 0x408bf4
cmp dword [0x4c1b78], ebx
je 0x408bf4
push eax
call fcn.00404d43
push dword [0x4c1b78]
mov esi, eax
call fcn.00404d43
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x408bf4
test edi, edi
je 0x408bf4
call esi
test eax, eax
je 0x408beb
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x408beb
test byte [ebp - 0xc], 1
jne 0x408bf4
or dword [ebp + 0x10], 0x200000
jmp 0x408c2d
mov eax, dword [0x4c1b6c]
cmp eax, ebx
je 0x408c2d
push eax
call fcn.00404d43
pop ecx
test eax, eax
je 0x408c2d
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x408c2d
mov eax, dword [0x4c1b70]
cmp eax, ebx
je 0x408c2d
push eax
call fcn.00404d43
pop ecx
test eax, eax
je 0x408c2d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4c1b68]
call fcn.00404d43
pop ecx
test eax, eax
je 0x408c4d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x408c4f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40af50
Capabilities:
Set console window title

Disassembly:
sub esp, 0x828
mov eax, dword [0x4bf030]
xor eax, esp
mov dword [esp + 0x820], eax
mov eax, dword [0x8bec3c]
push ebx
mov ebx, dword [0x8be960]
push esi
mov esi, dword [0x4bff60]
push edi
mov edi, eax
cmp eax, 0x930
jne 0x40af91
push str.Kapoza_yodiralozor
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
mov eax, dword [0x8bec3c]
mov dword [0x4c1d0c], esi
cmp eax, 0x114e
jne 0x40afb6
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov eax, dword [0x8bec3c]
cmp eax, 0x2f
jne 0x40afd6
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsW]
push 0
lea ecx, [esp + 0x2c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointW]
call fcn.0040ae50
mov ecx, dword [esp + 0x82c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00401069
add esp, 0x828
ret
Function at 0xcd8058
Capabilities:
Decompress data using aplib

Disassembly:
call 0xcd81a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xcd807e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xcd806a
add dl, dl
jne 0xcd8089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xcd80dc
xor eax, eax
add dl, dl
jne 0xcd8096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xcd817d
add dl, dl
jne 0xcd80a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xcd80b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xcd80bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xcd80c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xcd80d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xcd8075
mov eax, 1
add dl, dl
jne 0xcd80ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xcd80f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xcd80e1
sub eax, ebx
mov ebx, 1
jne 0xcd8128
mov ecx, 1
add dl, dl
jne 0xcd810e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xcd8119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xcd8105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xcd8075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xcd813f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xcd814a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xcd8136
cmp eax, 0x7d00
jae 0xcd816d
cmp eax, 0x500
jb 0xcd8168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xcd8075
cmp eax, 0x7f
ja 0xcd8170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xcd8075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xcd819e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xcd8075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10