joyce8/EMBER2024-capa huggingface dataset:
Function at 0xe96108
Capabilities:
Decompress data using aplib

Disassembly:
call 0xe96258
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 0xe9612e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xe9611a
add dl, dl
jne 0xe96139
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xe9618c
xor eax, eax
add dl, dl
jne 0xe96146
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xe9622d
add dl, dl
jne 0xe96155
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xe96160
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xe9616b
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xe96176
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xe96182
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xe96125
mov eax, 1
add dl, dl
jne 0xe9619a
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xe961a5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xe96191
sub eax, ebx
mov ebx, 1
jne 0xe961d8
mov ecx, 1
add dl, dl
jne 0xe961be
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xe961c9
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xe961b5
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xe96125
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xe961ef
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xe961fa
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xe961e6
cmp eax, 0x7d00
jae 0xe9621d
cmp eax, 0x500
jb 0xe96218
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xe96125
cmp eax, 0x7f
ja 0xe96220
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xe96125
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xe9624e
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 0xe96125
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x404b24
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x404b33
pop dword [ebp - 0xc]
mov eax, 0x1e3e2742
add eax, 0xe20223f1
sub dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], 0x4fd76d8e
sub dword [ebp - 0x1c], 0x1852843
mov dword [ebp - 0x18], 0xba97d7b9
sub dword [ebp - 0x18], 0x88648b74
mov dword [ebp - 0x14], 0xc88272de
add dword [ebp - 0x14], 0x83c9d150
mov dword [ebp - 0x10], 0xbc52cb99
add dword [ebp - 0x10], 0x43ad3467
lea eax, [ebp - 0x1c]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0xc]
call dword [eax]
mov dword [ebp - 0x1c], 0x583234b2
sub dword [ebp - 0x1c], 0xe3bfcb5c
mov dword [ebp - 0x18], 0x1e9998ce
add dword [ebp - 0x18], 0x22d2c8a7
mov dword [ebp - 0x14], 0x976cabc9
sub dword [ebp - 0x14], 0x33fd3f5d
mov dword [ebp - 0x10], 0xd50e362b
add dword [ebp - 0x10], 0x2af1c9d5
lea ebx, [ebp - 0x1c]
push ebx
push eax
mov eax, 0x791dff90
sub eax, 0x78dbce6c
add eax, dword [ebp - 0xc]
call dword [eax]
push 0x40
push 0x1000
push 0x3aacc
push 0
call eax
mov ecx, 0x42ba85b1
sub ecx, 0x42ba49e2
mov edi, eax
mov esi, 0x9a252da6
sub esi, 0x99e1e9a6
add esi, dword [ebp - 0xc]
mov ebx, 0x5f3066c8
sub ebx, 0xc6d7a4e5
sub dword [ebp - 8], 0x6f958d88
mov edx, dword [esi]
add dword [ebp - 4], 0x8ea80bbb
xor edx, ebx
mov dword [ebp - 8], 0x7ac36399
mov dword [edi], edx
sub dword [ebp - 8], 0xa6025fae
add edi, 0xcc111e3
sub edi, 0xcc111df
add esi, 0xd16fd447
add esi, 0x2e902bbd
loop 0x404c50
add eax, 0x49c059c7
sub eax, 0x49bf77b8
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x83b7f746
add ecx, 0x7c8808ba
add ecx, dword [ebp - 0xc]
call ebx
leave
ret

Function at 0x407e15
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42e180]
jne 0x407e1f
repz ret
jmp fcn.0040bc0c

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x414779
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.004100b5
xor ebx, ebx
cmp dword [0x4244a8], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x41484e
push 0x41cb64
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x4147b9
xor eax, eax
jmp 0x414912
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x41cb58
push edi
call esi
cmp eax, ebx
je 0x4147b2
push eax
call fcn.00410052
mov dword [esp], 0x41cb48
push edi
mov dword [0x4244a8], eax
call esi
push eax
call fcn.00410052
mov dword [esp], 0x41cb34
push edi
mov dword [0x4244ac], eax
call esi
push eax
call fcn.00410052
mov dword [0x4244b0], eax
lea eax, [ebp - 8]
push eax
call fcn.0040eac1
test eax, eax
pop ecx
pop ecx
je 0x41481c
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0040cbfb
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x41484e
push 0x41cb18
push edi
call esi
push eax
call fcn.00410052
cmp eax, ebx
pop ecx
mov dword [0x4244b8], eax
je 0x41484e
push 0x41cb00
push edi
call esi
push eax
call fcn.00410052
pop ecx
mov dword [0x4244b4], eax
mov eax, dword [0x4244b4]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x4148c7
cmp dword [0x4244b8], esi
je 0x4148c7
push eax
call fcn.004100be
pop ecx
call eax
cmp eax, ebx
je 0x414894
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x4244b8]
call fcn.004100be
pop ecx
call eax
test eax, eax
je 0x414894
test byte [ebp - 0x18], 1
jne 0x4148c7
lea eax, [ebp - 0xc]
push eax
call fcn.0040eaf8
test eax, eax
pop ecx
je 0x4148af
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0040cbfb
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x4148be
or dword [ebp + 0x10], 0x200000
jmp 0x4148f8
or dword [ebp + 0x10], 0x40000
jmp 0x4148f8
mov eax, dword [0x4244ac]
cmp eax, esi
je 0x4148f8
push eax
call fcn.004100be
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x4148f8
mov eax, dword [0x4244b0]
cmp eax, esi
je 0x4148f8
push dword [ebp - 4]
push eax
call fcn.004100be
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x4244a8]
call fcn.004100be
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x10002021
Capabilities:
Query environment variable

Disassembly:
cmp dword [esp + 0xc], 0
push ebx
push ebp
je 0x1000209d
xor ebp, ebp
push ebp
push dword [esp + 0x18]
push dword [esp + 0x14]
call sym.java.dll__JNU_GetStringPlatformChars_12
mov ebx, eax
test ebx, ebx
je 0x1000209d
push edi
push ebp
push ebp
push ebx
call dword [sym.imp.kernel32.dll_GetEnvironmentVariableA]
mov ebp, eax
test ebp, ebp
je 0x10002088
push ebp
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edi, eax
pop ecx
test edi, edi
je 0x10002088
push ebp
push edi
push ebx
call dword [sym.imp.kernel32.dll_GetEnvironmentVariableA]
push edi
test eax, eax
je 0x10002081
push dword [esp + 0x14]
call sym.java.dll__JNU_NewStringPlatform_8
push edi
mov ebp, eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
jmp 0x1000208a
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
xor ebp, ebp
push ebx
push dword [esp + 0x1c]
push dword [esp + 0x18]
call sym.java.dll__JNU_ReleaseStringPlatformChars_12
mov eax, ebp
pop edi
jmp 0x1000209f
xor eax, eax
pop ebp
pop ebx
ret 0xc

Function at 0x10002819
Capabilities:
Identify system language via api

Disassembly:
cmp dword [esp + 0xc], 0
je 0x10002828
call dword [sym.imp.kernel32.dll_GetUserDefaultLCID]
jmp 0x1000282e
call dword [sym.imp.kernel32.dll_GetUserDefaultUILanguage]
push esi
movzx eax, ax
push edi
push eax
call fcn.10012bc0
mov esi, eax
pop ecx
test esi, esi
je 0x1000285a
mov ecx, dword [esp + 0xc]
push esi
push ecx
mov edx, dword [ecx]
call dword [edx + 0x29c]
push esi
mov edi, eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
jmp 0x1000286a
push str.memory_allocation_error
push dword [esp + 0x10]
call sym.java.dll__JNU_ThrowOutOfMemoryError_8
xor edi, edi
mov eax, edi
pop edi
pop esi
ret 0xc

Function at 0x10003d57
Capabilities:
Query environment variable

Disassembly:
push ecx
push ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x18]
push edi
push esi
call sym.java.dll__JNU_ClassString_4
mov ebp, eax
test ebp, ebp
je 0x10003da0
mov ecx, dword [esi]
push str.__B_V
push str._init_
push ebp
push esi
call dword [ecx + 0x84]
mov dword [esp + 0x14], eax
test eax, eax
je 0x10003da0
call dword [sym.imp.kernel32.dll_GetEnvironmentStrings]
mov edi, eax
test edi, edi
jne 0x10003da9
push str.GetEnvironmentStrings_failed
push esi
call sym.java.dll__JNU_ThrowOutOfMemoryError_8
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret
xor ebx, ebx
cmp byte [edi], bl
je 0x10003dbc
mov al, byte [ebx + edi]
inc ebx
test al, al
jne 0x10003daf
cmp byte [ebx + edi], al
jne 0x10003daf
mov eax, dword [esi]
push ebx
push esi
call dword [eax + 0x2c0]
mov ecx, eax
mov dword [esp + 0x10], ecx
push edi
test ecx, ecx
jne 0x10003dd9
call dword [sym.imp.kernel32.dll_FreeEnvironmentStringsA]
jmp 0x10003da0
mov eax, dword [esi]
push ebx
push 0
push ecx
push esi
call dword [eax + 0x340]
push edi
call dword [sym.imp.kernel32.dll_FreeEnvironmentStringsA]
push dword [esp + 0x10]
mov eax, dword [esi]
push dword [esp + 0x18]
push ebp
push esi
call dword [eax + 0x70]
add esp, 0x10
jmp 0x10003da2
Function at 0x10007bba
Capabilities:
Create new key via cryptacquirecontext
Generate random numbers via winapi

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [sym.imp.advapi32.dll_CryptAcquireContextA]
lea eax, [esp + 0xc]
push edi
push 0
xor ebp, ebp
mov edi, str.J2SE
inc ebp
xor bl, bl
push ebp
push 0
push edi
push eax
call esi
test eax, eax
jne 0x10007bf4
push 8
push ebp
push eax
push edi
lea eax, [esp + 0x20]
push eax
call esi
test eax, eax
jne 0x10007bf4
xor al, al
jmp 0x10007c51
mov esi, dword [esp + 0x18]
push dword [esp + 0x20]
push esi
mov eax, dword [esi]
call dword [eax + 0x2ac]
mov ecx, dword [esi]
mov ebp, eax
push 0
push dword [esp + 0x24]
push esi
call dword [ecx + 0x2e0]
mov edi, eax
test edi, edi
je 0x10007c43
push edi
push ebp
push dword [esp + 0x18]
call dword [sym.imp.advapi32.dll_CryptGenRandom]
mov ecx, dword [esi]
test eax, eax
push 1
pop eax
push 0
push edi
push dword [esp + 0x28]
movzx ebx, bl
push esi
cmovne ebx, eax
call dword [ecx + 0x300]
push 0
push dword [esp + 0x14]
call dword [sym.imp.advapi32.dll_CryptReleaseContext]
mov al, bl
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc

Function at 0x10007f15
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push esi
push dword [0x1001ff58]
push dword [esp + 0x18]
push dword [esp + 0x14]
call fcn.1000a1e8
mov esi, eax
add esp, 0xc
test esi, esi
je 0x10007f66
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
push eax
push esi
call fcn.10012bc0
push esi
mov ebx, eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 0xc
cmp ebx, 0xffffffff
je 0x10007f66
mov ecx, dword [esp + 0x18]
sub ecx, 1
je 0x10007f75
sub ecx, 1
je 0x10007f6d
dec ecx
sub ecx, 1
je 0x10007f75
xor al, al
pop esi
pop ebx
ret 0x10
and bl, 0x11
cmp bl, 1
je 0x10007f66
mov al, 1
jmp 0x10007f68

Function at 0x10007f79
Capabilities:
Create directory

Disassembly:
push edi
push dword [0x1001ff58]
push dword [esp + 0x14]
push dword [esp + 0x10]
call fcn.1000a1e8
mov edi, eax
add esp, 0xc
test edi, edi
je 0x10007fb3
push esi
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryW]
push edi
mov esi, eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
test esi, esi
pop esi
je 0x10007fb3
mov al, 1
jmp 0x10007fb5
xor al, al
pop edi
ret 0xc
Function at 0x10007fba
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
push edi
xor edi, edi
push edi
push dword [esp + 0x18]
push dword [esp + 0x14]
call fcn.1000a6ac
mov esi, eax
add esp, 0xc
test esi, esi
je 0x1000803c
push esi
call fcn.10012bc0
pop ecx
test eax, eax
jne 0x10008034
push edi
push 0x200080
push 1
push edi
push 3
push 0xc0000000
push esi
call dword [sym.imp.kernel32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x10008043
call dword [sym.imp.kernel32.dll_GetLastError]
mov edi, eax
cmp edi, 0x50
je 0x10008034
cmp edi, 0xb7
je 0x10008034
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x10008034
push edi
call dword [sym.imp.kernel32.dll_SetLastError]
push str.Could_not_open_file
push dword [esp + 0x10]
call sym.java.dll__JNU_ThrowIOExceptionWithLastError_8
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
xor al, al
pop edi
pop esi
ret 0xc
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
push edi
call dword [sym.imp.kernel32.dll_CloseHandle]
mov al, 1
jmp 0x1000803e

Function at 0x1000836f
Capabilities:
Get disk size

Disassembly:
push ebp
lea ebp, [esp - 0x7a8]
sub esp, 0x828
mov eax, dword [0x1001ff00]
xor eax, ebp
mov dword [ebp + 0x7a4], eax
mov eax, dword [ebp + 0x7b8]
xorps xmm0, xmm0
mov ecx, dword [ebp + 0x7b0]
push ebx
push esi
push edi
push dword [0x1001ff58]
movlpd qword [ebp - 0x80], xmm0
push eax
push ecx
call fcn.1000a1e8
add esp, 0xc
mov ebx, eax
lea eax, [ebp - 0x60]
push 0x400
push eax
push ebx
call dword [sym.imp.kernel32.dll_GetVolumePathNameW]
test eax, eax
je 0x1000840e
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.kernel32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x1000840e
mov eax, dword [ebp + 0x7bc]
sub eax, 0
je 0x10008406
sub eax, 1
je 0x100083fe
sub eax, 1
jne 0x1000840e
mov esi, dword [ebp - 0x68]
mov edi, dword [ebp - 0x64]
jmp 0x10008414
mov esi, dword [ebp - 0x70]
mov edi, dword [ebp - 0x6c]
jmp 0x10008414
mov esi, dword [ebp - 0x78]
mov edi, dword [ebp - 0x74]
jmp 0x10008414
mov edi, dword [ebp - 0x7c]
mov esi, dword [ebp - 0x80]
push ebx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
mov ecx, dword [ebp + 0x7a4]
mov edx, edi
pop edi
mov eax, esi
xor ecx, ebp
pop esi
pop ebx
call fcn.10014785
add ebp, 0x7a8
leave
ret 0x10
Function at 0x1000b6d5
Capabilities:
Get common file path

Disassembly:
sub esp, 0x108
mov eax, dword [0x1001ff00]
xor eax, esp
mov dword [esp + 0x104], eax
push ebp
push esi
push edi
mov edi, dword [esp + 0x118]
lea eax, [esp + 0xc]
mov ebp, 0x104
xor esi, esi
push ebp
push eax
call dword [sym.imp.kernel32.dll_GetSystemDirectoryA]
test eax, eax
je 0x1000b738
lea eax, [esp + 0xc]
push 0x10017e60
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat
lea eax, [esp + 0x14]
push edi
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat
add esp, 0x10
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.kernel32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
jne 0x1000b772
push ebp
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.kernel32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x1000b772
lea eax, [esp + 0xc]
push 0x10017e60
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat
lea eax, [esp + 0x14]
push edi
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat
add esp, 0x10
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.kernel32.dll_LoadLibraryA]
mov esi, eax
mov ecx, dword [esp + 0x110]
mov eax, esi
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.10014785
add esp, 0x108
ret

Function at 0x10012bc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x10012bcf
pop dword [ebp - 0xc]
mov eax, 0x3880c0b
sub eax, 0xf386e03c
sub dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], 0x6b581aa0
add dword [ebp - 0x1c], 0xe2fa2aab
mov dword [ebp - 0x18], 0x9519af5
add dword [ebp - 0x18], 0x28e1b150
mov dword [ebp - 0x14], 0x63516d31
add dword [ebp - 0x14], 0xe8fad6fd
mov dword [ebp - 0x10], 0x23ab57dc
add dword [ebp - 0x10], 0xdc54a824
lea eax, [ebp - 0x1c]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0xc]
call dword [eax]
mov dword [ebp - 0x1c], 0x68f05396
add dword [ebp - 0x1c], 0xb8215c0
mov dword [ebp - 0x18], 0xcd3bf9c0
sub dword [ebp - 0x18], 0x8bcf984b
mov dword [ebp - 0x14], 0xc807d30e
sub dword [ebp - 0x14], 0x649866a2
mov dword [ebp - 0x10], 0x66ea7f52
sub dword [ebp - 0x10], 0x66ea7f52
lea ebx, [ebp - 0x1c]
push ebx
push eax
mov eax, 0xb72e6ac0
sub eax, 0xa72d0a5c
add eax, dword [ebp - 0xc]
call dword [eax]
push 0x40
push 0x1000
push 0x37ed2
push 0
call eax
mov ecx, 0x28e85436
sub ecx, 0x28e80e0d
xor edx, edx
add edx, eax
mov edi, 0x10023600
add edi, dword [ebp - 0xc]
mov esi, 0xfbbab6e5
add dword [ebp - 4], 0x89a87c16
mov ebx, dword [edi]
add ebx, esi
xor dword [ebp - 4], eax
mov dword [edx], ebx
add dword [ebp - 4], 0x63ec955d
add edx, 4
add edi, 0x834a0042
sub edi, 0x834a003e
loop 0x10012ce2
add eax, 0x1f6e18bb
add eax, 0xe092f2bc
mov ebx, eax
add eax, 0xbaa35ff6
sub eax, 0xbaa35ff1
mov ecx, 0x12647831
add ecx, 0xfd9b87cf
add ecx, dword [ebp - 0xc]
call ebx
leave
ret
Function at 0x4012b6
Capabilities:
Hide graphical window

Disassembly:
push ebp
push 0x10000
push 0x1000
push 1
call dword [sym.imp.KERNEL32.dll_HeapCreate]
mov dword [0x403eb4], eax
push 0x64
push 8
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, 0x30
push eax
mov dword [eax], ecx
add eax, 0x4c
mov ebp, eax
mov eax, 0x400000
mov dword [0x403eb0], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x44], 0x401191
mov dword [ebp - 0x24], str.resiliency
call dword [sym.imp.USER32.dll_RegisterClassExA]
xor eax, eax
push eax
push dword [0x403eb0]
push eax
push eax
push 0x190
push 0x2b2
push 0x640
push 0x9c4
push 0
push str.abasement
push str.resiliency
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x403eb8], eax
push eax
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
call dword [sym.imp.USER32.dll_UpdateWindow]
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x401380
mov edi, dword [sym.imp.USER32.dll_DispatchMessageA]
lea ecx, [ebp - 0x1c]
push ecx
call edi
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jne 0x401367
mov eax, dword [0x403eb4]
push eax
call dword [sym.imp.KERNEL32.dll_HeapDestroy]
pop ebp
ret 0x10

Function at 0x79db54
Capabilities:
Encode data using xor

Disassembly:
pushal
call 0x79db5a
pop ebp
sub ebp, 6
sub ebp, 0x39db54
jmp 0x79dbb8
jmp 0x79dbc1
mov eax, 0x39db54
add eax, ebp
add eax, 0x93
mov ecx, 0x625
mov edx, 0x3a30206f
xor byte [eax], dl
inc eax
dec ecx
jne 0x79dbd8
jmp 0x79dbeb
add eax, 0x7f6f072f
outsd dx, dword [esi]
outsd dx, dword [esi]
pop es
outsd dx, dword [esi]
mov dword [0xaf5c6f43], eax
aas
nop
cli
stosd dword es:[edi], eax
iretd
Function at 0xa4c898
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00a4c9e8
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 0xa4c8be
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xa4c8aa
add dl, dl
jne 0xa4c8c9
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xa4c91c
xor eax, eax
add dl, dl
jne 0xa4c8d6
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xa4c9bd
add dl, dl
jne 0xa4c8e5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xa4c8f0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xa4c8fb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xa4c906
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xa4c912
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xa4c8b5
mov eax, 1
add dl, dl
jne 0xa4c92a
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xa4c935
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xa4c921
sub eax, ebx
mov ebx, 1
jne 0xa4c968
mov ecx, 1
add dl, dl
jne 0xa4c94e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xa4c959
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xa4c945
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xa4c8b5
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xa4c97f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xa4c98a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xa4c976
cmp eax, 0x7d00
jae 0xa4c9ad
cmp eax, 0x500
jb 0xa4c9a8
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xa4c8b5
cmp eax, 0x7f
ja 0xa4c9b0
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xa4c8b5
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xa4c9de
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 0xa4c8b5
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x4010fc
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43e004]
jne 0x401106
repz ret
jmp fcn.0040153f

Function at 0x403eeb
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x43e004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00402ae9
and dword [ebp - 0x14], 0
cmp dword [0x4409d0], 0
mov dword [ebp - 0x18], eax
jne 0x403f9e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x404046
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x404046
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4409d0], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4409d4], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4409d8], eax
call edi
push eax
call esi
mov dword [0x4409e0], eax
test eax, eax
je 0x403f9e
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4409dc], eax
mov eax, dword [0x4409dc]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x403ff7
cmp dword [0x4409e0], ecx
je 0x403ff7
push eax
call esi
push dword [0x4409e0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x403ff7
test ebx, ebx
je 0x403ff7
call edi
test eax, eax
je 0x403fee
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x403fee
test byte [ebp - 8], 1
jne 0x403ff7
or dword [ebp + 0x10], 0x200000
jmp 0x40402a
mov eax, dword [0x4409d4]
cmp eax, dword [ebp - 0x18]
je 0x40402a
push eax
call esi
test eax, eax
je 0x40402a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40402a
mov eax, dword [0x4409d8]
cmp eax, dword [ebp - 0x18]
je 0x40402a
push eax
call esi
test eax, eax
je 0x40402a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4409d0]
call esi
test eax, eax
je 0x404046
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x404048
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004010fc
leave
ret