joyce8/EMBER2024-capa huggingface dataset:
Function at 0x432004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
call 0x43200c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x40729f
sub eax, 0x407245
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x432030
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x401020
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
sub esp, 0x114
lea eax, [esp]
push esi
push edi
mov edi, dword [esp + 0x120]
push eax
push 0xf003f
push 0
push edi
push 0x80000002
mov esi, 0x91
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x401094
lea ecx, [esp + 0x10]
lea edx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 0xc]
push eax
push eax
push eax
lea eax, [esp + 0x28]
push edx
push eax
push 0
push ecx
mov dword [esp + 0x2c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x401089
push edi
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov esi, eax
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
add esp, 0x114
ret

Function at 0x4010a0
Capabilities:
Delete registry key

Disassembly:
sub esp, 0x204
lea eax, [esp + 4]
push esi
mov esi, dword [esp + 0x210]
push edi
mov edi, dword [esp + 0x210]
push edi
push esi
push str.SOFTWAREElectronic_Arts_s_sergc
push eax
call fcn.00401180
push edi
push esi
lea ecx, [esp + 0xa4]
push str.SOFTWAREElectronic_Arts_s_s
push ecx
call fcn.00401180
push esi
lea edx, [esp + 0x130]
push str.SOFTWAREElectronic_Arts_s
push edx
call fcn.00401180
mov ecx, 6
mov esi, str.SOFTWAREElectronic_Arts
lea edi, [esp + 0x1b8]
add esp, 0x2c
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push 0xf003f
push 0
push ecx
push 0x80000002
movsb byte es:[edi], byte [esi]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x401176
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
lea edx, [esp + 0xc]
push edx
push 0x80000002
call esi
test eax, eax
jne 0x401176
lea eax, [esp + 0x8c]
push eax
push 0x80000002
call esi
test eax, eax
jne 0x401176
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [esp + 0x10c]
push edx
call fcn.00401020
lea eax, [esp + 0x190]
push eax
call fcn.00401020
add esp, 8
pop edi
pop esi
add esp, 0x204
ret

Function at 0x401bd4
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x401c0f
Function at 0x401fc7
Capabilities:
Contain obfuscated stackstrings

Disassembly:
fld dword [esi + eax*8 + 0x45]
fimul dword [edx - 0x3a]
inc ebp
fisttp dword [edi - 0x3a]
inc ebp
fsub qword [edi - 0x3a]
inc ebp
fld qword [edx - 0x3a]
inc ebp
fimul word [ecx - 0x3a]
inc ebp
fistp word [ecx - 0x3a]
inc ebp
loopne 0x40202f
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.00401ba4
push eax
push esi
push dword [ebp + 8]
call fcn.00401b59
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.00401b94
jmp 0x886f0ba1
mov byte [ebp - 0x80], 0x51
mov byte [ebp - 0x7f], 0x73
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
mov byte [ebp - 0x71], 0x57
mov byte [ebp - 0x70], 0x16
call fcn.00401b94
fstp qword [edx + esi + 0x7c858d94]
invalid
Function at 0x402214
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x402248
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x402243
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
add byte [eax], dh
add byte [eax], al
add byte [eax], dh
add byte [eax], al
jne 0x40222d
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x402235
cmp edx, ebx
jne 0x402383
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x402204
add eax, dword [eax + 4]
jmp 0x4021f1
mov dword [ebp + 0xc], ebx
jmp 0x402253
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x40226b
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x402289
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x4022e7
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x4022ce
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x4022d7
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x4022e1
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x4022c3
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x40224d
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x402334
dec eax
je 0x40232b
sub eax, 3
je 0x402322
mov dword [ebp - 4], 0x40
jmp 0x402351
mov dword [ebp - 4], 4
jmp 0x402337
mov dword [ebp - 4], 0x20
jmp 0x402337
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
or bh, bh
xchg ebp, eax
inc esp
invalid
invalid
invalid
test eax, eax
je 0x402383
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x402303
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.00401b94
xlatb
stosd dword es:[edi], eax
mov dh, 0x68
push dword [ebp + 0x14]
push 1
push esi
call edi
mov eax, esi
jmp 0x40238f
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40288c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
jne 0x402a1a
and byte [ebp - 0x6b8], 0
and byte [ebp - 0x6b7], 0
mov byte [ebp - 0x6b6], 0x9b
and byte [ebp - 0x6b5], 0
mov byte [ebp - 0x6b4], 0x33
mov byte [ebp - 0x6b3], 0x16
mov byte [ebp - 0x6b2], 0xd
mov byte [ebp - 0x6b1], 0x10
mov byte [ebp - 0x6b0], 1
mov byte [ebp - 0x6af], 0x34
mov byte [ebp - 0x6ae], 0x16
mov byte [ebp - 0x6ad], 0xb
mov byte [ebp - 0x6ac], 7
mov byte [ebp - 0x6ab], 1
mov byte [ebp - 0x6aa], 0x17
mov byte [ebp - 0x6a9], 0x17
mov byte [ebp - 0x6a8], 0x29
mov byte [ebp - 0x6a7], 1
mov byte [ebp - 0x6a6], 9
mov byte [ebp - 0x6a5], 0xb
mov byte [ebp - 0x6a4], 0x16
mov byte [ebp - 0x6a3], 0x1d
test dword [ebp - 7], ebx
invalid
call [0xf95e85c6]
invalid
jmp dword [ebp + ecx*4 - 0x7b]
dec eax
stc
invalid
call dword [eax - 0x18]
invalid
invalid
invalid
call [ecx + 0x50]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00401b59
add esp, 0xc
mov dword [ebp - 0x690], eax
mov byte [ebp - 0x6a0], 0x8b
or byte [ebp - 0x69f], 0xff
mov byte [ebp - 0x69e], 0x55
mov byte [ebp - 0x69d], 0x8b
mov byte [ebp - 0x69c], 0xec
lea eax, [ebp - 0x694]
push eax
push 5
lea eax, [ebp - 0x6a0]
push eax
push dword [ebp - 0x33c]
push 0xffffffffffffffff
call dword [ebp - 0x690]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x6c0], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x6bc], eax
push 0x1000
push 8
push dword [ebp - 0x674]
call dword [ebp - 0x67c]
mov dword [ebp - 0x698], eax
call fcn.00401b94
mov dl, byte [ecx - 0x4a007332]
push 0x8dfffff9
test dword [eax - 7], eax
invalid
call fcn.00401b94
ret

Function at 0x402b17
Capabilities:
Contain obfuscated stackstrings

Disassembly:
cmp dh, al
test dword [ecx + 0x11fffffc], esp
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
mov byte [ebp - 0x35c], 0x30
mov byte [ebp - 0x35b], 0x36
mov byte [ebp - 0x35a], 0x21
mov byte [ebp - 0x359], 0x3a
mov byte [ebp - 0x358], 0x27
mov byte [ebp - 0x357], 0x2c
mov byte [ebp - 0x356], 0x14
mov byte [ebp - 0x355], 0x55
lea eax, [ebp - 0x36c]
push eax
call fcn.00401ba4
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00401b59
add esp, 0xc
mov dword [ebp - 0x3d4], eax
call fcn.00401b94
push ecx
jne 0x402b46
invalid
into
push 0x104
lea eax, [ebp - 0x12c]
push eax
call dword [ebp - 0x3d4]
mov dword [ebp - 0x28], eax
call fcn.00401b94
int1
in eax, 0x5f
and byte [ebp - 0x20], 0
and byte [ebp - 0x1f], 0
mov byte [ebp - 0x1e], 0x1d
and byte [ebp - 0x1d], 0
mov byte [ebp - 0x1c], 0xa5
mov byte [ebp - 0x1b], 0x87
mov byte [ebp - 0x1a], 0x96
mov byte [ebp - 0x19], 0xb6
mov byte [ebp - 0x18], 0x87
mov byte [ebp - 0x17], 0x8f
mov byte [ebp - 0x16], 0x92
mov byte [ebp - 0x15], 0xb2
mov byte [ebp - 0x14], 0x83
mov byte [ebp - 0x13], 0x96
mov byte [ebp - 0x12], 0x8a
mov byte [ebp - 0x11], 0xa3
mov byte [ebp - 0x10], 0xe2
lea eax, [ebp - 0x20]
push eax
call fcn.00401ba4
pop ecx
push eax
push dword [ebp + 0x18]
Function at 0x4012eb
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [0x75e7b0], 1
mov dword [0x75e7b4], 1
mov dword [0x75e7b8], 1
mov dword [ebp - 4], 0x400000
mov eax, dword [ebp - 4]
movzx eax, word [eax]
cmp ax, 0x5a4d
je 0x40132c
mov eax, 0
jmp 0x4013c6
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov edx, eax
mov eax, dword [ebp - 4]
add eax, edx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp eax, 0x4550
je 0x40134f
mov eax, 0
jmp 0x4013c6
mov eax, dword [ebp - 8]
add eax, 0x18
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
movzx eax, ax
cmp eax, 0x10b
je 0x401371
cmp eax, 0x20b
je 0x401396
jmp 0x4013c1
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x5c]
cmp eax, 0xe
ja 0x401383
mov eax, 0
jmp 0x4013c6
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x4013c6
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x6c]
cmp eax, 0xe
ja 0x4013ae
mov eax, 0
jmp 0x4013c6
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x4013c6
mov eax, 0
leave
ret
Function at 0x6f72a0
Capabilities:
Query environment variable

Disassembly:
push esi
push ebx
push eax
mov eax, 0x10060
call fcn.0071afe4
xor ecx, ecx
sub esp, eax
mov eax, dword [esp + eax]
lea ebx, [esp + 0x10]
lea esi, [esp + 0x60]
mov word [esp + 0x10], cx
mov ecx, 0x28
mov edx, eax
xor eax, eax
mov word [esp + 0x60], ax
mov eax, ebx
call fcn.006f16d0
mov dword [esp + 8], 0x10000
mov dword [esp + 4], esi
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
sub eax, 1
sub esp, 0xc
cmp eax, 0xffff
ja 0x6f7309
mov dword [esp], esi
call sub.msvcrt.dll__wcsdup
add esp, 0x10064
pop ebx
pop esi
ret
xor eax, eax
jmp 0x6f7300

Function at 0x6f7310
Capabilities:
Set environment variable

Disassembly:
push esi
mov ecx, 0x28
push ebx
mov ebx, edx
xor edx, edx
sub esp, 0x64
lea esi, [esp + 0x10]
mov word [esp + 0x10], dx
mov edx, eax
mov eax, esi
call fcn.006f16d0
mov dword [esp + 4], ebx
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
sub esp, 8
add esp, 0x64
pop ebx
pop esi
ret

Function at 0x6f7350
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, edx
push edi
mov edi, ecx
push esi
push ebx
sub esp, 0x7c
mov dword [esp + 0x1c], eax
mov eax, dword [0x756608]
test eax, eax
je 0x6f743d
mov dword [esp + 4], str.environ
mov dword [esp], eax
call dword [sym.imp.python34.dll_PyObject_GetAttrString]
mov dword [esp], ebp
mov ebx, eax
call dword [sym.imp.python34.dll_PyUnicode_FromString]
mov esi, eax
test edi, edi
je 0x6f73f7
mov edx, edi
mov eax, ebp
call fcn.006f7310
mov dword [esp], edi
mov dword [esp + 4], 0xffffffff
call dword [sym.imp.python34.dll_PyUnicode_FromWideChar]
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov edi, eax
mov dword [esp], ebx
call dword [sym.imp.python34.dll_PyObject_SetItem]
test eax, eax
jne 0x6f745c
sub dword [edi], 1
je 0x6f73ec
sub dword [esi], 1
jne 0x6f73d6
mov eax, dword [esi + 4]
mov dword [esp], esi
call dword [eax + 0x18]
sub dword [ebx], 1
jne 0x6f73e4
mov eax, dword [ebx + 4]
mov dword [esp], ebx
call dword [eax + 0x18]
add esp, 0x7c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [edi + 4]
mov dword [esp], edi
call dword [eax + 0x18]
jmp 0x6f73c8
lea edi, [esp + 0x20]
mov edx, ebp
mov ecx, 0x28
mov word [esp + 0x20], 0
mov eax, edi
call fcn.006f16d0
xor eax, eax
mov dword [esp], edi
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
push edx
push edx
mov dword [esp + 4], esi
mov dword [esp], ebx
call dword [sym.imp.python34.dll_PyObject_DelItem]
test eax, eax
je 0x6f73c8
mov eax, dword [esp + 0x1c]
call fcn.0041b050
jmp 0x6f73c8
mov dword [esp], 0x7362d0
call dword [sym.imp.python34.dll_PyImport_ImportModule]
mov dword [0x756608], eax
test eax, eax
jne 0x6f736c
jmp 0x72a7a0
mov dword [esp], 1
call dword [sym.imp.python34.dll_PyErr_PrintEx]
mov dword [esp], 1
call dword [sym.imp.python34.dll_Py_Exit]
jmp 0x6f73c3
Function at 0x71a034
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x24
lea eax, [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov dword [esp], 2
call fcn.007299b0
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x1b
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call sub.msvcrt.dll_fwrite
mov ebx, dword [ebp - 0xc]
mov dword [esp], 2
call fcn.007299b0
mov dword [esp + 8], ebx
mov edx, dword [ebp + 8]
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort

Function at 0x71ac08
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, word [eax]
cmp ax, 0x5a4d
je 0x71ac27
mov eax, 0
jmp 0x71ac6b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov edx, eax
mov eax, dword [ebp - 4]
add eax, edx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp eax, 0x4550
je 0x71ac4a
mov eax, 0
jmp 0x71ac6b
mov eax, dword [ebp - 8]
add eax, 0x18
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
cmp ax, 0x10b
je 0x71ac66
mov eax, 0
jmp 0x71ac6b
mov eax, 1
leave
ret

Function at 0x71ac6d
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x3c]
mov edx, eax
mov eax, dword [ebp + 8]
add eax, edx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
mov eax, dword [ebp - 0xc]
movzx eax, word [eax + 0x14]
movzx edx, ax
mov eax, dword [ebp - 0xc]
add eax, edx
add eax, 0x18
mov dword [ebp - 4], eax
jmp 0x71accc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
cmp dword [ebp + 0xc], eax
jb 0x71acc4
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
add eax, edx
cmp dword [ebp + 0xc], eax
jae 0x71acc4
mov eax, dword [ebp - 4]
jmp 0x71ace0
add dword [ebp - 8], 1
add dword [ebp - 4], 0x28
mov eax, dword [ebp - 0xc]
movzx eax, word [eax + 6]
movzx eax, ax
cmp dword [ebp - 8], eax
jb 0x71aca1
mov eax, 0
leave
ret
Function at 0x101508b6
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10221f68]
jne 0x101508c0
repz ret
jmp fcn.10153668

Function at 0x1015419f
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.1014f646
and dword [ebp - 4], 0
cmp dword [0x1022349c], 0
mov ebx, eax
jne 0x10154250
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x10154301
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x10154301
push eax
call fcn.1014f5d4
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x1022349c], eax
call esi
push eax
call fcn.1014f5d4
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x102234a0], eax
call esi
push eax
call fcn.1014f5d4
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x102234a4], eax
call esi
push eax
call fcn.1014f5d4
pop ecx
mov dword [0x102234ac], eax
test eax, eax
je 0x10154250
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1014f5d4
pop ecx
mov dword [0x102234a8], eax
mov eax, dword [0x102234a8]
cmp eax, ebx
je 0x101542a8
cmp dword [0x102234ac], ebx
je 0x101542a8
push eax
call fcn.1014f64f
push dword [0x102234ac]
mov esi, eax
call fcn.1014f64f
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x101542a8
test edi, edi
je 0x101542a8
call esi
test eax, eax
je 0x1015429f
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1015429f
test byte [ebp - 0xc], 1
jne 0x101542a8
or dword [ebp + 0x10], 0x200000
jmp 0x101542e1
mov eax, dword [0x102234a0]
cmp eax, ebx
je 0x101542e1
push eax
call fcn.1014f64f
pop ecx
test eax, eax
je 0x101542e1
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x101542e1
mov eax, dword [0x102234a4]
cmp eax, ebx
je 0x101542e1
push eax
call fcn.1014f64f
pop ecx
test eax, eax
je 0x101542e1
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1022349c]
call fcn.1014f64f
pop ecx
test eax, eax
je 0x10154301
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x10154303
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10154f40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x60
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [0x102212c0], 0x23d1
mov edx, ecx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x38], ecx
jmp 0x10155042
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x40]
lea edx, section..data
imul esi, ecx, 0x6c
mov edi, edx
add edi, esi
add edi, 0x50
imul esi, ecx, 0x6c
mov ebx, edx
add ebx, esi
add ebx, 0x4c
mov esi, ecx
add esi, 1
imul ecx, ecx, 0x6c
add edx, ecx
add edx, 0x68
mov ecx, dword [ebp - 0x44]
add ecx, eax
mov edx, dword [edx]
mov ebx, dword [ebx]
movzx edi, word [edi]
xor edi, edx
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], edi
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x50], edi
call fcn.10155120
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x48]
add eax, ecx
mov edx, dword [ebp - 0x4c]
cmp edx, 0x2b1
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], eax
jne 0x10154f68
mov eax, dword [ebp - 0x44]
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [ebp - 0x54]
mov dword [esp + 8], ecx
call fcn.101557d0
mov eax, dword [ebp - 0x44]
add eax, 0xb473c
mov ecx, dword [ebp - 0x30]
mov dword [ecx], eax
xor eax, eax
mov ecx, dword [ebp - 0x30]
mov dword [ecx + 4], 0x118800
mov edx, dword [ebp - 0x44]
add edx, 0x99cc8
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], 0x1f60
mov dword [0x102212c4], 0xe43
add esp, 0x60
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x34]
lea edx, section..data
imul esi, eax, 0x6c
mov edi, edx
add edi, esi
add edi, 0x68
mov esi, dword [edi]
imul edi, eax, 0x6c
add edx, edi
add edx, 0x50
movzx edx, word [edx]
xor edx, esi
add edx, ecx
add eax, 1
cmp eax, 0x2b1
mov ecx, edx
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], eax
jne 0x10155042
lea eax, [0x1020c414]
mov ecx, 0xe
lea edx, [ebp - 0x2c]
mov esi, dword [0x102212c4]
add esi, 0x831
mov dword [0x102212c4], esi
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0xe
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x5c], ecx
call fcn.101552d0
mov eax, dword [ebp - 0x58]
mov dword [esp], eax
call fcn.10155860
mov ecx, eax
mov dword [0x102212e0], eax
mov eax, esp
mov edx, dword [ebp - 0x54]
mov dword [eax + 4], edx
mov dword [eax + 0xc], 4
mov dword [eax + 8], 0x1000
mov dword [eax], 0
call ecx
sub esp, 0x10
xor ecx, ecx
mov dword [0x102212c0], 0x829
mov edx, ecx
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], ecx
jmp 0x10154f68
Function at 0x10155500
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [fcn.10155500]
mov dword [0x102212c0], 0x183f
mov dword [ebp - 4], eax
jmp 0x1015552c
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
je 0x1015553b
jmp 0x10155543
mov eax, dword [ebp - 4]
cmp word [eax], 0x5a4d
mov dword [ebp - 8], eax
je 0x1015551b
jmp 0x10155543
mov eax, dword [ebp - 8]
add esp, 8
pop ebp
ret
mov eax, dword [ebp - 8]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [ebp - 4], eax
jmp 0x1015552c

Function at 0x10155d90
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x102212cc], 0
mov byte [0x102212d0], 0
mov dword [0x102212c0], 0x719
mov dword [0x102212c8], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x10155deb
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [0x102212c8], 0
jmp 0x10155e22
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x102212c4]
add eax, 0xfffff13a
mov dword [0x102212c0], eax
mov eax, dword [0x102212c8]
add eax, 1
mov dword [0x102212c8], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x10155deb
jmp 0x10155ddf
mov dword [0x102212d4], 0
mov eax, dword [0x102212cc]
mov ecx, dword [0x102212c8]
mov edx, dword [ebp - 0x18]
movzx esi, byte [edx + ecx]
add esi, eax
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ecx
mov eax, 0x100
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov eax, ecx
xor edx, edx
mov esi, dword [ebp - 0x10]
div esi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
mov ebx, dword [ebp - 0x20]
add ebx, edx
mov dword [0x102212d4], ebx
mov dword [0x102212c4], 0xde7
mov eax, ebx
cdq
mov ebx, dword [ebp - 0x28]
idiv ebx
mov dword [0x102212cc], edx
mov edx, dword [0x102212c8]
mov ecx, dword [ebp - 0x18]
mov cl, byte [ecx + edx]
mov byte [0x102212d0], cl
mov edx, dword [0x102212c0]
add edx, 0x17b0
mov dword [0x102212c0], edx
mov edx, dword [0x102212cc]
mov ecx, dword [ebp - 0x18]
mov cl, byte [ecx + edx]
mov edx, dword [0x102212c8]
mov esi, dword [ebp - 0x18]
mov byte [esi + edx], cl
mov dword [0x102212c0], 0x20e9
mov cl, byte [0x102212d0]
mov edx, dword [0x102212cc]
mov byte [esi + edx], cl
mov edx, dword [0x102212c8]
add edx, 1
mov dword [0x102212c8], edx
cmp edx, 0x100
jl 0x10155e22
jmp 0x10155dd7