joyce8/EMBER2024-capa huggingface dataset:
Function at 0x522724
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x158
call fcn.004057b4
cmp dword [ebp - 4], 0
je 0x5227d8
mov eax, dword [ebp - 4]
mov dword [ebx + 0x154], eax
movzx eax, word [ebp + 8]
mov edx, dword [ebp - 4]
movzx edx, word [edx + 8]
mov word [ebp - 6], dx
cmp ax, word [ebp - 6]
jbe 0x522794
movzx eax, ax
push eax
lea edx, [ebp - 0x46]
mov ecx, esi
mov eax, dword [ebp - 4]
call fcn.00522678
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0xa]
movzx ecx, ax
lea edx, [ebx + 0xd4]
lea eax, [ebp - 0x46]
call fcn.00404fe0
jmp 0x5227a4
movzx ecx, ax
lea edx, [ebx + 0xd4]
mov eax, esi
call fcn.00404fe0
movzx edx, word [ebp - 6]
dec edx
test dx, dx
jb 0x5227be
inc edx
lea eax, [ebx + 0xd4]
xor byte [eax], 0x36
inc eax
dec dx
jne 0x5227b5
mov eax, ebx
mov esi, dword [ebp - 4]
call dword [esi + 0xc]
movzx ecx, word [ebp - 6]
lea edx, [ebx + 0xd4]
mov eax, ebx
mov ebx, dword [ebp - 4]
call dword [ebx + 0x14]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x5227f0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov dword [esp], edx
mov ebx, eax
mov eax, dword [ebx + 0x154]
test eax, eax
je 0x522872
movzx edx, word [eax + 8]
mov word [esp + 4], dx
mov esi, eax
mov edx, dword [esp]
mov eax, ebx
call dword [esi + 0x10]
movzx edx, word [esp + 4]
dec edx
test edx, edx
jl 0x52282f
inc edx
lea eax, [ebx + 0xd4]
xor byte [eax], 0x6a
inc eax
dec edx
jne 0x522828
mov esi, dword [ebx + 0x154]
mov eax, ebx
call dword [esi + 0xc]
mov esi, dword [ebx + 0x154]
movzx ecx, word [esp + 4]
lea edx, [ebx + 0xd4]
mov eax, ebx
call dword [esi + 0x14]
mov eax, dword [ebx + 0x154]
mov esi, eax
movzx ecx, word [eax + 0xa]
mov edx, dword [esp]
mov eax, ebx
call dword [esi + 0x14]
mov esi, dword [ebx + 0x154]
mov edx, dword [esp]
mov eax, ebx
call dword [esi + 0x10]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x5228a4
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, eax
mov ecx, 0x10
mov eax, dword [edx]
xchg ah, al
rol eax, 0x10
xchg ah, al
mov dword [ebx], eax
add ebx, 4
add edx, 4
dec ecx
jne 0x5228ac
mov ecx, 0x40
mov eax, dword [ebx - 0xc]
xor eax, dword [ebx - 0x20]
xor eax, dword [ebx - 0x38]
xor eax, dword [ebx - 0x40]
rol eax, 1
mov dword [ebx], eax
add ebx, 4
dec ecx
jne 0x5228c5
pop ebx
ret
Function at 0x523160
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
mov word [ebp - 0xa], cx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x523186
mov dword [ebp - 0x10], 1
jmp 0x5232d6
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0xa]
test ax, ax
jne 0x52319e
mov dword [ebp - 0x10], 2
jmp 0x5232d6
xor edx, edx
mov dword [ebp - 0x10], edx
mov word [ebp - 0x14], ax
mov word [ebp - 0x12], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 4
call fcn.004057b4
movzx eax, word [ebp + 8]
dec eax
movzx edx, word [ebp - 0x14]
mov ecx, edx
cdq
idiv ecx
inc eax
test ax, ax
jbe 0x5232d6
mov word [ebp - 0x22], ax
lea eax, [ebp - 0x20]
call fcn.0052314c
lea eax, [ebp - 0xa8]
xor ecx, ecx
mov edx, 0x40
call fcn.004057b4
mov eax, dword [ebp + 0x10]
test eax, eax
jle 0x52329c
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x18], 1
movzx eax, word [ebp - 0xa]
push eax
lea eax, [ebp - 0x200]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00522724
cmp dword [ebp - 0x18], 1
jne 0x523250
movzx ecx, word [ebp + 0x14]
lea eax, [ebp - 0x200]
mov edx, dword [ebp + 0x18]
call fcn.005227e0
lea edx, [ebp - 0x20]
lea eax, [ebp - 0x200]
mov ecx, 4
call fcn.005227e0
jmp 0x523262
movzx ecx, word [ebp - 0x14]
lea edx, [ebp - 0x68]
lea eax, [ebp - 0x200]
call fcn.005227e0
lea edx, [ebp - 0x68]
lea eax, [ebp - 0x200]
call fcn.005227f0
movzx ecx, word [ebp - 0x14]
dec ecx
test cx, cx
jb 0x523290
inc ecx
lea eax, [ebp - 0x68]
lea edx, [ebp - 0xa8]
movzx ebx, byte [eax]
xor byte [edx], bl
inc edx
inc eax
dec cx
jne 0x523284
inc dword [ebp - 0x18]
dec dword [ebp - 0x28]
jne 0x52320d
movzx ecx, word [ebp - 0x14]
dec ecx
test cx, cx
jb 0x5232cc
inc ecx
lea eax, [ebp - 0xa8]
movzx edx, word [ebp - 0x12]
cmp dx, word [ebp + 8]
jae 0x5232c6
movzx edx, byte [eax]
mov ebx, dword [ebp - 0x1c]
mov byte [ebx], dl
inc word [ebp - 0x12]
inc dword [ebp - 0x1c]
inc eax
dec cx
jne 0x5232ad
dec word [ebp - 0x22]
jne 0x5231de
mov eax, dword [ebp - 0x10]
pop ebx
mov esp, ebp
pop ebp
ret 0x14

Function at 0x52bb14
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
dec eax
test eax, eax
jl 0x52bb6e
inc eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
movzx eax, byte [eax + edx]
xor eax, dword [ebp - 0x10]
and eax, 0xff
mov eax, dword [eax*4 + 0x567bb8]
mov edx, dword [ebp - 0x10]
shr edx, 8
and edx, 0xffffff
xor eax, edx
mov dword [ebp - 0x10], eax
inc dword [ebp - 0x14]
dec dword [ebp - 0x18]
jne 0x52bb3c
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x52bd20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
dec eax
test eax, eax
jl 0x52bd7d
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
add eax, dword [ebp - 0x18]
mov al, byte [eax]
mov byte [ebp - 0x12], al
mov eax, dword [ebp - 0x10]
call fcn.0052bc70
xor al, byte [ebp - 0x12]
mov byte [ebp - 0x11], al
mov edx, dword [ebp - 0x10]
mov al, byte [ebp - 0x11]
call fcn.0052bbd8
mov eax, dword [ebp - 8]
mov eax, dword [eax]
add eax, dword [ebp - 0x18]
mov dl, byte [ebp - 0x11]
mov byte [eax], dl
inc dword [ebp - 0x18]
dec dword [ebp - 0x1c]
jne 0x52bd42
mov esp, ebp
pop ebp
ret

Function at 0x52bdd8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00407740
xor eax, eax
push ebp
push 0x52b2ba
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov dword [eax], 0x12345678
mov dword [eax + 4], 0
mov eax, dword [ebp - 8]
mov dword [eax + 8], 0x23456789
mov dword [eax + 0xc], 0
mov eax, dword [ebp - 8]
mov dword [eax + 0x10], 0x34567890
mov dword [eax + 0x14], 0
lea eax, [ebp - 4]
xor edx, edx
call fcn.00407438
call fcn.004075d0
dec eax
test eax, eax
jl 0x52be6b
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 4]
call fcn.00407750
add eax, dword [ebp - 0x14]
mov al, byte [eax]
mov edx, dword [ebp - 8]
call fcn.0052bbd8
inc dword [ebp - 0x14]
dec dword [ebp - 0x1c]
jne 0x52be4e
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
call fcn.0052bc70
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
xor al, byte [edx + ecx]
mov byte [ebp - 0x15], al
mov edx, dword [ebp - 8]
mov al, byte [ebp - 0x15]
call fcn.0052bbd8
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov cl, byte [ebp - 0x15]
mov byte [eax + edx], cl
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0xc
jne 0x52be70
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52b2c1
lea eax, [ebp - 4]
call fcn.0040720c
ret

Function at 0x5471e8
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x56ecb0
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x54720a
shr eax, 1
xor eax, 0xedb88320
jmp 0x54720c
shr eax, 1
dec edx
jne 0x5471f8
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x5471f1
mov byte [0x56f0b0], 1
pop esi
pop ebx
ret

Function at 0x547204
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x56ecb0
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x54720a
shr eax, 1
xor eax, 0xedb88320
jmp 0x54720c
shr eax, 1
dec edx
jne 0x5471f8
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x5471f1
mov byte [0x56f0b0], 1
pop esi
pop ebx
ret
Function at 0x547228
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x56f0b0], 0
jne 0x54723f
call fcn.005471e8
mov eax, edi
dec eax
test eax, eax
jl 0x547267
inc eax
xor edx, edx
movzx ecx, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x56ecb0]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x547249
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x54a010
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 0x14]
movzx edx, byte [eax + 0x461]
movzx ecx, dl
cmp ecx, 6
ja 0x54a15b
jmp dword [ecx*4 + 0x549443]
mov edx, dword [eax + 0x468]
mov ecx, dword [ebx + 0x1c]
dec ecx
imul edx, ecx
mov esi, edx
add esi, dword [eax + 0x450]
mov dword [ebp - 0x10], esi
mov esi, dword [eax + 0x454]
mov dword [ebp - 0xc], esi
add edx, dword [eax + 0x44c]
mov dword [ebp - 0x14], edx
mov esi, ecx
test esi, esi
jb 0x54a1f3
inc esi
mov eax, dword [ebx + 0x20]
inc eax
push eax
lea eax, [ebx + 0x4c]
push eax
mov eax, dword [ebp + 8]
push eax
movzx eax, byte [ebx + 0x48]
mov ecx, dword [ebx + eax*4 + 0x40]
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.005491bc
test eax, eax
je 0x54a1f3
mov eax, ebx
call fcn.0054a1fc
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x14]
push eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
lea edx, [eax + 1]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
call dword [ebp - 0x20]
movzx eax, byte [ebx + 0x48]
xor al, 1
mov byte [ebx + 0x48], al
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 0x468]
sub dword [ebp - 0x10], eax
sub dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x18]
add dword [ebp - 0xc], eax
dec esi
jne 0x54a18c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x54a1fc
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax]
dec al
je 0x54a22d
dec al
je 0x54a268
dec al
je 0x54a2ad
dec al
je 0x54a316
jmp 0x54a3a0
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x54a3a0
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx edx, byte [ecx + edx]
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x54a23d
jmp 0x54a3a0
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x54a3a0
mov esi, 1
movzx eax, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x54a278
jmp 0x54a3a0
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x54a3a0
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x54a2dc
xor ebp, ebp
jmp 0x54a2ec
mov ecx, esi
sub ecx, edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x54a2f5
adc eax, 0
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x54a2bd
jmp 0x54a3a0
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x54a3a0
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x54a36f
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
movzx edx, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
movzx ecx, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.00547270
add al, byte [esp]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x54a32a
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4fbd02
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x509508
push 0x4fbe36
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
and dword [ebp - 4], 0
push 1
call dword [sym.imp.MSVCRT.dll___set_app_type]
pop ecx
or dword [0x559a5c], 0xffffffff
or dword [0x559a60], 0xffffffff
call dword [sym.imp.MSVCRT.dll___p__fmode]
mov ecx, dword [0x558188]
mov dword [eax], ecx
call dword [sym.imp.MSVCRT.dll___p__commode]
mov ecx, dword [0x558184]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCRT.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x559a58], eax
call sym.stub.exe_php_module_shutdown_for_exec
cmp dword [0x54d460], 0
jne 0x4fbd85
push sym.stub.exe__php_stream_sock_open_unix
call dword [sym.imp.MSVCRT.dll___setusermatherr]
pop ecx
call fcn.004fbe24
push 0x51200c
push 0x512008
call sub.MSVCRT.dll__initterm
mov eax, dword [0x558180]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push dword [0x55817c]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.MSVCRT.dll___getmainargs]
push 0x512004
push section..data
call sub.MSVCRT.dll__initterm
call dword [sym.imp.MSVCRT.dll___p___initenv]
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
push dword [ebp - 0x20]
push dword [ebp - 0x2c]
push dword [ebp - 0x1c]
call fcn.00402c99
add esp, 0x30
mov dword [ebp - 0x24], eax
push eax
call dword [sym.imp.MSVCRT.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x30], ecx
push eax
push ecx
call sub.MSVCRT.dll__XcptFilter
pop ecx
pop ecx
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x1085c80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x9de000]
add word [edi + 0xc8687c], 0xd
push edi
jmp 0x1085ca2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1085ca9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1085c98
mov eax, 1
add ebx, ebx
jne 0x1085cbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1085ccc
jne 0x1085ceb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1085ceb
dec eax
add ebx, ebx
jne 0x1085cd8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x1085cb0
add ebx, ebx
jne 0x1085ce7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x1085d3d
xor ecx, ecx
sub eax, 3
jb 0x1085d03
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1085d72
sar eax, 1
mov ebp, eax
jmp 0x1085d0e
add ebx, ebx
jne 0x1085d0e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1085cdc
inc ecx
add ebx, ebx
jne 0x1085d1c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1085cdc
add ebx, ebx
jne 0x1085d29
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x1085d1e
jne 0x1085d3a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1085d1e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1085d5c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1085d4e
jmp 0x1085c9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1085d5c
add edi, ecx
jmp 0x1085c9e
pop esi
mov edi, esi
mov ecx, 0x4f818
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x1085d7a
mov eax, dword [edi]
mov bl, byte [edi + 4]
xchg ah, al
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 0x1085d7f
lea edi, [esi + 0xc82000]
mov eax, dword [edi]
or eax, eax
je 0x1085df0
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xc86d5c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xc86e88]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1085da5
mov ecx, edi
jns 0x1085dd4
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xc86e8c]
or eax, eax
je 0x1085dea
mov dword [ebx], eax
add ebx, 4
jmp 0x1085dc2
call dword [esi + 0xc86e9c]
mov ebp, dword [esi + 0xc86e90]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
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 0x1085e24
sub esp, 0xffffff80
jmp 0xbe7bb5
Function at 0x409d35
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.0040710b
and dword [ebp - 4], 0
cmp dword [0x41185c], 0
mov ebx, eax
jne 0x409de6
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x409e97
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x409e97
push eax
call fcn.00407099
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x41185c], eax
call esi
push eax
call fcn.00407099
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x411860], eax
call esi
push eax
call fcn.00407099
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x411864], eax
call esi
push eax
call fcn.00407099
pop ecx
mov dword [0x41186c], eax
test eax, eax
je 0x409de6
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00407099
pop ecx
mov dword [0x411868], eax
mov eax, dword [0x411868]
cmp eax, ebx
je 0x409e3e
cmp dword [0x41186c], ebx
je 0x409e3e
push eax
call fcn.00407114
push dword [0x41186c]
mov esi, eax
call fcn.00407114
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x409e3e
test edi, edi
je 0x409e3e
call esi
test eax, eax
je 0x409e35
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x409e35
test byte [ebp - 0xc], 1
jne 0x409e3e
or dword [ebp + 0x10], 0x200000
jmp 0x409e77
mov eax, dword [0x411860]
cmp eax, ebx
je 0x409e77
push eax
call fcn.00407114
pop ecx
test eax, eax
je 0x409e77
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x409e77
mov eax, dword [0x411864]
cmp eax, ebx
je 0x409e77
push eax
call fcn.00407114
pop ecx
test eax, eax
je 0x409e77
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x41185c]
call fcn.00407114
pop ecx
test eax, eax
je 0x409e97
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x409e99
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x100010e3
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffffc
push dword [ebp + 8]
push 0
push 0
call sub.kernel32.dll_CreateMutexA
mov dword [ebp - 4], eax
or eax, eax
je 0x10001115
call sub.kernel32.dll_GetLastError
cmp eax, 0xb7
jne 0x10001115
push dword [ebp - 4]
call fcn.100010c6
push 0
pop dword [ebp - 4]
mov eax, dword [ebp - 4]
leave
ret 4

Function at 0x10001134
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
push 0x44
lea eax, [ebp - 0x44]
push eax
call fcn.1000111c
push 0x10
lea eax, [ebp - 0x54]
push eax
call fcn.1000111c
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x44]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push dword [ebp + 8]
push 0
call sub.kernel32.dll_CreateProcessA
lea edi, [ebp - 0x54]
push dword [edi]
push dword [edi + 4]
call sub.kernel32.dll_CloseHandle
call sub.kernel32.dll_CloseHandle
leave
ret 4
Function at 0x71401139
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
sub eax, 0
mov dword [ebp - 4], 4
je 0x7140259c
dec eax
jne 0x71401222
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
call fcn.71401588
push 0x714bf018
push 0x714bf010
call fcn.7140182a
pop ecx
pop ecx
call fcn.7140169a
mov dword [0x714bf00c], 0x50
call fcn.71401724
mov ecx, dword [0x714bf00c]
test eax, eax
je 0x7140119e
add ecx, ecx
mov dword [0x714bf00c], ecx
push edi
push 3
pop edi
mov eax, ecx
shl eax, 2
xor edx, edx
div edi
mov dword [0x714bf004], ecx
mov dword [0x714bf014], eax
lea eax, [ecx + ecx]
mov dword [0x714bf030], eax
mov eax, ecx
imul eax, eax, 0x28
mov dword [section..data], eax
lea eax, [ebp + 0xc]
push eax
push 0x714014c4
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
pop edi
test eax, eax
jne 0x7141b86b
lea eax, [ebp - 4]
push eax
push 0x714bf008
lea eax, [ebp + 8]
push eax
push 0
push 0x7140122c
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x7141b84e
mov dword [0x714bf008], 0x18
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.71401bc0
xor eax, eax
inc eax
leave
ret 0xc
call 0x714027fd
mov eax, dword [0x714c131c]
test eax, eax
je 0x71401222
jmp 0x7141b87a
cmp eax, 0x80
ja 0x7140120a
jmp 0x71401214
cmp dword [ebp + 8], 4
jne 0x7140120a
mov eax, dword [0x714bf008]
cmp eax, 4
jae 0x714025b3
jmp 0x7140120a
mov dword [0x714bf008], 0x18
jmp 0x7140121d
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x71401222

Function at 0x7140169a
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x714bf044]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push 0x9c
xor edi, edi
lea eax, [ebp - 0xa0]
push edi
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0xa0]
push eax
mov dword [ebp - 0xa0], 0x9c
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x71401705
cmp dword [ebp - 0x90], 2
jne 0x71401705
cmp dword [ebp - 0x9c], 5
je 0x7141b72d
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.71401712
leave
ret
mov dword [0x714c1608], edi
jmp 0x714016f8
cmp dword [ebp - 0x98], edi
jne 0x714016f8
mov dword [0x714c1608], edi
cmp word [ebp - 0xc], di
je 0x714016f8
mov dword [0x714c46b8], 1
jmp 0x714016f8