joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ef70
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x43f040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebx + 8]
mov dword [ebp - 0x44], eax
imul eax, eax, 0x13c
push esi
mov esi, dword [ebx + 0x14]
push edi
mov dword [ebp - 0x48], eax
cmp dword [eax + 0x9262b4], 0
jne 0x40efba
mov eax, 0xa0100002
jmp 0x40f11e
cmp byte [ebx + 0xc], 0x10
ja 0x40f119
mov eax, dword [ebx + 0x10]
cmp eax, 0x1e0
jg 0x40f119
and eax, 0x8000000f
jns 0x40efe0
dec eax
or eax, 0xfffffff0
add eax, 1
jne 0x40f119
call fcn.004104b0
call fcn.004227b3
mov cl, al
mov byte [ebp - 0x20], 0
mov byte [ebp - 0x3d], cl
mov edi, 1
movsx ecx, cl
movd xmm0, ecx
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
pshufd xmm0, xmm0, 0
movaps xmmword [ebp - 0x60], xmm0
call fcn.004227b3
push eax
call fcn.004227d4
add esp, 4
call fcn.004227b3
mov byte [ebp + edi - 0x20], al
inc edi
cmp edi, 0x19
jb 0x40f016
mov dl, byte [ebp - 0x3d]
mov ecx, dword [ebx + 0x10]
mov al, dl
movups xmm0, xmmword [ebp - 0x1a]
xor al, 0x72
mov byte [ebp - 0x1e], dl
movaps xmm1, xmmword [ebp - 0x60]
mov byte [ebp - 0x1f], al
pxor xmm1, xmm0
mov al, dl
xor al, byte [ebx + 0xc]
mov byte [ebp - 0x1d], al
mov eax, ecx
sar eax, 8
xor al, dl
xor cl, dl
mov byte [ebp - 0x1b], cl
mov ecx, 0x10
mov byte [ebp - 0x1c], al
movups xmmword [ebp - 0x1a], xmm1
nop
lea eax, [ebp - 0x1a]
xor byte [eax + ecx], dl
inc ecx
cmp ecx, 0x12
jl 0x40f070
movups xmm0, xmmword [ebp - 0x20]
mov al, byte [ebp - 8]
sub esp, 0x1c
mov ecx, esp
movups xmmword [ecx], xmm0
movq xmm0, qword [ebp - 0x10]
movq qword [ecx + 0x10], xmm0
mov byte [ecx + 0x18], al
call fcn.00410850
mov byte [ebp - 8], al
add esp, 0x1c
mov eax, dword [ebp - 0x48]
lea edi, [eax + 0x9262c8]
mov ecx, edi
call fcn.004137f0
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x44]
call fcn.00410780
add esp, 0xc
mov dword [ebp - 0x44], eax
mov ecx, edi
call fcn.00413800
lea eax, [ebp - 0x27]
lea ecx, [esi + 0xf]
cmp esi, eax
ja 0x40f105
lea eax, [ebp - 0x36]
cmp ecx, eax
jb 0x40f105
mov cl, byte [ebp - 0x3d]
mov edi, eax
sub edi, esi
mov edx, 0x10
nop dword [eax]
mov al, byte [edi + esi]
lea esi, [esi + 1]
xor al, cl
mov byte [esi - 1], al
sub edx, 1
jne 0x40f0f0
mov eax, dword [ebp - 0x44]
jmp 0x40f11e
movups xmm0, xmmword [ebp - 0x36]
mov eax, dword [ebp - 0x44]
movaps xmm1, xmmword [ebp - 0x60]
pxor xmm1, xmm0
movups xmmword [esi], xmm1
jmp 0x40f11e
mov eax, 0xa0100004
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0041418c
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10
Function at 0x410850
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x43f040]
xor eax, ebp
mov dword [ebp - 4], eax
movups xmm1, xmmword [ebp + 8]
mov al, byte [ebp + 0x20]
movq xmm0, qword [ebp + 0x18]
movq qword [ebp - 0x10], xmm0
movaps xmm0, xmm1
psrldq xmm0, 4
movd ecx, xmm1
movd edx, xmm0
mov byte [ebp - 8], al
mov eax, ecx
shr eax, 0x18
shr edx, 8
xor dl, al
mov eax, ecx
movups xmmword [ebp - 0x20], xmm1
shr eax, 0x10
movups xmm0, xmmword [ebp - 0x1a]
xor dl, al
shr ecx, 8
psrldq xmm1, 4
xor dl, cl
movd eax, xmm1
mov ecx, 0x10
xorps xmm1, xmm1
pxor xmm1, xmm0
movaps xmm0, xmm1
xor dl, al
psrldq xmm0, 8
pxor xmm1, xmm0
movups xmm0, xmm1
psrldq xmm0, 4
pxor xmm1, xmm0
movups xmm0, xmm1
psrldq xmm0, 2
pxor xmm1, xmm0
movups xmm0, xmm1
psrldq xmm0, 1
pxor xmm1, xmm0
movd eax, xmm1
xor dl, al
nop
xor dl, byte [ebp + ecx - 0x1a]
inc ecx
cmp ecx, 0x12
jl 0x4108f0
mov ecx, dword [ebp - 4]
mov al, dl
xor ecx, ebp
call fcn.0041418c
mov esp, ebp
pop ebp
ret
Function at 0x4138d0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
pop ebp
ret

Function at 0x414d89
Capabilities:
Parse pe header

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

Function at 0x42a3a0
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0042a216

Function at 0x42c621
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0042c29e

Function at 0x432dc0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x432ded
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x432ded
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x1002fca2
Capabilities:
Get file system object information
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1002fcee
lea eax, [ebp + 0x1c]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x1002fcdb
push 0x2545
push 0x1cce
push 0
push 0x189a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
jmp 0x1002fcec
push 0x1483
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
jmp 0x1002fd41
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1c], eax
push dword [ebp - 8]
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push 0x1b80
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push 0x7d87
push dword [ebp - 0x1c]
push 0
push dword [ebp - 0x20]
call fcn.10020106
add esp, 0x28
mov esp, ebp
pop ebp
ret

Function at 0x10030f08
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10030f26
push 0x2189
push 1
call fcn.10030fa0
pop ecx
pop ecx
jmp 0x10030f9c
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x10030f81
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x24]
mov ecx, dword [ecx]
add ecx, dword [eax]
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
mov dword [eax], ecx
jmp 0x10030f9c
push 0x221
push 0
push 0x16b0
push 0x1b0b
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esp, ebp
pop ebp
ret
Function at 0x1003acbd
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1003ad6c
lea eax, [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x1003ad3b
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x1003ad1f
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 3
jge 0x1003ad39
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x1c]
call fcn.1001c2cb
or dword [eax], 0xffffffff
jmp 0x1003ad14
jmp 0x1003ad6a
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax]
test eax, eax
je 0x1003ad6a
push 0x2545
push 0x1cce
push 0
push 0x189a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
jmp 0x1003ada6
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x2c], eax
push dword [ebp - 0x2c]
push 0x6c62
push 0x5057
push 0x453d
push 0x46d3
push dword [ebp - 0x30]
push 0x7c4c
push 1
push 0x7210
call fcn.10020167
add esp, 0x24
mov esp, ebp
pop ebp
ret
Function at 0x1004fe74
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x100695ed
call fcn.10068068
sub esp, 0x14
push ebx
push esi
mov dword [ebp - 0x1c], 0x5211
cmp dword [ebp - 0x1c], 0x524f
push edi
mov dword [ebp - 0x10], esp
jle 0x1004feee
xor esi, esi
mov dword [ebp - 0x18], esi
xor edi, edi
mov dword [ebp - 0x14], edi
mov ecx, edi
mov dword [ebp - 0x20], esi
xor ebx, ebx
sar esi, cl
xor edi, edi
lea eax, [edi + ebx]
mov ecx, 0x106114d8
xor eax, esi
cdq
push edx
push eax
call fcn.1001bffc
inc edi
cmp edi, 0x2da0
jl 0x1004feac
inc ebx
cmp ebx, 0x1de8
jl 0x1004feaa
mov edi, dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
inc edi
mov dword [ebp - 0x14], edi
cmp edi, 0x514f
jl 0x1004fea1
inc esi
mov dword [ebp - 0x18], esi
cmp esi, 0x48ef
jl 0x1004fe9c
and dword [ebp - 4], 0
cmp dword [ebp - 0x1c], 0x51a1
jge 0x1004ff0a
mov edx, 0x1000c5ac
mov ecx, 0x106114d8
call fcn.1001e507
mov ecx, dword [ebp - 0xc]
xor eax, eax
pop edi
pop esi
xor edx, edx
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10064535
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1006f750]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.100566c8
mov dword [ebp - 0x14], eax
cmp dword [0x1061253c], esi
jne 0x10064628
push 0x800
push esi
push 0x1000750c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x100645b5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x10064708
push esi
push esi
push 0x1000750c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x10064708
push 0x10007524
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10064708
push eax
call ebx
push 0x10007530
push edi
mov dword [0x1061253c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007540
push edi
mov dword [0x10612540], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007554
push edi
mov dword [0x10612544], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1061254c], eax
test eax, eax
je 0x10064625
push 0x10007570
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x10612548], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1006464d
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10064640
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x10064662
push 4
pop eax
jmp 0x1006470a
cmp dword [ebp - 0x14], esi
je 0x10064662
push dword [0x1061253c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x10064647
mov eax, dword [0x10612548]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x100646c0
cmp dword [0x1061254c], edi
je 0x100646c0
push eax
call ebx
push dword [0x1061254c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x100646c0
test eax, eax
je 0x100646c0
call ecx
test eax, eax
je 0x100646b5
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x100646b5
test byte [ebp - 8], 1
jne 0x100646c0
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x100646f0
mov eax, dword [0x10612540]
cmp eax, edi
je 0x100646ed
push eax
call ebx
test eax, eax
je 0x100646ed
call eax
mov esi, eax
test esi, esi
je 0x100646ed
mov eax, dword [0x10612544]
cmp eax, edi
je 0x100646ed
push eax
call ebx
test eax, eax
je 0x100646ed
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x1061253c]
call ebx
test eax, eax
je 0x10064708
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x1006470a
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10053bdb
mov esp, ebp
pop ebp
ret
Function at 0x401b66
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410004]
jne 0x401b70
repz ret
jmp fcn.0040324d

Function at 0x40974c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x40975b
pop dword [ebp - 0x34]
mov eax, 0x6f0ac355
sub eax, 0x6eca2bfa
sub dword [ebp - 0x34], eax
mov dword [ebp - 0x44], 0x6f668d51
sub dword [ebp - 0x44], 0x21144806
mov dword [ebp - 0x40], 0xaf08d5f2
add dword [ebp - 0x40], 0x832a7653
mov dword [ebp - 0x3c], 0x5c4c28d3
sub dword [ebp - 0x3c], 0xfffe4a5
mov dword [ebp - 0x38], 0x9cc232d2
sub dword [ebp - 0x38], 0x9cc232d2
lea eax, [ebp - 0x44]
push eax
mov eax, 0x251c3492
add eax, 0xdb249bba
add eax, dword [ebp - 0x34]
call dword [eax]
mov dword [ebp - 0x44], 0x70eb3844
sub dword [ebp - 0x44], 0xfc78ceee
mov dword [ebp - 0x40], 0xc1d942be
add dword [ebp - 0x40], 0x7f931eb7
mov dword [ebp - 0x3c], 0xcf4b65b8
sub dword [ebp - 0x3c], 0x6bdbf94c
mov dword [ebp - 0x38], 0x9fb3a10b
sub dword [ebp - 0x38], 0x9fb3a10b
lea ebx, [ebp - 0x44]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x34]
call dword [eax]
push 0x40
push 0x1000
push 0x37506
push 0
call eax
mov ecx, 0x82d063e9
add ecx, 0x7d2fdb13
xor edx, edx
add edx, eax
mov esi, 0x41b000
add esi, dword [ebp - 0x34]
mov ebx, 0xd3c6181a
xor dword [ebp - 0x28], edi
mov edi, dword [esi]
add dword [ebp - 0x30], edi
sub edi, ebx
mov dword [edx], edi
xor dword [ebp - 0x1c], 0xe89f0f4f
add edx, 0x7cf14d3
add edx, 0xf830eb31
add esi, 0x895028e8
add esi, 0x76afd71c
loop 0x40986e
add eax, 0xeec3
xor ebx, ebx
add ebx, eax
add eax, 0x554880ef
sub eax, 0x554880ea
mov ecx, 0x400000
add ecx, dword [ebp - 0x34]
call ebx
leave
ret
Function at 0x483e10
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x5f000]
push edi
or ebp, 0xffffffff
jmp 0x483e32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x483e39
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x483e28
mov eax, 1
add ebx, ebx
jne 0x483e4b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x483e5c
jne 0x483e7b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x483e7b
dec eax
add ebx, ebx
jne 0x483e68
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x483e40
add ebx, ebx
jne 0x483e77
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x483ecd
xor ecx, ecx
sub eax, 3
jb 0x483e93
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x483f02
sar eax, 1
mov ebp, eax
jmp 0x483e9e
add ebx, ebx
jne 0x483e9e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x483e6c
inc ecx
add ebx, ebx
jne 0x483eac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x483e6c
add ebx, ebx
jne 0x483eb9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x483eae
jne 0x483eca
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x483eae
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x483eec
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x483ede
jmp 0x483e2e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x483eec
add edi, ecx
jmp 0x483e2e
pop esi
mov edi, esi
mov ecx, 0x268a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x483f0a
cmp byte [edi], 0x14
jne 0x483f0a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x483f0f
lea edi, [esi + 0x80000]
mov eax, dword [edi]
or eax, eax
je 0x483f7e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xa53f8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xa54b0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x483f3c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xa54b8]
or eax, eax
je 0x483f78
mov dword [ebx], eax
add ebx, 4
jmp 0x483f59
call dword [esi + 0xa54b4]
mov ebp, dword [esi + 0xa54bc]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x483fb2
sub esp, 0xffffff80
jmp 0x44cb98
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404369

Function at 0x4025e7
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x40f530
call fcn.00403770
mov eax, 0x5a4d
cmp word [0x400000], ax
jne 0x4024e7
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x4024e7
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x4024e7
cmp dword [eax + 0x400074], 0xe
jbe 0x4024e7
xor ecx, ecx
cmp dword [eax + 0x4000e8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
jmp 0x4024eb
and dword [ebp - 0x1c], 0
push 1
call fcn.004060bc
pop ecx
test eax, eax
jne 0x4024ff
push 0x1c
call fcn.004060bc
pop ecx
call fcn.00405287
test eax, eax
jne 0x402510
push 0x10
call fcn.004060bc
pop ecx
call fcn.00405952
and dword [ebp - 4], 0
call fcn.004032ff
test eax, eax
jge 0x40252a
push 0x1b
call fcn.004060bc
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x412ba0], eax
call fcn.004060bc
mov dword [0x41203c], eax
call fcn.004060bc
test eax, eax
jge 0x402550
push 8
call fcn.004060bc
pop ecx
call fcn.00405fde
test eax, eax
jge 0x402561
push 9
call fcn.004060bc
pop ecx
push 1
call fcn.004060bc
pop ecx
test eax, eax
je 0x402574
push eax
call fcn.004060bc
pop ecx
mov eax, dword [0x412018]
mov dword [0x41201c], eax
push eax
push dword [0x412010]
push dword [0x41200c]
call main
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], 0
jne 0x4025a2
push eax
call fcn.004060bc
call fcn.00402400
jmp 0x4025d7
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.004037b5
ret
call fcn.004060bc
jmp 0x402495

Function at 0x4060bc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x4060cb
pop dword [ebp - 0x40]
mov eax, 0x4060cb
sub dword [ebp - 0x40], eax
push 0x40
push 0x1000
push 0x36099
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x40]
call dword [eax]
mov ecx, 0x384a90d5
sub ecx, 0x384a557e
mov edi, eax
mov edx, 0x413bc4
add edx, dword [ebp - 0x40]
mov esi, 0x140f2540
sub esi, 0x4d35b8ce
xor dword [ebp - 0x20], 0x8758fd2f
mov ebx, dword [edx]
sub ebx, esi
add dword [ebp - 0x3c], 0x4e22580f
mov dword [edi], ebx
sub dword [ebp - 0x30], edi
add edi, 4
add edx, 4
loop 0x40611a
add eax, 0xe02f
mov ebx, eax
add eax, 0x97b13a51
sub eax, 0x97b13a4c
mov ecx, 0xac9d4bb5
sub ecx, 0xac5d4bb5
add ecx, dword [ebp - 0x40]
call ebx
leave
ret
Function at 0x407e15
Capabilities:
Terminate process

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

Function at 0x41ff02
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x41ff11
pop dword [ebp - 0x2c]
mov eax, 0x84d63ecb
add eax, 0x7b6bc046
sub dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], 0x2c386adf
add dword [ebp - 0x3c], 0x2219da6c
mov dword [ebp - 0x38], 0x2dd13c8b
add dword [ebp - 0x38], 0x4620fba
mov dword [ebp - 0x34], 0xd36b9c6c
sub dword [ebp - 0x34], 0x871f583e
mov dword [ebp - 0x30], 0x6c900862
add dword [ebp - 0x30], 0x936ff79e
lea eax, [ebp - 0x3c]
push eax
mov eax, 0xc7e7bc03
add eax, 0x385a7471
add eax, dword [ebp - 0x2c]
call dword [eax]
mov dword [ebp - 0x3c], 0x2696b0c4
add dword [ebp - 0x3c], 0x4ddbb892
mov dword [ebp - 0x38], 0x19de0e9e
sub dword [ebp - 0x38], 0xd871ad29
mov dword [ebp - 0x34], 0x6f110fbf
sub dword [ebp - 0x34], 0xba1a353
mov dword [ebp - 0x30], 0xe3558393
sub dword [ebp - 0x30], 0xe3558393
lea ebx, [ebp - 0x3c]
push ebx
push eax
mov eax, 0xc72d7583
add eax, 0x3914bba1
add eax, dword [ebp - 0x2c]
call dword [eax]
push 0x40
push 0x1000
push 0x3ab1b
push 0
call eax
mov ecx, 0x1fde98b7
add ecx, 0xe021a338
mov esi, eax
mov edx, 0xb5d043a1
add edx, 0x4a73005f
add edx, dword [ebp - 0x2c]
mov ebx, 0xd6a8dfd4
sub ebx, 0x10725df
xor dword [ebp - 0x14], 0x12466af8
mov edi, dword [edx]
add dword [ebp - 0x24], 0x82dde15d
xor edi, ebx
add dword [ebp - 0xc], 0xf804cd1f
mov dword [esi], edi
sub dword [ebp - 4], 0x620c8e43
add esi, 4
add edx, 4
loop 0x420033
add eax, 0xee09a537
add eax, 0x11f73d58
mov ebx, eax
add eax, 0x3c2e8ee5
sub eax, 0x3c2e8ee0
mov ecx, 0x400000
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42a004]
jne 0x40100a
repz ret
jmp fcn.004015b9

Function at 0x4053eb
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42a004]
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.00403eca
and dword [ebp - 0x14], 0
cmp dword [0x42cd68], 0
mov dword [ebp - 0x18], eax
jne 0x40549e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x405546
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x405546
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x42cd68], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x42cd6c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x42cd70], eax
call edi
push eax
call esi
mov dword [0x42cd78], eax
test eax, eax
je 0x40549e
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x42cd74], eax
mov eax, dword [0x42cd74]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4054f7
cmp dword [0x42cd78], ecx
je 0x4054f7
push eax
call esi
push dword [0x42cd78]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4054f7
test ebx, ebx
je 0x4054f7
call edi
test eax, eax
je 0x4054ee
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4054ee
test byte [ebp - 8], 1
jne 0x4054f7
or dword [ebp + 0x10], 0x200000
jmp 0x40552a
mov eax, dword [0x42cd6c]
cmp eax, dword [ebp - 0x18]
je 0x40552a
push eax
call esi
test eax, eax
je 0x40552a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40552a
mov eax, dword [0x42cd70]
cmp eax, dword [ebp - 0x18]
je 0x40552a
push eax
call esi
test eax, eax
je 0x40552a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x42cd68]
call esi
test eax, eax
je 0x405546
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x405548
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401000
leave
ret