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

Disassembly:
push ebp
push ebx
push edi
push esi
push eax
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x40a88f
mov ebp, dword [esp + 0x18]
xor esi, esi
mov edi, 2
jmp 0x40a7c8
mov ebp, ebx
mov esi, ebp
lea eax, [edi + 4]
add edi, 2
cmp edi, ecx
mov edi, eax
mov ebp, dword [esp + 0x18]
jae 0x40a891
movzx eax, byte [ebp + edi - 2]
push eax
call fcn.004106e0
add esp, 4
mov bh, al
movzx eax, byte [ebp + edi - 1]
push eax
call fcn.004106e0
add esp, 4
shl bh, 2
mov ah, al
shr ah, 4
and ah, 3
or ah, bh
mov ecx, esi
and ecx, 1
mov edx, esi
xor edx, 1
lea ebx, [edx + ecx*2]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov byte [edx + esi], ah
cmp edi, ecx
jae 0x40a7b0
mov byte [esp + 3], al
mov esi, ebx
movzx eax, byte [ebp + edi]
push eax
call fcn.004106e0
add esp, 4
cmp al, 0x40
jne 0x40a830
mov ebp, esi
mov ecx, dword [esp + 0x1c]
jmp 0x40a7b2
mov bh, al
movzx ecx, byte [esp + 3]
shl cl, 4
shr al, 2
and al, 0xf
or al, cl
lea ebp, [esi + 1]
mov ecx, dword [esp + 0x20]
mov byte [ecx + esi], al
lea eax, [edi + 1]
mov ecx, dword [esp + 0x1c]
cmp eax, ecx
jae 0x40a7b2
mov eax, dword [esp + 0x18]
movzx eax, byte [eax + edi + 1]
push eax
call fcn.004106e0
mov ecx, dword [esp + 0x20]
add esp, 4
cmp al, 0x40
je 0x40a7b2
shl bh, 6
add al, bh
mov edx, dword [esp + 0x20]
mov byte [edx + esi + 1], al
add esi, 2
mov ebp, esi
jmp 0x40a7b2
xor esi, esi
mov eax, esi
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x414b90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xe0
mov eax, dword [ebp + 0xc]
mov esi, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [eax + esi + 2], 0
lea esi, [esi + 2]
jne 0x414bb0
sar esi, 1
lea edi, [esp + 0x7c]
push edi
push 0
push 0
push esi
push eax
push 0
call dword [0x34e48ec]
mov ebx, dword [esp + 0x7c]
test ebx, ebx
jns 0x414bdf
mov eax, 0xffffffff
jmp 0x414be2
lea eax, [ebx + ebx]
push eax
call fcn.00431360
add esp, 4
push edi
push ebx
mov dword [esp + 0x20], eax
push eax
push esi
push dword [ebp + 0xc]
push 0
call dword [0x34e48ec]
mov dword [esp + 0x20], 0xfb44f9aa
mov dword [esp + 0x24], 0xff69fd59
mov dword [esp + 0x28], 0xf310f16a
mov dword [esp + 0x2c], 0xf753f544
mov dword [esp + 0x30], 0xeb7de964
mov dword [esp + 0x34], 0xef7ded71
mov dword [esp + 0x38], 0xe3e0e170
lea eax, [esp + 0x3c]
mov dword [esp + 0x3c], 0
mov byte [esp + 0x40], 0
mov dword [esp + 0x94], 0
mov ecx, dword [esp + 0x94]
cmp ecx, 0x20
ja 0x414c96
nop
nop
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x94]
add cl, 0x7f
xor cl, byte [esp + edx + 0x20]
add cl, 0x87
mov edx, dword [esp + 0x94]
mov byte [esp + edx + 0x20], cl
inc dword [esp + 0x94]
mov ecx, dword [esp + 0x94]
cmp ecx, 0x21
jb 0x414c60
lea edi, [esp + 0xc0]
lea edx, [esp + 0x20]
mov ecx, 7
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
lea edi, [esp + 0xdc]
xor ecx, ecx
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
mov eax, dword [esp + 0x7c]
mov ecx, eax
and ecx, 0xe
xor eax, 0xe
lea eax, [eax + ecx*2]
mov ecx, eax
xor ecx, 0xfffffffe
and eax, 0xfffffffe
lea edx, [ecx + eax*2]
inc edx
test edx, edx
jns 0x414ce0
mov eax, 0xffffffff
jmp 0x414ce8
lea eax, [ecx + eax*2]
add eax, eax
add eax, 2
push eax
call fcn.00431360
add esp, 4
mov ebx, eax
mov eax, dword [esp + 0x18]
movzx ecx, word [eax]
mov eax, ebx
test cx, cx
je 0x414d21
mov eax, dword [esp + 0x18]
lea edx, [eax + 2]
mov eax, ebx
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x414d10
mov word [eax], 0
movzx ecx, word [esp + 0xc0]
test cx, cx
je 0x414d51
lea edx, [esp + 0xc2]
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x414d40
mov word [eax], 0
lea eax, [esp + 0x6c]
push 0x20
push 1
push 3
push 0x120089
push eax
push ebx
call fcn.00435e70
add esp, 0x18
not eax
shr eax, 0x1f
mov eax, dword [eax*4 + 0x34dd5a4]
mov ecx, 0x5844076e
xor ecx, dword [0x34dd5ac]
add eax, ecx
inc eax
jmp eax
Function at 0x42f900
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x70
mov dword [esp + 0x10], 0x6bc56d31
mov dword [esp + 0x14], 0x67e969e1
mov dword [esp + 0x18], 0x63ff65e8
mov dword [esp + 0x1c], 0x5fe261f5
mov dword [esp + 0x20], 0x5bc35dd2
mov dword [esp + 0x24], 0x57cb59d2
mov dword [esp + 0x28], 0x53525509
lea edx, [esp + 0x2c]
mov dword [esp + 0x2c], 0
mov word [esp + 0x30], 0
mov dword [esp + 0x40], 0
mov eax, dword [esp + 0x40]
cmp eax, 0x21
ja 0x42f9b3
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x40]
movzx esi, byte [esp + eax + 0x10]
lea eax, [ecx + esi]
add eax, 0xf47bc0d2
add ecx, 0xf47bc0d2
and ecx, esi
add ecx, ecx
sub eax, ecx
mov ecx, eax
xor ecx, 0x41
and eax, 0x41
lea eax, [ecx + eax*2]
inc al
mov ecx, dword [esp + 0x40]
mov byte [esp + ecx + 0x10], al
inc dword [esp + 0x40]
mov eax, dword [esp + 0x40]
cmp eax, 0x22
jb 0x42f970
lea eax, [esp + 0x40]
lea ebx, [esp + 0x10]
mov esi, ebx
mov ecx, 7
mov edi, eax
xchg esi, esi
rep movsd dword es:[edi], dword [esi]
xchg esi, esi
lea edi, [esp + 0x5c]
xor ecx, ecx
xchg esi, edx
rep movsw word es:[edi], word [esi]
xchg esi, edx
lea ecx, [esp + 0x5c]
push ecx
push 8
push ebx
push 0xd
push eax
push 0
call dword [0x34e48ec]
not eax
shr eax, 0x1f
mov eax, dword [eax*4 + 0x34e2060]
mov ecx, 0x997b739e
xor ecx, dword [0x34e2068]
add eax, ecx
inc eax
jmp eax
Function at 0x435e70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x48
mov ebp, dword [esp + 0x5c]
mov edi, 0xfffffffe
cmp word [ebp + edi + 2], 0
lea edi, [edi + 2]
jne 0x435e80
cmp edi, 0xfffffff5
jge 0x435e97
mov eax, 0xffffffff
jmp 0x435e9a
lea eax, [edi + 0xa]
push eax
call fcn.00431360
add esp, 4
mov esi, eax
mov dword [eax], 0x3f005c
mov dword [eax + 4], 0x5c003f
mov word [eax + 8], 0
add eax, 8
movzx ecx, word [ebp]
test cx, cx
je 0x435ee2
add ebp, 2
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [ebp]
add ebp, 2
test cx, cx
jne 0x435ed0
mov word [eax], 0
and edi, 0xfffffffe
lea eax, [edi + 8]
mov word [esp + 0x18], ax
add edi, 0xa
mov word [esp + 0x1a], di
mov dword [esp + 0x1c], esi
mov dword [esp + 0x28], 0x18
mov dword [esp + 0x2c], 0
mov dword [esp + 0x34], 0x40
lea eax, [esp + 0x18]
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov ecx, dword [0x34e4b00]
mov edi, 0xffffffff
test ecx, ecx
je 0x43603d
mov eax, dword [0x34e4b04]
add eax, 8
nop
nop
nop
nop
nop
nop
nop
cmp dword [eax - 8], 0xb1cf12ba
je 0x435f64
add eax, 0xc
dec ecx
jne 0x435f50
jmp 0x43603d
mov byte [esp + 0x14], 0
mov dword [esp + 0x10], 0x900000c2
mov dword [esp + 0xc], 0xd2ff0000
mov dword [esp + 8], 0xba00
mov dword [esp + 4], 0xb8
lea ebx, [esp + 0x14]
mov eax, dword [eax]
mov dword [esp + 5], eax
mov eax, dword [0x34e4b08]
mov dword [esp + 0xa], eax
mov word [esp + 0x11], 0x2c
mov dword [esp], 0
mov dword [esp + 0x24], 0x10
lea eax, [esp + 0x24]
mov ebp, esp
push 0x40
push 0x3000
push eax
push 0
push ebp
push 0xffffffffffffffff
call dword [0x34e4b0c]
mov eax, dword [esp]
lea edx, [esp + 4]
mov edi, eax
mov ecx, 4
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
add eax, 0x10
xor ecx, ecx
mov edi, eax
xchg esi, ebx
rep movsw word es:[edi], word [esi]
xchg esi, ebx
lea ecx, [esp + 0x40]
lea eax, [esp + 0x28]
push 0
push 0
push dword [esp + 0x78]
push dword [esp + 0x78]
push dword [esp + 0x78]
push 0x80
push 0
push ecx
push eax
push dword [esp + 0x88]
push dword [esp + 0x88]
call dword [esp + 0x2c]
mov edi, eax
mov dword [esp + 0x20], 0
lea eax, [esp + 0x20]
push 0x8000
push eax
push ebp
push 0xffffffffffffffff
call dword [0x34e4b10]
push esi
call fcn.00408cb0
add esp, 4
mov eax, edi
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x42ada0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x460040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, 0xffff
movzx eax, bx
mov dword [ebp - 0x34], eax
mov esi, ecx
cmp di, bx
jne 0x42addd
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043082d
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
test ecx, ecx
je 0x42ae17
mov edx, dword [esi + 0x30]
mov eax, dword [edx]
lea eax, [ecx + eax*2]
cmp ecx, eax
jae 0x42ae17
dec dword [edx]
mov ax, bx
mov edx, dword [esi + 0x20]
pop edi
mov esi, dword [edx]
lea ecx, [esi + 2]
mov dword [edx], ecx
mov word [esi], bx
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043082d
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x42aee7
mov ecx, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [ecx], eax
jne 0x42ae44
mov eax, dword [esi + 0xc]
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
sar edx, 1
mov dword [eax], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x42ae77
push dword [esi + 0x4c]
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputwc]
add esp, 8
movzx ecx, bx
cmp ax, di
cmove ecx, edi
pop edi
pop esi
mov ax, cx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043082d
mov esp, ebp
pop ebp
ret 4
movzx eax, bx
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x26]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_wchar_t__char__struct__Mbstatet_::out_struct__Mbstatet___wchar_t_const___wchar_t_const___wchar_t_const____char___char___char___const]
sub eax, 0
je 0x42aeb6
sub eax, 1
je 0x42aeb6
sub eax, 2
jne 0x42aee7
push dword [esi + 0x4c]
push dword [ebp - 0x28]
jmp 0x42ae4f
mov ebx, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub ebx, eax
je 0x42aed4
push dword [esi + 0x4c]
push ebx
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp ebx, eax
jne 0x42aee7
mov eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x30], ecx
movzx eax, ax
mov byte [esi + 0x3e], 1
cmovne edi, eax
mov ecx, dword [ebp - 4]
mov ax, di
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043082d
mov esp, ebp
pop ebp
ret 4
Function at 0x42b360
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x460040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x42b424
cmp byte [esi + 0x3e], 0
je 0x42b424
mov eax, dword [esi]
push edi
push 0xffff
call dword [eax + 0xc]
mov ecx, 0xffff
cmp cx, ax
je 0x42b412
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_wchar_t__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
sub eax, 0
je 0x42b3d9
sub eax, 1
je 0x42b3dd
sub eax, 2
jne 0x42b412
mov byte [esi + 0x3e], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043082d
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3e], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x42b3fb
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x42b412
cmp byte [esi + 0x3e], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043082d
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043082d
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.0043082d
mov esp, ebp
pop ebp
ret

Function at 0x4301b3
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push str._x_sys_default_locale
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
xor ecx, ecx
test eax, eax
jne 0x4301da
mov eax, ecx
mov dword [ebp - 4], eax
jmp 0x4301dd
mov eax, dword [ebp - 4]
push esi
mov esi, dword [ebp + 0xc]
push ecx
push ecx
push esi
push eax
push dword [ebp + 8]
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push eax
push dword [esi]
call fcn.0043018f
pop esi
leave
ret 8

Function at 0x431541
Capabilities:
Parse pe header

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1001cfab
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
push 2
mov ecx, dword [ebp - 4]
call fcn.10016c5c
mov dword [eax], 9
jmp 0x1001cf89
push 2
mov ecx, dword [ebp - 4]
call fcn.10016c5c
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
push 2
mov ecx, dword [ebp - 4]
call fcn.10016c5c
cmp dword [eax], 0x1b
jge 0x1001cfa9
mov dword [ebp - 0x10], 0x70ad
cmp dword [ebp - 0x10], 0
je 0x1001cfa7
jmp 0x1001cfa9
jmp 0x1001cf71
jmp 0x1001cfb1
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esp, ebp
pop ebp
ret
Function at 0x10033ac8
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
and dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x10033aec
xor eax, eax
jmp 0x10033c36
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax], 0x4550
je 0x10033b0a
xor eax, eax
jmp 0x10033c36
push 0x5de
push 0x104c
push 0x196d
push dword [ebp - 8]
push 0xe9f
push 0x3f37
lea eax, [ebp - 0xc]
push eax
push 1
call fcn.100336b2
add esp, 0x20
cmp dword [ebp - 0xc], 0
jne 0x10033b41
xor eax, eax
jmp 0x10033c36
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push 0x1ab1
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 1
push 0x73ba
lea eax, [ebp - 0x24]
push eax
call fcn.10033939
add esp, 0x20
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0x7a49
push 0x4107
push 0
call fcn.100339f1
add esp, 0x18
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
sub ecx, dword [eax + 0x34]
mov dword [ebp - 0x14], ecx
je 0x10033bb8
push 0x38f7
push 0x31e8
push 0x1ff9
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 4]
push eax
push 1
call fcn.100339f1
add esp, 0x18
push dword [ebp - 4]
call fcn.10032c35
pop ecx
test eax, eax
jne 0x10033bc9
xor eax, eax
jmp 0x10033c36
lea eax, [ebp - 4]
push eax
push 1
push 0x20ee
call fcn.10033a78
add esp, 0xc
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [eax + 0x28], 0
je 0x10033c1e
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0x28]
mov dword [ebp - 0x18], ecx
jne 0x10033bfb
xor eax, eax
jmp 0x10033c36
push 0
push 1
push 0xdeadbeef
call dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x10033c14
xor eax, eax
jmp 0x10033c36
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], 1
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
je 0x10033c2f
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
jmp 0x10033c33
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret
Function at 0x100894e2
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10094330]
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.1007a314
mov dword [ebp - 0x14], eax
cmp dword [0x10681114], esi
jne 0x100895d5
push 0x800
push esi
push 0x10007b6c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x10089562
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x100896b5
push esi
push esi
push 0x10007b6c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x100896b5
push 0x10007b84
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100896b5
push eax
call ebx
push 0x10007b90
push edi
mov dword [0x10681114], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007ba0
push edi
mov dword [0x10681118], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007bb4
push edi
mov dword [0x1068111c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x10681124], eax
test eax, eax
je 0x100895d2
push 0x10007bd0
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x10681120], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x100895fa
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x100895ed
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x1008960f
push 4
pop eax
jmp 0x100896b7
cmp dword [ebp - 0x14], esi
je 0x1008960f
push dword [0x10681114]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x100895f4
mov eax, dword [0x10681120]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x1008966d
cmp dword [0x10681124], edi
je 0x1008966d
push eax
call ebx
push dword [0x10681124]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x1008966d
test eax, eax
je 0x1008966d
call ecx
test eax, eax
je 0x10089662
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 0x10089662
test byte [ebp - 8], 1
jne 0x1008966d
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x1008969d
mov eax, dword [0x10681118]
cmp eax, edi
je 0x1008969a
push eax
call ebx
test eax, eax
je 0x1008969a
call eax
mov esi, eax
test esi, esi
je 0x1008969a
mov eax, dword [0x1068111c]
cmp eax, edi
je 0x1008969a
push eax
call ebx
test eax, eax
je 0x1008969a
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x10681114]
call ebx
test eax, eax
je 0x100896b5
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x100896b7
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call main
mov esp, ebp
pop ebp
ret
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
nop
mov ecx, 0x1d6c760b
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x42e024
nop
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42cd70
nop
mov ecx, 0x285d700b
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x42e084
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x430006
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
mov eax, section..text
nop
nop
nop
nop
nop
push 4
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
je 0x430072
nop
nop
nop
nop
mov ebx, 0x408ed0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x6cfa7ca1
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x430060
nop
nop
mov eax, str.__an
nop
nop
nop
cmp eax, 0
nop
je 0x4300d2
nop
nop
nop
nop
nop
mov ebx, 0x42e1d0
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x71b14de
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x100344a7
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
Function at 0x101b99da
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x101dbb5c]
jne 0x101b99e4
repz ret
jmp fcn.101bba4a

Function at 0x101bbd23
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.101b93f0
and dword [ebp - 4], 0
cmp dword [0x101dd8dc], 0
mov ebx, eax
jne 0x101bbdd4
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x101bbe85
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x101bbe85
push eax
call fcn.101b937e
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x101dd8dc], eax
call esi
push eax
call fcn.101b937e
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x101dd8e0], eax
call esi
push eax
call fcn.101b937e
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x101dd8e4], eax
call esi
push eax
call fcn.101b937e
pop ecx
mov dword [0x101dd8ec], eax
test eax, eax
je 0x101bbdd4
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.101b937e
pop ecx
mov dword [0x101dd8e8], eax
mov eax, dword [0x101dd8e8]
cmp eax, ebx
je 0x101bbe2c
cmp dword [0x101dd8ec], ebx
je 0x101bbe2c
push eax
call fcn.101b93f9
push dword [0x101dd8ec]
mov esi, eax
call fcn.101b93f9
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x101bbe2c
test edi, edi
je 0x101bbe2c
call esi
test eax, eax
je 0x101bbe23
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x101bbe23
test byte [ebp - 0xc], 1
jne 0x101bbe2c
or dword [ebp + 0x10], 0x200000
jmp 0x101bbe65
mov eax, dword [0x101dd8e0]
cmp eax, ebx
je 0x101bbe65
push eax
call fcn.101b93f9
pop ecx
test eax, eax
je 0x101bbe65
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x101bbe65
mov eax, dword [0x101dd8e4]
cmp eax, ebx
je 0x101bbe65
push eax
call fcn.101b93f9
pop ecx
test eax, eax
je 0x101bbe65
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x101dd8dc]
call fcn.101b93f9
pop ecx
test eax, eax
je 0x101bbe85
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x101bbe87
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret