joyce8/EMBER2024-capa huggingface dataset:
Function at 0x61cfb2
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ebx
je 0x61cfef
cmp dword [ebp + 0x14], edi
je 0x61cfef
cmp ecx, edi
jne 0x61cff6
call fcn.0062120f
push edi
push edi
push edi
push edi
mov dword [eax], 0x16
push edi
call fcn.0061c61b
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x61d00a
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
jbe 0x61d02b
cmp ebx, 0xffffffff
je 0x61d01a
push ebx
push edi
push ecx
call fcn.00626020
add esp, 0xc
cmp esi, edi
je 0x61cfd7
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
ja 0x61cfd7
mov edi, dword [ebp + 0x10]
imul edi, dword [ebp + 0x14]
test word [esi + 0xc], 0x10c
mov dword [ebp - 0x10], edi
mov ebx, edi
je 0x61d047
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
jmp 0x61d04e
mov dword [ebp - 0xc], 0x1000
test edi, edi
je 0x61d13f
test word [esi + 0xc], 0x10c
je 0x61d0a2
mov eax, dword [esi + 4]
test eax, eax
je 0x61d0a2
jl 0x61d1a0
cmp ebx, eax
mov edi, ebx
jb 0x61d073
mov edi, eax
cmp edi, dword [ebp - 4]
ja 0x61d147
push edi
push dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.0061be1b
sub dword [esi + 4], edi
add dword [esi], edi
add dword [ebp - 8], edi
sub ebx, edi
add esp, 0x10
sub dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x61d137
cmp ebx, dword [ebp - 0xc]
jb 0x61d10f
cmp dword [ebp - 0xc], 0
je 0x61d0cc
mov ecx, closesocket
xor edx, edx
cmp ebx, ecx
jbe 0x61d0c1
mov eax, ecx
div dword [ebp - 0xc]
mov eax, ecx
jmp 0x61d0c8
mov eax, ebx
div dword [ebp - 0xc]
mov eax, ebx
sub eax, edx
jmp 0x61d0d7
mov eax, closesocket
cmp ebx, eax
ja 0x61d0d7
mov eax, ebx
cmp eax, dword [ebp - 4]
ja 0x61d173
push eax
push dword [ebp - 8]
push esi
call fcn.0062acfc
pop ecx
push eax
call fcn.0062b436
add esp, 0xc
test eax, eax
je 0x61d1b2
cmp eax, 0xffffffff
je 0x61d1a0
add dword [ebp - 8], eax
sub ebx, eax
sub dword [ebp - 4], eax
jmp 0x61d137
push esi
call fcn.0062ad55
cmp eax, 0xffffffff
pop ecx
je 0x61d1a4
cmp dword [ebp - 4], 0
je 0x61d173
mov ecx, dword [ebp - 8]
inc dword [ebp - 8]
mov byte [ecx], al
mov eax, dword [esi + 0x18]
dec ebx
dec dword [ebp - 4]
mov dword [ebp - 0xc], eax
test ebx, ebx
jne 0x61d056
mov eax, dword [ebp + 0x14]
jmp 0x61cff1
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x61d15e
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.00626020
add esp, 0xc
call fcn.0062120f
push esi
push esi
push esi
push esi
mov dword [eax], 0x22
push esi
jmp 0x61cfe7
cmp dword [ebp + 0xc], 0xffffffff
je 0x61d189
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.00626020
add esp, 0xc
call fcn.0062120f
mov dword [eax], 0x22
xor eax, eax
push eax
push eax
push eax
push eax
push eax
jmp 0x61cfe7
or dword [esi + 0xc], 0x20
mov eax, edi
sub eax, ebx
xor edx, edx
div dword [ebp + 0x10]
jmp 0x61cff1
or dword [esi + 0xc], 0x10
jmp 0x61d1a4
Function at 0x61efd1
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x699fe8]
jne 0x61efdb
repz ret
jmp fcn.0062e985

Function at 0x62cc11
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x69a840]
je 0x62cc2c
inc edi
cmp edi, 0x17
jb 0x62cc1d
cmp edi, 0x17
jae 0x62cdac
push ebp
push 3
call fcn.00634ed6
cmp eax, 1
pop ecx
je 0x62cd78
push 3
call fcn.00634ed6
test eax, eax
pop ecx
jne 0x62cc60
cmp dword [0x699b80], 1
je 0x62cd78
cmp ebx, 0xfc
je 0x62cdab
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x6a6770
push ebp
call fcn.006283f8
add esp, 0xc
test eax, eax
je 0x62cc96
push esi
push esi
push esi
push esi
push esi
call fcn.0061c51f
add esp, 0x14
push 0x104
mov esi, 0x6a6789
push esi
push 0
mov byte [0x6a688d], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x62ccda
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.006283f8
add esp, 0xc
test eax, eax
je 0x62ccda
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.0061c51f
add esp, 0x14
push esi
call fcn.00621740
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x62cd1f
push esi
call fcn.00621740
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x6a6a84
push 0x654184
sub ecx, eax
push ecx
push eax
call fcn.006312db
add esp, 0x14
test eax, eax
je 0x62cd1f
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.0061c51f
add esp, 0x14
jmp 0x62cd21
xor esi, esi
push 0x654180
push ebx
push ebp
call fcn.0063126a
add esp, 0xc
test eax, eax
je 0x62cd41
push esi
push esi
push esi
push esi
push esi
call fcn.0061c51f
add esp, 0x14
push dword [edi*8 + 0x69a844]
push ebx
push ebp
call fcn.0063126a
add esp, 0xc
test eax, eax
je 0x62cd63
push esi
push esi
push esi
push esi
push esi
call fcn.0061c51f
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.00634d19
add esp, 0xc
jmp 0x62cdab
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x62cdab
cmp ebp, 0xffffffff
je 0x62cdab
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x69a844]
push dword [esi]
call fcn.00621740
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x634d19
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.006287e4
xor ebx, ebx
cmp dword [0x6a7150], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x634def
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x634ecf
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x65532c
push edi
call esi
cmp eax, ebx
je 0x634ecf
push eax
call fcn.00628776
mov dword [esp], 0x65531c
push edi
mov dword [0x6a7150], eax
call esi
push eax
call fcn.00628776
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x6a7154], eax
call esi
push eax
call fcn.00628776
mov dword [0x6a7158], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0061dbab
test eax, eax
pop ecx
pop ecx
je 0x634dbd
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0061c51f
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x634def
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00628776
cmp eax, ebx
pop ecx
mov dword [0x6a7160], eax
je 0x634def
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00628776
pop ecx
mov dword [0x6a715c], eax
mov eax, dword [0x6a715c]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x634e74
cmp dword [0x6a7160], ecx
je 0x634e74
push eax
call fcn.006287ed
push dword [0x6a7160]
mov esi, eax
call fcn.006287ed
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x634e74
cmp edi, ebx
je 0x634e74
call esi
cmp eax, ebx
je 0x634e41
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x634e41
test byte [ebp - 0x18], 1
jne 0x634e74
lea eax, [ebp - 0x10]
push eax
call fcn.0061dbe2
test eax, eax
pop ecx
je 0x634e5c
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0061c51f
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x634e6b
or dword [ebp + 0x10], 0x200000
jmp 0x634eaf
or dword [ebp + 0x10], 0x40000
jmp 0x634eaf
mov eax, dword [0x6a7154]
cmp eax, dword [ebp - 8]
je 0x634eaf
push eax
call fcn.006287ed
cmp eax, ebx
pop ecx
je 0x634eaf
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x634eaf
mov eax, dword [0x6a7158]
cmp eax, dword [ebp - 8]
je 0x634eaf
push eax
call fcn.006287ed
cmp eax, ebx
pop ecx
je 0x634eaf
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x6a7150]
call fcn.006287ed
cmp eax, ebx
pop ecx
je 0x634ecf
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x634ed1
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x146f058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.0146f1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x146f07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x146f06a
add dl, dl
jne 0x146f089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x146f0dc
xor eax, eax
add dl, dl
jne 0x146f096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x146f17d
add dl, dl
jne 0x146f0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x146f0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x146f0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x146f0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x146f0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x146f075
mov eax, 1
add dl, dl
jne 0x146f0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x146f0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x146f0e1
sub eax, ebx
mov ebx, 1
jne 0x146f128
mov ecx, 1
add dl, dl
jne 0x146f10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x146f119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x146f105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x146f075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x146f13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x146f14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x146f136
cmp eax, 0x7d00
jae 0x146f16d
cmp eax, 0x500
jb 0x146f168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x146f075
cmp eax, 0x7f
ja 0x146f170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x146f075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x146f19e
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 0x146f075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x40515c
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
test eax, eax
jle 0x405195
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403278
jmp 0x40519e
mov eax, ebx
mov edx, esi
call fcn.0040322c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4067c0
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x406808
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov eax, ebx
call fcn.0040675c
mov eax, dword [ebp - 4]
call fcn.00403414
push eax
call sub.kernel32.dll_GetFileAttributesA
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40680f
lea eax, [ebp - 4]
call fcn.00403198
ret

Function at 0x406a10
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x406a9e
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
jne 0x406a5b
push 0x104
lea eax, [ebp - 0x108]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
lea edx, [ebp - 0x108]
mov eax, esi
call fcn.00403278
jmp 0x406a88
call sub.kernel32.dll_GetCommandLineA_1
cmp byte [eax], 0
jne 0x406a6f
lea eax, [ebp - 4]
call fcn.00403198
jmp 0x406a7e
lea edx, [ebp - 4]
call fcn.004068d4
test ebx, ebx
je 0x406a7e
dec ebx
jmp 0x406a60
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.0040322c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406aa5
lea eax, [ebp - 4]
call fcn.00403198
ret

Function at 0x406aac
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffefc
mov ebx, eax
push 0x104
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
mov edx, ebx
mov eax, esp
call fcn.00404d30
add esp, 0x104
pop ebx
ret
Function at 0x406bf4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x406d15
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push 0
lea eax, [ebp - 8]
push eax
push 0
push edi
push esi
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
jne 0x406cff
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 0xc]
je 0x406c4d
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 8]
jne 0x406cff
cmp dword [ebp - 0xc], 0
jne 0x406c62
mov eax, dword [ebp - 4]
call fcn.00403198
mov bl, 1
jmp 0x406cff
lea eax, [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
xor edx, edx
call fcn.00403278
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
call fcn.00403420
push eax
lea eax, [ebp - 8]
push eax
push 0
push edi
push esi
call sub.advapi32.dll_RegQueryValueExA
cmp eax, 0xea
je 0x406c19
test eax, eax
jne 0x406cff
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 0xc]
je 0x406ca9
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 8]
jne 0x406cff
jmp 0x406ca9
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0
je 0x406cbc
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
cmp byte [eax + edx - 1], 0
je 0x406ca6
cmp dword [ebp - 8], 7
jne 0x406ccb
cmp dword [ebp - 0xc], 0
je 0x406ccb
inc dword [ebp - 0xc]
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0xc]
call fcn.004034f0
cmp dword [ebp - 8], 7
jne 0x406cf2
cmp dword [ebp - 0xc], 0
je 0x406cf2
lea eax, [ebp - 0x10]
call fcn.00403420
mov edx, dword [ebp - 0xc]
mov byte [eax + edx - 1], 0
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
call fcn.004031e8
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406d1c
lea eax, [ebp - 0x10]
call fcn.00403198
ret

Function at 0x407650
Capabilities:
Hash data with crc32

Disassembly:
push esi
xor esi, esi
mov ecx, 0x40b55c
mov eax, esi
mov edx, 8
test al, 1
je 0x40766c
shr eax, 1
xor eax, 0xedb88320
jmp 0x40766e
shr eax, 1
dec edx
jne 0x40765f
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x407658
pop esi
ret

Function at 0x40769b
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
cmp dword [0x40b558], 0
jne 0x4076a7
call fcn.00407650
push 1
push 0x40b558
call sub.kernel32.dll_InterlockedExchange
mov eax, edi
test esi, esi
je 0x4076d2
mov edx, ebx
and dx, 0xff
xor ecx, ecx
mov cl, byte [eax]
xor dx, cx
movzx edx, dx
mov edx, dword [edx*4 + 0x40b55c]
shr ebx, 8
xor edx, ebx
mov ebx, edx
dec esi
inc eax
test esi, esi
jne 0x4076ad
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x408c84
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.00408c38
test al, al
jne 0x408ca5
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x408cf1
xor eax, eax
push ebp
push 0x408ce1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00403414
push eax
call sub.kernel32.dll_DeleteFileA
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetLastError_1
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x408ce8
lea eax, [ebp - 0xc]
call fcn.00408c74
ret
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4091c8
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
mov esi, ecx
dec esi
test esi, esi
jl 0x409222
inc esi
xor edi, edi
cmp edi, 1
jne 0x4091ee
mov eax, dword [ebp + 0xc]
push eax
call sub.kernel32.dll_Sleep
jmp 0x4091fc
cmp edi, 1
jle 0x4091fc
mov eax, dword [ebp + 8]
push eax
call sub.kernel32.dll_Sleep
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.00408c84
test eax, eax
jne 0x409222
call sub.kernel32.dll_GetLastError_1
cmp eax, 2
je 0x409222
call sub.kernel32.dll_GetLastError_1
cmp eax, 3
je 0x409222
inc edi
dec esi
jne 0x4091de
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 8

Function at 0x42e002
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x407ef8
nop
mov ecx, 0x3f5b2333
nop
test eax, eax
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x42e024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42cd70
nop
nop
mov ecx, 0x60286740
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x42e084
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x117fb6c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x118b520]
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.01176e52
and dword [ebp - 0x14], 0
cmp dword [0x11cd558], 0
mov dword [ebp - 0x18], eax
jne 0x117fc1f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x117fcc7
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x117fcc7
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x11cd558], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x11cd55c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x11cd560], eax
call edi
push eax
call esi
mov dword [0x11cd568], eax
test eax, eax
je 0x117fc1f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x11cd564], eax
mov eax, dword [0x11cd564]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x117fc78
cmp dword [0x11cd568], ecx
je 0x117fc78
push eax
call esi
push dword [0x11cd568]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x117fc78
test ebx, ebx
je 0x117fc78
call edi
test eax, eax
je 0x117fc6f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x117fc6f
test byte [ebp - 8], 1
jne 0x117fc78
or dword [ebp + 0x10], 0x200000
jmp 0x117fcab
mov eax, dword [0x11cd55c]
cmp eax, dword [ebp - 0x18]
je 0x117fcab
push eax
call esi
test eax, eax
je 0x117fcab
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x117fcab
mov eax, dword [0x11cd560]
cmp eax, dword [ebp - 0x18]
je 0x117fcab
push eax
call esi
test eax, eax
je 0x117fcab
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x11cd558]
call esi
test eax, eax
je 0x117fcc7
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x117fcc9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.011713cb
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x408ecc
nop
nop
mov ecx, 0x75170439
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x42e1d0
nop
mov ecx, 0x132800db
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
pop eax
nop
nop
nop
nop
nop
add eax, 0x403ac5
nop
nop
sub eax, 0x403a6b
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
jl 0x42e030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x42e01e
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp fcn.00401219
Function at 0x1015cdd0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc4
push ebx
push esi
push edi
lea edi, [ebp - 4]
mov ecx, 1
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov ecx, 0x1020f3eb
call fcn.1009845e
mov esi, esp
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
cmp esi, esp
call fcn.1009795a
movsx ecx, ax
and ecx, 0x8000
je 0x1015ce1f
mov dword [ebp - 0xc4], 1
jmp 0x1015ce29
mov dword [ebp - 0xc4], 0
movzx eax, byte [ebp - 0xc4]
pop edi
pop esi
pop ebx
add esp, 0xc4
cmp ebp, esp
call fcn.1009795a
mov esp, ebp
pop ebp
ret