joyce8/EMBER2024-capa huggingface dataset:
Function at 0x55fc90
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x18]
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, dword [esp + 0x20]
push edi
cmp eax, ecx
jg 0x55fd49
lea edi, [esi + 0x14]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esi + 0x10]
mov ebp, dword [esp + 0x20]
lea eax, [esp + 0x14]
push 0
push eax
push ebx
push ecx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
jne 0x55fcff
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x55fcff
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
or eax, 0xffffffff
pop ebp
or edx, 0xffffffff
pop ebx
add esp, 8
ret 0x14
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x24]
push 0
push edx
mov edx, dword [esi + 0x10]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
push edi
jne 0x55fd35
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
or eax, 0xffffffff
pop ebp
or edx, 0xffffffff
pop ebx
add esp, 8
ret 0x14
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
mov edx, ebp
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 8
ret 0x14
push eax
mov eax, dword [esp + 0x30]
push eax
mov ecx, esi
call fcn.0055fb30
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0x14

Function at 0x55fda0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0xc
push esi
mov esi, ecx
push edi
lea edi, [esi + 0x30]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x10]
push 0
push edx
mov dword [esp + 0x14], eax
push eax
mov eax, dword [esi + 0x2c]
push eax
mov dword [esp + 0x20], ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x55fdf7
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x55fdf7
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
xor eax, eax
pop esi
add esp, 0xc
ret 0x10
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
lea ecx, [esp + 8]
push 0
push ecx
mov ecx, dword [esi + 0x2c]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
push edi
jne 0x55fe27
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
xor eax, eax
pop esi
add esp, 0xc
ret 0x10
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
mov eax, 1
pop esi
add esp, 0xc
ret 0x10
Function at 0x576c58
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x660878
cmp edx, dword [eax]
je 0x576c7a
add eax, 8
inc ecx
cmp eax, 0x660908
jl 0x576c6b
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x660878]
jne 0x576da8
mov eax, dword [0x664828]
cmp eax, 1
je 0x576d82
test eax, eax
jne 0x576cab
cmp dword [0x65de04], 1
je 0x576d82
cmp edx, 0xfc
je 0x576da8
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x576ce2
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00576fa0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0056f0e0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x576d25
lea eax, [ebp - 0x1a4]
push eax
call fcn.0056f0e0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x605b00
push edi
call fcn.0056b010
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00576fa0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00576fb0
lea eax, [ebp - 0xa0]
push 0x65318c
push eax
call fcn.00576fb0
push dword [esi + 0x66087c]
lea eax, [ebp - 0xa0]
push eax
call fcn.00576fb0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0057a046
add esp, 0x2c
pop edi
jmp 0x576da8
lea eax, [ebp + 8]
lea esi, [esi + 0x66087c]
push 0
push eax
push dword [esi]
call fcn.0056f0e0
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 0x57eaa0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.0056ae30
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x57eb6b
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x57eb6b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x57eb1e
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x57eb29
or bh, 8
and edi, 0x8000000
je 0x57eb44
mov eax, dword [0x665f7c]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x57eb6b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x57ef40
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x57ef6b
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x57ef8f
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x57efaa
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
Function at 0x582745
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov eax, ebx
push edi
mov edi, ecx
shr eax, 0x10
test ax, ax
mov dword [edi + 0x40], ebx
jne 0x582767
cmp dword [edi + 0x3c], 0
jne 0x582767
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.00590d5c
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
mov ecx, edi
push dword [esp + 0x18]
push eax
call fcn.00582794
pop edi
pop esi
pop ebx
ret 8

Function at 0x583dde
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x583e16
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00586f74
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00586f4c
jmp 0x583e22
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x583e26
Capabilities:
Get graphical window text

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
mov esi, ecx
push 0x6640b8
mov ecx, edi
call fcn.00586cbc
cmp dword [esi + 0x34], 0
push dword [esp + 0xc]
jne 0x583e79
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
test esi, esi
je 0x583e8c
push esi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, edi
call fcn.00586f74
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xffffffffffffffff
mov ecx, edi
call fcn.00586f4c
jmp 0x583e8c
mov ecx, esi
call fcn.00585f2e
test eax, eax
je 0x583e8c
push edi
mov ecx, eax
call fcn.00583dde
mov eax, dword [edi]
pop edi
pop esi
mov eax, dword [eax - 8]
ret 8

Function at 0x5856c4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x585706
call fcn.00590d5c
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x585706
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x5856fd
xor eax, eax
jmp 0x58570e
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00585714
pop edi
pop esi
pop ebx
ret 4
Function at 0x591ea8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov dword [ebp - 8], ecx
call fcn.00590d5c
mov esi, dword [eax + 0xc]
push 0xf1
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x591ee5
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x591ee5
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x591ee9
xor eax, eax
jmp 0x591f67
movzx eax, word [esi + 6]
push ebx
push edi
shl eax, 2
push eax
call fcn.00582ecc
and dword [ebp - 4], 0
cmp word [esi + 6], 0
pop ecx
mov ebx, eax
jbe 0x591f21
mov ecx, ebx
lea eax, [esi + 8]
movzx edx, word [eax]
inc dword [ebp - 4]
mov dword [ecx], edx
movzx edx, word [esi + 6]
inc eax
add ecx, 4
inc eax
cmp dword [ebp - 4], edx
jl 0x591f0b
movzx eax, word [esi + 6]
mov ecx, dword [ebp - 8]
push eax
push ebx
call fcn.00592058
push ebx
mov edi, eax
call fcn.00582ef5
test edi, edi
pop ecx
je 0x591f63
movzx ecx, word [esi + 4]
movzx eax, word [esi + 2]
lea esi, [ecx + 7]
push ecx
mov ecx, dword [ebp - 8]
lea edx, [eax + 7]
push eax
push esi
push edx
call fcn.00591e21
push dword [ebp + 8]
mov ecx, dword [ebp - 8]
call fcn.00591f6c
mov edi, eax
mov eax, edi
pop edi
pop ebx
pop esi
leave
ret 4

Function at 0x594d96
Capabilities:
Check for time delay via gettickcount
Log keystrokes via polling

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor ebx, ebx
push 1
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
call edi
test ax, ax
jge 0x594dbe
or dword [esi + 0x38], 1
or dword [esi + 0x34], 2
jmp 0x594dcf
push 2
call edi
test ax, ax
jge 0x594dcf
or dword [esi + 0x38], 2
or dword [esi + 0x34], 1
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebp
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x34]
push dword [eax + 0x1c]
call dword [sym.imp.USER32.dll_SetCapture]
push eax
call fcn.0058342f
cmp dword [esi + 0x30], ebx
jne 0x594ea9
mov edi, dword [sym.imp.USER32.dll_PeekMessageA]
mov ebx, pe_nt_image_headers32
call dword [sym.imp.USER32.dll_GetCapture]
push eax
call fcn.0058342f
cmp eax, dword [esp + 0x34]
jne 0x594ea9
push 1
push 0x209
push 0x200
lea eax, [esp + 0x20]
push 0
push eax
call edi
test eax, eax
jne 0x594e45
push 1
push 0x108
push ebx
push eax
lea eax, [esp + 0x24]
push eax
call edi
test eax, eax
je 0x594e8a
mov eax, dword [esp + 0x18]
cmp eax, 0x202
je 0x594ea9
cmp eax, 0x205
je 0x594ea9
cmp eax, 0x201
je 0x594ea9
cmp eax, 0x204
je 0x594ea9
cmp eax, ebx
jne 0x594e70
cmp dword [esp + 0x1c], 0x1b
je 0x594ea9
push dword [esp + 0x2c]
lea eax, [esi + 0x20]
push dword [esp + 0x2c]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x30], eax
call ebp
sub eax, dword [esp + 0x10]
cmp eax, dword [0x6642c8]
jbe 0x594e9f
mov dword [esi + 0x30], 1
cmp dword [esi + 0x30], 0
je 0x594e02
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [esi + 0x30]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4
Function at 0x10001020
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
push ecx
movzx eax, byte [edx]
push ebx
push esi
mov esi, ecx
mov ebx, 4
mov byte [esi], al
movzx eax, byte [edx + 1]
mov byte [esi + 1], al
movzx eax, byte [edx + 2]
mov byte [esi + 2], al
movzx eax, byte [edx + 3]
mov byte [esi + 3], al
movzx eax, byte [edx + 4]
mov byte [esi + 4], al
movzx eax, byte [edx + 5]
mov byte [esi + 5], al
movzx eax, byte [edx + 6]
mov byte [esi + 6], al
movzx eax, byte [edx + 7]
mov byte [esi + 7], al
movzx eax, byte [edx + 8]
mov byte [esi + 8], al
movzx eax, byte [edx + 9]
mov byte [esi + 9], al
movzx eax, byte [edx + 0xa]
mov byte [esi + 0xa], al
movzx eax, byte [edx + 0xb]
mov byte [esi + 0xb], al
movzx eax, byte [edx + 0xc]
mov byte [esi + 0xc], al
lea eax, [esi + 0xd]
mov cl, byte [edx + 0xd]
mov byte [eax], cl
mov cl, byte [edx + 0xe]
mov byte [esi + 0xe], cl
mov cl, byte [edx + 0xf]
mov byte [esi + 0xf], cl
nop word [eax + eax]
mov ch, byte [eax - 1]
mov cl, byte [eax]
mov dl, byte [eax + 1]
mov dh, byte [eax + 2]
mov byte [ebp - 4], ch
mov byte [ebp - 3], cl
mov byte [ebp - 1], dl
mov byte [ebp - 2], dh
test bl, 3
jne 0x100010fd
movzx edx, cl
movzx ecx, byte [ebp - 1]
mov cl, byte [ecx + 0x10004160]
mov byte [ebp - 3], cl
movzx ecx, byte [ebp - 2]
mov cl, byte [ecx + 0x10004160]
mov byte [ebp - 1], cl
movzx ecx, byte [ebp - 4]
mov cl, byte [ecx + 0x10004160]
mov byte [ebp - 2], cl
mov ecx, ebx
shr ecx, 2
mov ch, byte [ecx + 0x10004360]
xor ch, byte [edx + 0x10004160]
mov dl, byte [ebp - 1]
mov dh, byte [ebp - 2]
mov cl, byte [eax - 0xd]
inc ebx
xor cl, ch
mov byte [eax + 3], cl
mov cl, byte [eax - 0xc]
xor cl, byte [ebp - 3]
mov byte [eax + 4], cl
mov cl, byte [eax - 0xb]
xor cl, dl
mov byte [eax + 5], cl
mov cl, byte [eax - 0xa]
xor cl, dh
mov byte [eax + 6], cl
add eax, 4
cmp ebx, 0x2c
jb 0x100010a0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10001340
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov eax, edx
mov ebx, ecx
push esi
push edi
mov dword [ebp - 8], eax
mov esi, ebx
lea edi, [eax + 0xa0]
mov edx, 4
nop dword [eax]
mov ecx, 4
mov al, byte [edi]
inc edi
xor byte [esi], al
inc esi
sub ecx, 1
jne 0x10001365
sub edx, 1
jne 0x10001360
mov byte [ebp - 1], 9
nop dword [eax]
movzx eax, byte [ebx + 9]
mov esi, ebx
mov cl, byte [ebx + 0xd]
mov edi, 4
mov byte [ebx + 0xd], al
movzx eax, byte [ebx + 5]
mov byte [ebx + 9], al
movzx eax, byte [ebx + 1]
mov byte [ebx + 5], al
movzx eax, byte [ebx + 0xa]
mov byte [ebx + 1], cl
mov cl, byte [ebx + 2]
mov byte [ebx + 2], al
movzx eax, byte [ebx + 0xe]
mov byte [ebx + 0xa], cl
mov cl, byte [ebx + 6]
mov byte [ebx + 6], al
movzx eax, byte [ebx + 7]
mov byte [ebx + 0xe], cl
mov cl, byte [ebx + 3]
mov byte [ebx + 3], al
movzx eax, byte [ebx + 0xb]
mov byte [ebx + 7], al
movzx eax, byte [ebx + 0xf]
mov byte [ebx + 0xb], al
mov byte [ebx + 0xf], cl
nop word [eax + eax]
mov ecx, esi
mov edx, 4
nop word [eax + eax]
movzx eax, byte [ecx]
lea ecx, [ecx + 4]
mov al, byte [eax + 0x10004260]
mov byte [ecx - 4], al
sub edx, 1
jne 0x100013f0
inc esi
sub edi, 1
jne 0x100013e0
mov ch, byte [ebp - 1]
mov eax, ebx
movzx edx, ch
mov edi, 4
shl edx, 4
add edx, dword [ebp - 8]
nop dword [eax]
mov esi, 4
mov cl, byte [edx]
inc edx
xor byte [eax], cl
inc eax
sub esi, 1
jne 0x10001425
sub edi, 1
jne 0x10001420
test ch, ch
je 0x10001448
mov ecx, ebx
call fcn.10001140
dec byte [ebp - 1]
jmp 0x10001380
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10001450
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc8
push esi
mov eax, edx
mov esi, ecx
mov dword [esp + 4], eax
mov dword [esp + 8], esi
push edi
test al, 0xf
je 0x10001476
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
lea ecx, [esp + 0x10]
call fcn.10001020
mov eax, dword [ebp + 0xc]
movups xmm0, xmmword [eax]
mov eax, dword [esp + 8]
movups xmmword [esp + 0xc0], xmm0
test eax, eax
je 0x100014e0
dec eax
lea edi, [esp + 0xc0]
shr eax, 4
sub edi, esi
inc eax
mov dword [esp + 8], eax
nop word [eax + eax]
movups xmm0, xmmword [esi]
lea edx, [esp + 0x10]
mov ecx, esi
call fcn.10001340
mov ecx, 0x10
mov al, byte [edi + esi]
xor byte [esi], al
inc esi
sub ecx, 1
jne 0x100014c3
sub edi, 0x10
sub dword [esp + 8], 1
movups xmmword [esp + 0xc0], xmm0
jne 0x100014b0
mov eax, dword [esp + 0xc]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100016e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ecx + 0x3c]
mov dword [ebp - 0xc], edx
push ebx
push esi
mov eax, dword [eax + ecx + 0x78]
push edi
mov dword [ebp - 8], ecx
mov edx, dword [eax + ecx + 0x1c]
mov dword [ebp - 0x10], edx
lea ebx, [edx + ecx]
mov dword [ebp - 0x1c], ebx
mov ebx, dword [eax + ecx + 0x20]
mov eax, dword [eax + ecx + 0x24]
add ebx, ecx
add eax, ecx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 4], eax
test edx, edx
je 0x10001774
nop
mov edi, dword [ebx + eax*4]
mov ebx, 0x23
add edi, ecx
xor edx, edx
mov ecx, edi
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10001731
sub ecx, esi
je 0x1000175d
nop dword [eax]
movsx ecx, byte [edx + edi]
lea ebx, [ebx + ebx*2]
mov eax, edi
add ebx, ecx
inc edx
lea esi, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10001750
sub eax, esi
cmp edx, eax
jb 0x10001740
mov eax, dword [ebp - 4]
cmp ebx, dword [ebp - 0xc]
je 0x1000177d
mov ecx, dword [ebp - 8]
inc eax
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 4], eax
cmp eax, dword [ebp - 0x10]
jb 0x10001720
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
movzx eax, word [ecx + eax*2]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx + eax*4]
add eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x10001e30
Capabilities:
Create thread
Get common file path
Link many functions at runtime
Suspend thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 0x410
push edi
cmp eax, 1
jne 0x1000202a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
add esp, 4
lea eax, [ebp - 0x208]
push eax
push 0
push 0
push 0x29
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push str.version.dll
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x410]
push 0x10004404
push eax
call fcn.100016b0
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x410]
add esp, 0x10
mov dword [0x100068e8], edi
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x100068ec], eax
test eax, eax
jne 0x10001eb1
pop edi
mov esp, ebp
pop ebp
ret 0xc
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x10004410
push eax
call esi
push 0x10004424
push dword [0x100068ec]
mov dword [0x10006438], eax
call esi
push 0x10004440
push dword [0x100068ec]
mov dword [0x1000643c], eax
call esi
push 0x10004458
push dword [0x100068ec]
mov dword [0x10006440], eax
call esi
push 0x10004470
push dword [0x100068ec]
mov dword [0x10006444], eax
call esi
push 0x10004488
push dword [0x100068ec]
mov dword [0x10006448], eax
call esi
push 0x100044a4
push dword [0x100068ec]
mov dword [0x1000644c], eax
call esi
push 0x100044c0
push dword [0x100068ec]
mov dword [0x10006450], eax
call esi
push 0x100044d8
push dword [0x100068ec]
mov dword [0x10006454], eax
call esi
push 0x100044ec
push dword [0x100068ec]
mov dword [0x10006458], eax
call esi
push 0x100044fc
push dword [0x100068ec]
mov dword [0x1000645c], eax
call esi
push 0x1000450c
push dword [0x100068ec]
mov dword [0x10006460], eax
call esi
push 0x1000451c
push dword [0x100068ec]
mov dword [0x10006464], eax
call esi
push 0x1000452c
push dword [0x100068ec]
mov dword [0x10006468], eax
call esi
push 0x10004540
push dword [0x100068ec]
mov dword [0x1000646c], eax
call esi
push 0x10004554
push dword [0x100068ec]
mov dword [0x10006470], eax
call esi
push 0x10004564
push dword [0x100068ec]
mov dword [0x10006474], eax
call esi
mov dword [0x10006478], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0x100068f8
push 0
push edi
push 0x100017a0
push 0
push 0
mov dword [0x100068f0], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x100068f4], eax
pop esi
test eax, eax
je 0x10002078
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
pop edi
mov esp, ebp
pop ebp
ret 0xc
cmp eax, 2
jne 0x10002064
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp eax, dword [0x100068f8]
jne 0x10002078
push dword [0x100068f0]
push 0
push 2
call dword [sym.imp.KERNEL32.dll_OpenThread]
test eax, eax
je 0x10002078
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
mov eax, 1
pop edi
mov esp, ebp
pop ebp
ret 0xc
test eax, eax
jne 0x10002078
mov eax, dword [0x100068ec]
test eax, eax
je 0x10002078
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, 1
pop edi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x432002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43200c
nop
nop
nop
nop
nop
pop eax
add eax, 0x40729f
nop
nop
sub eax, 0x407245
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
jl 0x432030
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43201e
nop
nop
popal
nop
nop
nop
jmp 0x431219