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

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x49ff61
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x49ff61
mov eax, dword [eax + 0x44]
test eax, eax
je 0x49ff61
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x4badf8
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x525b2c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.00515dda
mov dword [esi], 0x1c69708
lea edi, [esi + 0x3c]
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], edi
lea ecx, [edi + 0x30]
mov dword [edi], fcn.004bba30
call fcn.004bfa10
lea ecx, [edi + 0x44]
mov byte [esp + 0x18], 1
call fcn.004bfa10
lea ecx, [edi + 0x58]
mov byte [esp + 0x18], 2
call fcn.004bfa10
lea ecx, [edi + 0x6c]
mov byte [esp + 0x18], 3
call fcn.004bfa10
mov dword [edi], 0x1c6962c
lea ecx, [esi + 0xcc]
mov byte [esp + 0x18], 4
call fcn.00512dca
mov dword [esi + 0xd8], 0
mov dword [esi + 0xd4], 0x1c696fc
mov eax, dword [0x1c9d8e0]
mov dword [esi + 0xdc], eax
lea ecx, [esi + 0xe0]
mov byte [esp + 0x18], 7
call fcn.004bfa10
lea ecx, [esi + 0xf4]
mov byte [esp + 0x18], 8
call fcn.00512dca
mov ecx, dword [esp + 0x10]
mov dword [esi], 0x1c6963c
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x4baee0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x525bb4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esi], 0x1c6963c
lea ecx, [esi + 0xf4]
mov dword [esp + 0x18], 5
call fcn.00512df3
lea ecx, [esi + 0xe0]
mov byte [esp + 0x18], 4
mov dword [ecx], 0x1c69628
call fcn.004bfc10
lea ecx, [esi + 0xdc]
mov byte [esp + 0x18], 3
call fcn.00514715
lea ecx, [esi + 0xd4]
mov dword [esp + 0xc], ecx
mov dword [ecx], 0x1c697c0
mov byte [esp + 0x18], 6
call fcn.0051b5a3
lea ecx, [esi + 0xcc]
mov byte [esp + 0x18], 1
call fcn.00512df3
lea edi, [esi + 0x3c]
mov dword [esp + 0xc], edi
lea ecx, [edi + 0x6c]
mov byte [esp + 0x18], 9
mov dword [ecx], 0x1c69628
call fcn.004bfc10
lea ecx, [edi + 0x58]
mov byte [esp + 0x18], 8
mov dword [ecx], 0x1c69628
call fcn.004bfc10
lea ecx, [edi + 0x44]
mov byte [esp + 0x18], 7
mov dword [ecx], 0x1c69628
call fcn.004bfc10
lea ecx, [edi + 0x30]
mov byte [esp + 0x18], 0
mov dword [ecx], 0x1c69628
call fcn.004bfc10
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.0051298c
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4c9db0
Capabilities:
Terminate thread

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
push esi
push eax
call fcn.004c9ee0
add esp, 8
test eax, eax
jne 0x4c9dc9
pop esi
ret
mov eax, dword [esi + 0x8c]
test eax, eax
jne 0x4c9dd5
pop esi
ret
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [esi + 0x8c], 0
pop esi
ret

Function at 0x4c9df0
Capabilities:
Terminate thread

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
mov eax, dword [edi + 0x38c]
mov esi, dword [edi]
push eax
call fcn.004ca0f0
add esp, 4
test esi, esi
je 0x4c9e7a
mov edi, dword [esp + 0xc]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [esi + 0x8c]
test eax, eax
je 0x4c9e6e
cmp dword [esi + 8], 0xffffffff
je 0x4c9e6e
push 0
push eax
call ebp
mov dword [esi + 0x8c], 0
mov ecx, dword [edi + 0xa0]
test ecx, ecx
je 0x4c9e5c
mov eax, dword [esi + 0x1c]
push 0
lea edx, [eax*8]
sub edx, eax
lea eax, [ecx + edx*4]
mov ecx, dword [ecx + edx*4 + 0x14]
mov edx, dword [eax + 0xc]
add ecx, edx
push ecx
jmp 0x4c9e60
push 0
push 0
push esi
push 8
push 0x15
push edi
call fcn.004c5a60
add esp, 0x18
mov esi, dword [esi + 0x48]
test esi, esi
jne 0x4c9e16
mov edi, dword [esp + 0x14]
pop ebp
mov edx, dword [edi + 0x38c]
push edx
call fcn.004ca100
add esp, 4
pop edi
pop esi
ret

Function at 0x4cb2e0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov edx, eax
dec eax
test edx, edx
je 0x4cb31c
push ebx
push esi
lea esi, [eax + 1]
mov eax, dword [esp + 0x14]
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, ah
mov ax, word [edx*2 + 0x1c69e04]
xor ax, bx
inc ecx
dec esi
jne 0x4cb2f8
pop esi
pop ebx
ret
mov ax, word [esp + 0xc]
ret
Function at 0x4d1dc0
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x94
mov eax, dword [esp + 0x9c]
push esi
push 0x40
lea ecx, [esp + 0x1c]
xor esi, esi
push eax
push ecx
mov dword [esp + 0x24], 0x67452301
mov dword [esp + 0x28], 0xefcdab89
mov dword [esp + 0x2c], 0x98badcfe
mov dword [esp + 0x30], 0x10325476
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
call fcn.004d1bd0
lea edx, [esp + 0x24]
lea eax, [esp + 0x10]
push edx
push eax
call fcn.004d1d00
mov esi, dword [esp + 0xb0]
add esp, 0x14
xor edx, edx
mov cl, byte [esp + edx + 4]
mov al, cl
and cl, 0xf
sar al, 4
and al, 0xf
cmp al, 0xa
movsx eax, al
jge 0x4d1e3a
add eax, 0x30
jmp 0x4d1e3d
add eax, 0x57
mov byte [esi], al
cmp cl, 0xa
movsx eax, cl
jge 0x4d1e4c
add eax, 0x30
jmp 0x4d1e4f
add eax, 0x57
mov byte [esi + 1], al
inc edx
add esi, 2
cmp edx, 0x10
jl 0x4d1e20
pop esi
add esp, 0x94
ret

Function at 0x4d1e70
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x84
push ebx
mov ebx, dword [esp + 0x90]
push ebp
mov ebp, dword [esp + 0x90]
push esi
push edi
mov ecx, 0x10
xor eax, eax
mov edi, ebp
mov esi, dword [esp + 0xa0]
rep stosd dword es:[edi], eax
mov ecx, 8
mov edi, ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x20
xor eax, eax
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
test esi, esi
mov dword [esp + 0x14], 0x9d14e9a1
mov dword [esp + 0x18], 0x593b6b0e
je 0x4d1efb
mov edi, esi
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0x28
jne 0x4d1edf
mov byte [esi + 0x20], al
mov ecx, 0x20
jmp 0x4d1ee9
cmp ecx, 0x38
jle 0x4d1ee9
mov ecx, 0x38
mov eax, ecx
lea edi, [esp + 0x1c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x1c6a29c
test ecx, ecx
je 0x4d1f2f
mov edi, ecx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0x38
jle 0x4d1f1a
mov ecx, 0x38
xor eax, eax
test ecx, ecx
jle 0x4d1f2f
mov dl, byte [eax + 0x1c6a29c]
xor byte [esp + eax + 0x1c], dl
inc eax
cmp eax, ecx
jl 0x4d1f20
lea eax, [esp + 0x14]
push eax
push ebp
call fcn.004d1dc0
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, 0x1c904e8
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
lea esi, [edx + ebp]
sub edi, ecx
mov eax, ecx
mov dword [esp + 0x10], esi
mov esi, edi
mov edi, dword [esp + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, edx
cdq
and edx, 3
and ecx, 3
add eax, edx
rep movsb byte es:[edi], byte [esi]
sar eax, 2
xor ecx, ecx
test eax, eax
jle 0x4d1f94
mov esi, ebp
mov dl, byte [esi]
add esi, 4
mov byte [ecx + ebx], dl
inc ecx
cmp ecx, eax
jl 0x4d1f87
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x84
ret
Function at 0x4e6fb0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x1ccc5c8]
xor edx, edx
cmp eax, edx
jne 0x4e6fd6
xor eax, eax
mov byte [eax + 0x1ccc4c8], al
inc eax
cmp eax, 0x100
jl 0x4e6fbe
mov dword [0x1ccc5c8], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x1ccc4c8
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4e7067
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x4e703a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x4e7008
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4e70e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x4e7133
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x4e711a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4edab0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x526b9e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.004ee3d0
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x1c6c624
call fcn.00514456
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x4edb43
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00514456
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x4edb3c
push 0
mov ecx, eax
call fcn.004e4be0
mov dword [esi + 0xc], eax
jmp 0x4edb45
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x4edb45
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x516bcf
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x516c07
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.00514bbc
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00514b94
jmp 0x516c13
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x5182c4
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 0x518306
call fcn.0051e1dd
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x518306
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x5182fd
xor eax, eax
jmp 0x51830e
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00518314
pop edi
pop esi
pop ebx
ret 4

Function at 0x51e70d
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x51e73b
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x51e759
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0051e673
jmp 0x51e759
mov eax, dword [esi + 0x14]
test eax, eax
je 0x51e759
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0051e673
test edi, edi
mov eax, edi
jne 0x51e743
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

Function at 0x1ba793a
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x5000e008], 0x8088405
inc edx
mov dword [ebx + 0x5000e008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x1baa37e
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov eax, dword [0x5000f73c]
xor ebx, ebx
mov bl, al
xor bl, dl
shr eax, 8
xor eax, dword [ebx*4 + 0x5000fde4]
mov dword [0x5000f73c], eax
and eax, 0xff
add dword [0x5000f740], eax
imul eax, dword [0x5000f740], 0x8088405
inc eax
mov dword [0x5000f740], eax
mov eax, dword [0x5000f744]
movzx ebx, al
xor bl, byte [0x5000f743]
shr eax, 8
xor eax, dword [ebx*4 + 0x5000fde4]
mov dword [0x5000f744], eax
ret
Function at 0x1baa3ee
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
pushal
mov byte [ebp - 1], 0
mov dword [0x5000f73c], 0x12345678
mov dword [0x5000f740], 0x23456789
mov dword [0x5000f744], 0x34567890
movzx ecx, byte [0x5000f748]
test ecx, ecx
je 0x1baa47b
xor esi, esi
mov dl, byte [esi + 0x5000f749]
call fcn.01baa37e
inc esi
cmp esi, ecx
jb 0x1baa422
xor esi, esi
call fcn.01baa3d6
xor byte [esi + 0x5000f724], al
mov dl, byte [esi + 0x5000f724]
call fcn.01baa37e
inc esi
cmp esi, 0xc
jb 0x1baa434
mov al, byte [0x5000f72f]
test word [0x5000f90e], 8
jne 0x1baa46f
cmp al, byte [0x5000f919]
jne 0x1baa47b
mov byte [ebp - 1], 1
jmp 0x1baa47b
cmp al, byte [0x5000f913]
jne 0x1baa47b
mov byte [ebp - 1], 1
popal
mov al, byte [ebp - 1]
pop ecx
pop ebp
ret

Function at 0x1baa50e
Capabilities:
Encode data using xor

Disassembly:
pushal
mov edi, dword [0x5000f82c]
cmp dword [0x5000f828], edi
jae 0x1baa523
mov edi, dword [0x5000f828]
test edi, edi
je 0x1baa54e
sub dword [0x5000f82c], edi
lea esi, [0x5003aa00]
add esi, dword [0x5000f824]
add edi, esi
call fcn.01baa3d6
xor byte [esi], al
mov dl, byte [esi]
call fcn.01baa37e
inc esi
cmp esi, edi
jb 0x1baa53b
popal
ret

Function at 0x1baa552
Capabilities:
Encode data using xor

Disassembly:
pushal
lea esi, [0x5003aa00]
mov edi, esi
add edi, dword [0x5000f828]
call fcn.01baa3d6
mov dl, byte [esi]
xor byte [esi], al
call fcn.01baa37e
inc esi
cmp esi, edi
jb 0x1baa561
popal
ret

Function at 0x1baad5e
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [0x5000fdb0]
add dword [0x5000fd80], eax
cmp byte [0x5000f840], 0
jne 0x1baadc4
cmp dword [0x5000fdb0], 0
jle 0x1baadc4
mov eax, dword [0x5000fdbc]
lea edx, [eax + 0x5002a800]
mov ecx, dword [0x5000fdb0]
mov eax, dword [0x5000f864]
call fcn.01ba9556
test eax, eax
jge 0x1baadc4
mov dword [0x5000f834], 5
push 0x50005b6c
push dword [0x5000f854]
push 0x50005b8c
mov eax, 0x5000f838
mov edx, 3
call fcn.01ba84ce
ret
mov eax, dword [0x5000fdb0]
test eax, eax
je 0x1baae00
add dword [0x5000fda0], eax
mov eax, dword [0x5000fdc4]
mov esi, dword [0x5000fdbc]
xor ebx, ebx
mov bl, al
xor bl, byte [esi + 0x5002a800]
shr eax, 8
xor eax, dword [ebx*4 + 0x5000fde4]
inc esi
cmp esi, dword [0x5000fda8]
jb 0x1baade0
mov dword [0x5000fdc4], eax
cmp dword [0x5000fda8], 0x10000
jb 0x1baae31
mov esi, 0x5002a800
mov edi, esi
add esi, dword [0x5000fda8]
sub esi, 0x8000
mov ecx, 0x8000
cld
rep movsb byte es:[edi], byte [esi]
mov dword [0x5000fda8], 0x8000
mov eax, dword [0x5000fda8]
mov dword [0x5000fdbc], eax
mov dword [0x5000fdb0], 0
ret
Function at 0x1badbda
Capabilities:
Encode data using xor

Disassembly:
cmp dword [0x5000fda8], 0x8000
jle 0x1badc3f
pushal
mov edx, dword [0x5000fda8]
sub edx, 0x8000
mov esi, 0x5002a800
mov edi, esi
add esi, edx
mov ecx, 0x2000
cld
rep movsd dword es:[edi], dword [esi]
mov ebx, 0xffff
sub dword [ebx*4 + 0x50042b04], edx
dec ebx
jns 0x1badc09
mov esi, edx
shl esi, 2
add esi, 0x50082b44
mov ebx, esi
add ebx, 0x20000
mov edi, 0x50082b44
cld
lodsd eax, dword [esi]
sub eax, edx
stosd dword es:[edi], eax
cmp esi, ebx
jb 0x1badc2c
popal
mov dword [0x5000fda8], 0x8000
mov eax, dword [0x5000fda8]
mov dword [0x5000fdbc], eax
mov eax, dword [0x5000f91e]
sub eax, dword [0x5000fda0]
mov dword [0x5000fdb0], eax
cmp dword [0x5000fdb0], 0x8000
jle 0x1badc6f
mov dword [0x5000fdb0], 0x8000
mov eax, dword [0x5000fdbc]
lea edx, [eax + 0x5002a800]
mov ecx, dword [0x5000fdb0]
mov eax, dword [0x5000f864]
call fcn.01ba9582
cmp eax, dword [0x5000fdb0]
je 0x1badcbc
mov dword [0x5000f834], 3
push 0x50008a38
push dword [0x5000f854]
push 0x50008a5c
mov eax, 0x5000f838
mov edx, 3
call fcn.01ba84ce
ret
mov eax, dword [0x5000fdbc]
add eax, dword [0x5000fdb0]
mov dword [0x5000fda8], eax
mov eax, dword [0x5000fdb0]
add dword [0x5000fda0], eax
mov eax, dword [0x5000fdb0]
add dword [0x5000fd80], eax
pushal
mov eax, dword [0x5000fdc4]
mov esi, dword [0x5000fdbc]
xor ebx, ebx
mov bl, al
xor bl, byte [esi + 0x5002a800]
shr eax, 8
xor eax, dword [ebx*4 + 0x5000fde4]
inc esi
cmp esi, dword [0x5000fda8]
jb 0x1badcf0
mov dword [0x5000fdc4], eax
popal
ret
Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x43300c
nop
nop
nop
nop
pop eax
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
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
nop
nop
nop
nop
add ebx, 4
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x4013ab
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
lea edx, [ecx + 0x18]
add edx, eax
movzx eax, word [ecx + 6]
imul esi, eax, 0x28
add esi, edx
jmp 0x4013e0
mov ecx, dword [edx + 0xc]
cmp dword [ebp + 0xc], ecx
jb 0x4013dd
mov eax, dword [edx + 8]
add eax, ecx
cmp dword [ebp + 0xc], eax
jb 0x4013e9
add edx, 0x28
cmp edx, esi
jne 0x4013cb
xor eax, eax
pop esi
pop ebp
ret
mov eax, edx
jmp 0x4013e6

Function at 0x401828
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x401867
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x401867
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401867
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x401867
cmp dword [ecx + 0x74], 0xe
jbe 0x401867
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x40b52d
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x40b5ca
push ebx
push esi
call fcn.0040b4f6
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0040b48c
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x40b577
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x40b5c9
push edi
push eax
call fcn.00408350
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x40b597
call fcn.00407970
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x40b5c8
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0040b48c
add esp, 0x20
test eax, eax
jne 0x40b5b6
push edi
call fcn.00407970
jmp 0x40b5be
push ebx
call fcn.00407970
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x40fbab
Capabilities:
Get file size

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x18
mov eax, dword [eax + 0xc]
nop
shr eax, 3
test al, 1
je 0x40fbc5
mov al, 1
leave
ret
mov eax, dword [ebp + 8]
push ebx
push esi
mov eax, dword [eax + 0xc]
nop
test al, 0xc0
mov eax, dword [ebp + 8]
je 0x40fbdc
mov ecx, dword [eax]
cmp ecx, dword [eax + 4]
je 0x40fc34
mov eax, dword [eax + 0x10]
nop
push eax
call fcn.0040bc66
mov esi, eax
pop ecx
cmp esi, 0xffffffff
je 0x40fc34
xor ebx, ebx
lea eax, [ebp - 0x10]
inc ebx
xorps xmm0, xmm0
push ebx
push eax
movlpd qword [ebp - 8], xmm0
push dword [ebp - 4]
push dword [ebp - 8]
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x40fc34
lea eax, [ebp - 0x18]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x40fc34
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x18]
jne 0x40fc2e
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x14]
je 0x40fc30
xor bl, bl
mov al, bl
jmp 0x40fc36
xor al, al
pop esi
pop ebx
leave
ret

Function at 0x413990
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4139bd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4139bd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

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

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
mov dword [0x505076], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x505298], eax
mov dword [0x505220], 0x5032dd
mov dword [0x50521c], 2
jmp 0x503b97
mov dword [0x505224], 0
mov dword [0x505228], 0
mov dword [0x505218], 0x30
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x50522c], eax
mov dword [0x505240], 0x504088
mov dword [0x505238], 0xf
mov dword [0x50506e], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x505230], eax
mov dword [0x505244], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x505234], eax
push 0x505218
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x50506e]
push 0
push 0
push 0x1e5
push 0x21e
push 0xffffe52a
push 0xfffff588
push 0x40000
push str.wait
push str.aroka
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x505290], eax
push 5
push dword [0x505290]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x505290]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x503c6a
push 0
push 0
push 0
push 0x505248
call dword [sym.imp.user32.dll_GetMessageA]
or eax, eax
je 0x503c97
push 0x505248
call dword [sym.imp.user32.dll_TranslateMessage]
push 0x505248
call dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x503c6a
mov eax, dword [0x505250]
jmp 0x503ca4
call 0x502b16
ret
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
je 0x431072
nop
nop
nop
nop
mov ebx, 0x40915c
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
mov esi, 0x5c34134c
nop
nop
nop
nop
nop
xor dword [eax], esi
add eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
loop 0x431060
nop
mov eax, section..reloc
nop
nop
nop
cmp eax, 0
nop
je 0x4310d2
nop
nop
nop
nop
mov ebx, 0x42f3f8
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x2e0b10
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4310c0
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219