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

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push edi
cmp dword [esi], 0
jne 0x41fe1e
push 0x4ee6b4
push dword [ebp + 8]
call fcn.0049fe44
add esp, 8
mov dword [esi], eax
test eax, eax
je 0x41fe1e
push 7
mov byte [esi + 0xc], 1
call fcn.0049a574
add esp, 4
push dword [esi]
mov edi, eax
push 6
push 1
push edi
call fcn.0049bb6e
add esp, 0x10
cmp eax, 6
je 0x41fdb3
mov byte [esi + 0xc], 0
cmp byte [esi + 0xc], 0
je 0x41fdf1
mov byte [edi + 6], 0
mov ecx, str.jinlzo
mov eax, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x41fde4
test dl, dl
je 0x41fde0
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x41fde4
add eax, 2
add ecx, 2
test dl, dl
jne 0x41fdc4
xor eax, eax
jmp 0x41fde9
sbb eax, eax
or eax, 1
test eax, eax
je 0x41fdf1
mov byte [esi + 0xc], 0
push edi
call fcn.0049a5c3
add esp, 4
cmp byte [esi + 0xc], 0
je 0x41fe53
push dword [esi]
lea eax, [esi + 4]
push 4
push 1
push eax
call fcn.0049bb6e
add esp, 0x10
cmp eax, 4
je 0x41fe27
mov ecx, esi
call fcn.0041fe80
xor al, al
pop edi
pop esi
pop ecx
pop ebp
ret 4
cmp byte [esi + 0x10], 0
jne 0x41fe6b
call fcn.00421ea0
test eax, eax
jne 0x41fe17
push 0x10000
call fcn.0049a574
mov dword [esi + 0x14], eax
add esp, 4
mov byte [esi + 0x10], 1
mov al, 1
pop edi
pop esi
pop ecx
pop ebp
ret 4
push 0
push 0
push dword [esi]
call fcn.004a00fb
add esp, 0xc
mov ecx, esi
call fcn.0041ff90
mov dword [esi + 4], eax
pop edi
mov al, 1
pop esi
pop ecx
pop ebp
ret 4

Function at 0x41fec0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
mov eax, dword [esi]
test eax, eax
jne 0x41fed6
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 4
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
jne 0x41fee8
pop ebx
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 4
cmp byte [esi + 0xc], 0
je 0x41ff66
push edi
call fcn.0041ff90
sub eax, 0xa
push eax
mov dword [ebp + 8], eax
call fcn.0049a574
push dword [esi]
mov edi, eax
push dword [ebp + 8]
push 1
push edi
call fcn.0049bb6e
mov ecx, dword [ebp + 8]
add esp, 0x14
cmp eax, ecx
jne 0x41ff52
cmp byte [esi + 0x10], 0
mov dword [ebp - 4], 0
je 0x41ff52
test edi, edi
je 0x41ff52
push ecx
lea eax, [ebp - 4]
push eax
mov edx, ecx
push ebx
mov ecx, edi
call fcn.00421f60
add esp, 0xc
test eax, eax
jne 0x41ff52
mov eax, dword [ebp - 4]
cmp eax, dword [esi + 4]
pop edi
pop ebx
sete al
pop esi
mov esp, ebp
pop ebp
ret 4
push edi
call fcn.0049a5c3
add esp, 4
xor al, al
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 4
push eax
push dword [esi + 4]
push 1
push ebx
call fcn.0049bb6e
add esp, 0x10
cmp eax, dword [esi + 4]
pop ebx
sete al
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x420ae0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x420aeb
xor eax, eax
pop ebp
ret
push esi
mov esi, dword [ebp + 8]
not ecx
cmp esi, 8
jb 0x420bb5
push edi
mov edi, esi
shr edi, 3
movzx eax, byte [edx]
xor eax, ecx
and eax, 0xff
shr ecx, 8
xor ecx, dword [eax*4 + 0x4ef238]
movzx eax, byte [edx + 1]
xor eax, ecx
and eax, 0xff
shr ecx, 8
xor ecx, dword [eax*4 + 0x4ef238]
movzx eax, byte [edx + 2]
xor eax, ecx
and eax, 0xff
shr ecx, 8
xor ecx, dword [eax*4 + 0x4ef238]
movzx eax, byte [edx + 3]
xor eax, ecx
and eax, 0xff
shr ecx, 8
xor ecx, dword [eax*4 + 0x4ef238]
movzx eax, byte [edx + 4]
xor eax, ecx
and eax, 0xff
shr ecx, 8
xor ecx, dword [eax*4 + 0x4ef238]
movzx eax, byte [edx + 5]
xor eax, ecx
and eax, 0xff
shr ecx, 8
xor ecx, dword [eax*4 + 0x4ef238]
movzx eax, byte [edx + 6]
xor eax, ecx
and eax, 0xff
shr ecx, 8
xor ecx, dword [eax*4 + 0x4ef238]
movzx eax, byte [edx + 7]
xor eax, ecx
and eax, 0xff
shr ecx, 8
xor ecx, dword [eax*4 + 0x4ef238]
add edx, 8
sub esi, 8
dec edi
jne 0x420b00
pop edi
test esi, esi
je 0x420bda
lea esp, [esp]
movzx eax, byte [edx]
xor eax, ecx
and eax, 0xff
shr ecx, 8
xor ecx, dword [eax*4 + 0x4ef238]
lea edx, [edx + 1]
dec esi
jne 0x420bc0
not ecx
mov eax, ecx
pop esi
pop ebp
ret
Function at 0x45b900
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c2083
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x5055f8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea ecx, [edi + 0x14]
mov dword [edi], vtable.JCWindow.0
mov dword [edi + 4], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
push 7
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push str.gWidnow
mov byte [ecx], 0
call fcn.00401bc0
lea ecx, [edi + 0x30]
mov dword [ebp - 4], 0
call fcn.00475180
lea ecx, [edi + 0x70]
call fcn.00475180
lea ecx, [edi + 0xb0]
call fcn.00475180
lea ecx, [edi + 0xf0]
call fcn.00476740
lea ecx, [edi + 0x158]
mov byte [ebp - 4], 1
call fcn.00476740
lea ecx, [edi + 0x1e8]
mov byte [ebp - 4], 2
mov dword [edi + 0x1c0], 3
mov dword [edi + 0x1c4], 3
mov dword [edi + 0x1c8], 0
mov dword [edi + 0x1cc], 0
mov word [edi + 0x1d1], 0
mov byte [edi + 0x1d3], 0
mov dword [edi + 0x1d4], 0
mov dword [edi + 0x1d8], 0x3f000000
mov dword [edi + 0x1dc], 0x3f000000
mov dword [edi + 0x1e0], 0
mov dword [edi + 0x1e4], 0
call fcn.004165e0
lea ecx, [edi + 0x1ec]
call fcn.004165e0
mov dword [edi + 0x1f0], 0
mov dword [edi + 0x1f4], 0
mov dword [edi + 0x1f8], 0
lea ecx, [edi + 0x1fc]
mov byte [ebp - 4], 3
call fcn.00476740
mov dword [edi + 0x264], 0
mov dword [edi + 0x27c], 0xf
mov dword [edi + 0x278], 0
mov byte [edi + 0x268], 0
mov dword [edi + 0x280], 0
mov dword [edi + 0x284], 0
mov dword [edi + 0x29c], 0xf
mov dword [edi + 0x298], 0
mov byte [edi + 0x288], 0
mov dword [edi + 0x2a0], 0
lea ecx, [edi + 0x2a4]
mov byte [ebp - 4], 6
mov dword [edi + 0x2a4], 0
mov dword [edi + 0x2a8], 0
call fcn.00451ed0
mov dword [edi + 0x2a4], eax
mov dword [edi + 0x2ac], 0
mov dword [edi + 0x2b0], 0
mov dword [edi + 0x2b4], 0
mov byte [ebp - 4], 7
mov dword [edi + 0x2b8], 0
mov dword [edi + 0x2bc], 0
mov dword [edi + 0x2c0], 0
mov dword [edi + 0x2c4], 0
mov dword [edi + 0x2c8], 0
mov dword [edi + 0x2cc], 0
mov dword [edi + 0x2d0], 0
mov dword [edi + 0x2d4], 0
mov dword [edi + 0x2d8], 0
mov dword [edi + 0x2dc], 0
mov dword [edi + 0x2e0], 0
mov dword [edi + 0x2e4], 0
mov dword [edi + 0x2e8], 0
mov dword [edi + 0x2ec], 0
mov dword [edi + 0x2f0], 0
mov dword [edi + 0x2f4], 0
mov dword [edi + 0x2f8], 0
mov dword [edi + 0x2fc], 0
push 0x18
mov dword [edi + 0x280], 0x45c180
mov dword [edi + 0x264], edi
mov dword [edi + 0x2a0], 0x45c290
mov dword [edi + 0x284], edi
call fcn.0049a574
add esp, 4
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 8
test eax, eax
je 0x45bbef
mov ecx, eax
call fcn.00478c10
jmp 0x45bbf1
xor eax, eax
push 0x40
mov byte [ebp - 4], 7
mov dword [edi + 8], eax
call fcn.0049a574
add esp, 4
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 9
test eax, eax
je 0x45bc18
mov ecx, eax
call fcn.00475180
mov ecx, eax
jmp 0x45bc1a
xor ecx, ecx
mov eax, dword [edi + 8]
mov dword [edi + 0x2c], ecx
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x38]
test eax, eax
je 0x45bc2d
mov dword [eax + 0x34], ecx
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x471f00
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c3efd
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
mov eax, dword [0x5055f8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebp + 8], 0
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x2c], 0
jne 0x4720ba
mov dword [ebp - 0xdc], 0x4ef998
mov dword [ebp - 0xcc], 0x4efa14
push 0
lea eax, [ebp - 0xc4]
xorps xmm0, xmm0
push eax
lea ecx, [ebp - 0x74]
mov dword [ebp - 4], 0
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x74], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov dword [ebp - 0x78], 0x50
movlpd qword [ebp - 0xd4], xmm0
call fcn.00404de0
mov eax, dword [ebp - 0xcc]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xcc], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xcc]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0xd0], eax
mov eax, dword [ebp - 0xdc]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xdc], vtable.std::basic_iostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xdc]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x20]
mov dword [ebp + ecx - 0xe0], eax
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 4], 5
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xdc], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0xdc]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xe0], eax
lea ecx, [ebp - 0xc4]
call fcn.00405e90
mov dword [ebp - 0xc4], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0
push 0x4d57a8
push 0x4d57f4
push esi
lea eax, [ebp - 0xcc]
push 0x4d57f8
push eax
mov dword [ebp - 4], 7
call fcn.0042de20
add esp, 8
push eax
call fcn.00414b70
add esp, 8
push eax
call fcn.0042de20
add esp, 8
push eax
call fcn.0042de20
add esp, 8
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xdc]
call fcn.0041b7f0
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 8
jb 0x47208d
mov eax, dword [eax]
cmp dword [esi + 0x14], 0x10
jb 0x472095
mov esi, dword [esi]
mov ecx, dword [0x508990]
push eax
push esi
call fcn.004016c0
cmp dword [ebp - 0x14], 0x10
jb 0x4720b3
push dword [ebp - 0x28]
call fcn.0049a5c3
add esp, 4
push 0xffffffffffffffff
call fcn.0049ef4e
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049ad54
mov esp, ebp
pop ebp
ret
Function at 0x47e5c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c4ecb
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x5055f8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 0x20], 0xf
mov dword [esi + 0x1c], 0
mov byte [esi + 0xc], 0
lea ecx, [esi + 0x24]
mov dword [ebp - 4], 0
call fcn.00415ed0
push dword [ebp + 8]
mov ecx, esi
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
call fcn.0047e860
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x47e6a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c4ecb
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x5055f8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 0x20], 0xf
mov dword [esi + 0x1c], 0
mov byte [esi + 0xc], 0
lea ecx, [esi + 0x24]
mov dword [ebp - 4], 0
call fcn.00415ed0
push dword [ebp + 8]
mov ecx, esi
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
call fcn.0047e8e0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x47e720
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c4ecb
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x5055f8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 0x20], 0xf
mov dword [esi + 0x1c], 0
mov byte [esi + 0xc], 0
lea ecx, [esi + 0x24]
mov dword [ebp - 4], 0
call fcn.00415ed0
push dword [ebp + 8]
mov ecx, esi
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
call fcn.0047e9c0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x47e7a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c4ecb
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x5055f8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 0x20], 0xf
mov dword [esi + 0x1c], 0
mov byte [esi + 0xc], 0
lea ecx, [esi + 0x24]
mov dword [ebp - 4], 0
call fcn.00415ed0
push dword [ebp + 8]
mov ecx, esi
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
call fcn.0047eba0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x48ead0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c61e1
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5055f8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
push 0xffffffffffffffff
call fcn.00483600
push ecx
lea ecx, [ebx + 0x64]
mov dword [ebp - 4], 0
mov dword [ebx], vtable.JIN::JC_GUI_PROGRESS_BAR.0
mov dword [ebx + 0x5c], 0
mov dword [esp], 0xbf800000
call fcn.00415ee0
lea ecx, [ebx + 0x6c]
call fcn.00473ed0
lea ecx, [ebx + 0xb8]
mov byte [ebp - 4], 1
call fcn.00473ed0
push dword [ebx + 0x38]
lea ecx, [ebx + 0x6c]
mov byte [ebp - 4], 2
mov dword [ebx + 0x30], 5
call fcn.00474d60
push dword [ebx + 0x38]
lea ecx, [ebx + 0xb8]
call fcn.00474d60
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x495fd0
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c69c8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x5055f8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebx + 0x14], 0xf
mov dword [ebx + 0x10], 0
mov byte [ebx], 0
lea ecx, [ebx + 0x4c]
mov dword [ebp - 4], 0
call fcn.00415ed0
lea ecx, [ebx + 0x54]
call fcn.00415ed0
lea ecx, [ebx + 0x70]
call fcn.0041a070
mov ecx, ebx
lea ecx, [ecx + 0x80]
call fcn.0041a070
mov eax, ebx
sub esp, 8
lea ecx, [ebx + 0x4c]
mov dword [esp + 4], 0x42000000
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x20], 0x3f800000
mov dword [eax + 0x24], 0
mov dword [eax + 0x28], 0
mov dword [eax + 0x2c], 0
mov dword [eax + 0x30], 0
mov dword [eax + 0x34], 0
mov dword [eax + 0x38], 0
mov dword [eax + 0x3c], 0
mov dword [eax + 0x40], 0
mov dword [eax + 0x44], 0
mov dword [eax + 0x48], 0
mov dword [esp], 0x42000000
call fcn.00415f60
sub esp, 8
lea ecx, [ebx + 0x54]
mov dword [esp + 4], 0x42000000
mov dword [esp], 0x42000000
call fcn.00415f60
mov esi, ebx
push 0xffffffffffffffff
lea ecx, [ebp - 0x20]
mov dword [esi + 0x5c], 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [esi + 0x68], 0
mov dword [esi + 0x6c], 0
call fcn.0041a000
movq xmm0, qword [ebp - 0x20]
movq qword [ebx + 0x70], xmm0
movq xmm0, qword [ebp - 0x18]
push 0xffffffffffffffff
lea ecx, [ebp - 0x20]
movq qword [ebx + 0x78], xmm0
call fcn.0041a000
movq xmm0, qword [ebp - 0x20]
movq qword [esi + 0x80], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [esi + 0x88], xmm0
mov dword [esi + 0x90], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4aeff4
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5055f8]
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
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.004a36e4
mov dword [ebp - 0x14], eax
cmp dword [0x509a44], edi
jne 0x4af0e5
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x4af072
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4af1c5
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x4af1c5
push 0x4e5430
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4af1c5
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x509a44], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x509a48], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x509a4c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x509a54], eax
test eax, eax
je 0x4af0e2
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x509a50], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4af10a
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4af0fd
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x4af11f
push 4
pop eax
jmp 0x4af1c7
cmp dword [ebp - 0x14], edi
je 0x4af11f
push dword [0x509a44]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x4af104
mov eax, dword [0x509a50]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x4af17d
cmp dword [0x509a54], esi
je 0x4af17d
push eax
call ebx
push dword [0x509a54]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4af17d
test eax, eax
je 0x4af17d
call ecx
test eax, eax
je 0x4af172
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 0x4af172
test byte [ebp - 8], 1
jne 0x4af17d
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x4af1ad
mov eax, dword [0x509a48]
cmp eax, esi
je 0x4af1aa
push eax
call ebx
test eax, eax
je 0x4af1aa
call eax
mov edi, eax
test edi, edi
je 0x4af1aa
mov eax, dword [0x509a4c]
cmp eax, esi
je 0x4af1aa
push eax
call ebx
test eax, eax
je 0x4af1aa
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x509a44]
call ebx
test eax, eax
je 0x4af1c5
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x4af1c7
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0049ad54
leave
ret
Function at 0x4bc073
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.004a5815
mov esi, dword [ebp + 8]
push 2
mov edi, eax
lea eax, [ebp - 4]
push eax
mov ecx, esi
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x4bc0ab
xor eax, eax
jmp 0x4bc0d7
cmp esi, dword [ebp - 4]
je 0x4bc0d4
cmp dword [ebp + 0xc], 0
je 0x4bc0d4
push dword [edi + 0x9c]
call fcn.004bbc81
push dword [edi + 0x9c]
mov esi, eax
call fcn.004a3aea
pop ecx
pop ecx
cmp esi, eax
je 0x4bc0a7
xor eax, eax
inc eax
pop edi
pop esi
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x407ef8
nop
nop
mov ecx, 0x341f6bd9
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x42e024
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42cd70
nop
mov ecx, 0x26f724e
test eax, eax
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x42e06c
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x547370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x1a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x54738e
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
push 0x570074
push ecx
mov edi, eax
call fcn.0055b198
mov esi, eax
add esp, 8
test esi, esi
jne 0x5473cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.0055b02e
push esi
call fcn.0055afb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x54a850
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x218
lea eax, [esp]
push ebp
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
push 0x20019
push 0
push ecx
push SysReAllocString
call edi
test eax, eax
jne 0x54a8ae
mov ecx, dword [esp + 0xc]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
push eax
push 0x575720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x54a8ba
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x218
ret
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
lea ecx, [esp + 0x1c]
push str.DefaultIcon
push ecx
call fcn.0055b1e1
add esp, 8
lea edx, [esp + 0xc]
lea eax, [esp + 0x1c]
push edx
push 0x20019
push 0
push eax
push SysReAllocString
call edi
test eax, eax
jne 0x54a8ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0x575720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x54a92a
mov ecx, dword [esp + 0xc]
push ecx
call esi
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x218
ret
mov edx, dword [esp + 0xc]
push edx
call esi
lea eax, [esp + 0x1c]
push 0x2c
push eax
call fcn.0055c082
xor esi, esi
add esp, 8
cmp eax, esi
je 0x54a957
mov word [eax], si
add eax, 2
push eax
call fcn.0055c030
add esp, 4
jmp 0x54a959
xor eax, eax
lea ecx, [esp + 0x18]
push 1
lea edx, [esp + 0x18]
push ecx
push edx
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x24], esi
push eax
mov dword [esp + 0x2c], esi
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
test eax, eax
je 0x54a8ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0x54a8b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

Function at 0x54aff0
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
int 0x2e
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret