joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4f8bd0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ecx, 0x67e1ab
call fcn.0050484f
mov dword [ebp - 8], 0x26f
mov dword [ebp - 0xc], 0xe3
mov dword [ebp - 0x10], 0
jmp 0x4f8c06
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xe3
jae 0x4f8c72
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + eax*4 + 0x9c4]
and edx, 0x80000000
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + eax*4 + 0x9c8]
and eax, 0x7fffffff
or edx, eax
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
and eax, 1
je 0x4f8c4a
mov dword [ebp - 0x68], 0x9908b0df
jmp 0x4f8c51
mov dword [ebp - 0x68], 0
mov ecx, dword [ebp - 0x14]
shr ecx, 1
xor ecx, dword [ebp - 0x68]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
xor ecx, dword [eax + edx*4 + 0xff8]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
mov dword [eax + edx*4 + 4], ecx
jmp 0x4f8bfd
mov dword [ebp - 0x18], 0xe3
jmp 0x4f8c84
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x26f
jae 0x4f8cf0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + eax*4 + 0x9c4]
and edx, 0x80000000
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + eax*4 + 0x9c8]
and eax, 0x7fffffff
or edx, eax
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
and eax, 1
je 0x4f8cc8
mov dword [ebp - 0x68], 0x9908b0df
jmp 0x4f8ccf
mov dword [ebp - 0x68], 0
mov ecx, dword [ebp - 0x1c]
shr ecx, 1
xor ecx, dword [ebp - 0x68]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
xor ecx, dword [eax + edx*4 - 0x388]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
mov dword [eax + edx*4 + 4], ecx
jmp 0x4f8c7b
mov dword [ebp - 0x20], 0x26f
mov eax, 4
imul ecx, eax, 0x4df
mov edx, dword [ebp - 4]
mov eax, dword [edx + ecx + 4]
and eax, 0x80000000
mov ecx, 4
imul edx, ecx, 0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + edx + 4]
and edx, 0x7fffffff
or eax, edx
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
and eax, 1
je 0x4f8d39
mov dword [ebp - 0x68], 0x9908b0df
jmp 0x4f8d40
mov dword [ebp - 0x68], 0
mov ecx, dword [ebp - 0x24]
shr ecx, 1
xor ecx, dword [ebp - 0x68]
mov edx, 4
imul eax, edx, 0x18c
mov edx, dword [ebp - 4]
xor ecx, dword [edx + eax + 4]
mov eax, 4
imul edx, eax, 0x26f
mov eax, dword [ebp - 4]
mov dword [eax + edx + 4], ecx
mov eax, dword [ebp - 4]
mov dword [eax], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4f8d80
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ecx, 0x67e1ab
call fcn.0050484f
mov dword [ebp - 8], 0x270
jmp 0x4f8da8
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x4e0
jae 0x4f8e14
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + eax*4 - 0x9bc]
and edx, 0x80000000
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + eax*4 - 0x9b8]
and eax, 0x7fffffff
or edx, eax
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
and eax, 1
je 0x4f8dec
mov dword [ebp - 0x50], 0x9908b0df
jmp 0x4f8df3
mov dword [ebp - 0x50], 0
mov ecx, dword [ebp - 0xc]
shr ecx, 1
xor ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
xor ecx, dword [eax + edx*4 - 0x388]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov dword [eax + edx*4 + 4], ecx
jmp 0x4f8d9f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4fc5c0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50c07b
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
mov eax, dword [0x675980]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, 0x67e238
call fcn.0050484f
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x28]
push ecx
call fcn.004f6f20
add esp, 8
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.0041fcd0
mov byte [ebp - 4], 1
mov dword [ebp - 0x44], str.Error:__n
mov dword [ebp - 0x48], str.Where:__n
mov dword [ebp - 0x4c], str.Reason:__n
mov dword [ebp - 0x50], str.Fatal_Error
push 0x32
lea ecx, [ebp - 0x40]
call fcn.00430c60
mov dword [ebp - 0x98], str.Error:__n
mov dword [ebp - 0x94], 0xa
lea eax, [ebp + 8]
push eax
mov ecx, dword [ebp - 0x94]
push ecx
mov edx, dword [ebp - 0x98]
push edx
lea eax, [ebp - 0xb0]
push eax
call fcn.004f1ef0
add esp, 0x10
mov dword [ebp - 0xf8], eax
mov ecx, dword [ebp - 0xf8]
push ecx
lea ecx, [ebp - 0x40]
call fcn.004f45c0
lea ecx, [ebp - 0xb0]
call fcn.00402db0
mov dword [ebp - 0xb8], str.Where:__n
mov dword [ebp - 0xb4], 0xa
lea eax, [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0xb4]
push ecx
mov edx, dword [ebp - 0xb8]
push edx
lea eax, [ebp - 0xd0]
push eax
call fcn.004f1ef0
add esp, 0x10
mov dword [ebp - 0xf8], eax
mov ecx, dword [ebp - 0xf8]
mov dword [ebp - 0xfc], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0xfc]
push edx
lea ecx, [ebp - 0x40]
call fcn.004245c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xd0]
call fcn.00402db0
lea ecx, [ebp - 0x28]
call fcn.00428b40
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0xdc], str.Reason:__n
mov dword [ebp - 0xd8], 0xb
lea eax, [ebp - 0xd4]
push eax
mov ecx, dword [ebp - 0xd8]
push ecx
mov edx, dword [ebp - 0xdc]
push edx
lea eax, [ebp - 0xf4]
push eax
call fcn.004f1f90
add esp, 0x10
mov dword [ebp - 0xf8], eax
mov ecx, dword [ebp - 0xf8]
mov dword [ebp - 0xfc], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0xfc]
push edx
lea ecx, [ebp - 0x40]
call fcn.004245c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xf4]
call fcn.00402db0
push 0x10
mov eax, dword [ebp - 0x50]
push eax
lea ecx, [ebp - 0x40]
call fcn.00428b40
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00402db0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00402db0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005048c4
mov esp, ebp
pop ebp
ret

Function at 0x5064e1
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x506520
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x506520
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x506520
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x506520
cmp dword [ecx + 0x74], 0xe
jbe 0x506520
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x536a30
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x211000
lea edi, [esi - 0xe0000]
push edi
jmp 0x536a4a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x536a51
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x536a40
mov eax, 1
add ebx, ebx
jne 0x536a63
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x536a74
jne 0x536a93
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x536a93
dec eax
add ebx, ebx
jne 0x536a80
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x536a58
add ebx, ebx
jne 0x536a8f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x536ae5
xor ecx, ecx
sub eax, 3
jb 0x536aab
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x536b1a
sar eax, 1
mov ebp, eax
jmp 0x536ab6
add ebx, ebx
jne 0x536ab6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x536a84
inc ecx
add ebx, ebx
jne 0x536ac4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x536a84
add ebx, ebx
jne 0x536ad1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x536ac6
jne 0x536ae2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x536ac6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x536b04
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x536af6
jmp 0x536a46
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x536b04
add edi, ecx
jmp 0x536a46
pop esi
mov edi, esi
mov ecx, 0x3ee5
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x536b22
cmp byte [edi], 0x11
jne 0x536b22
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x536b27
lea edi, [esi + 0x12f000]
mov eax, dword [edi]
or eax, eax
je 0x536b9f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x19403c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1941b8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x536b54
mov ecx, edi
jns 0x536b83
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 + 0x1941bc]
or eax, eax
je 0x536b99
mov dword [ebx], eax
add ebx, 4
jmp 0x536b71
call dword [esi + 0x1941cc]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x536bd0
cmp al, 0xef
ja 0x536bc3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x536ba5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x536bb2
mov ebp, dword [esi + 0x1941c0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
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 0x536c04
sub esp, 0xffffff80
jmp 0x427f4a
Function at 0x10006089
Capabilities:
Resume thread

Disassembly:
push 0x10
mov eax, 0x10011324
call fcn.10010dbc
mov ebx, ecx
mov dword [ebp - 0x18], ebx
cmp byte [ebx + 4], 0
jne 0x100061ed
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
cmp eax, dword [ebx]
jne 0x100061ed
push 0x1000334a
push 0xd008
call fcn.100080c7
mov edi, eax
mov dword [ebp - 0x1c], edi
pop ecx
pop ecx
test edi, edi
je 0x100061e6
push 0xc000
xor ebx, ebx
push ebx
push edi
call fcn.1000ec20
add esp, 0xc
mov dword [edi + 0xc000], ebx
lea eax, [edi + 0xc004]
push 0x1000
push ebx
push eax
call fcn.1000ec20
add esp, 0xc
mov dword [edi + 0xd004], ebx
test edi, edi
je 0x100061e6
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
lea ecx, [ebp - 0x1c]
call fcn.100080c7
mov ecx, edi
mov dword [ebp - 4], ebx
call fcn.100080c7
mov esi, eax
push esi
push 0x10003028
mov dword [ebp - 0x10], esi
call fcn.100080c7
pop ecx
pop ecx
test esi, esi
jne 0x1000619a
mov ecx, edi
call fcn.100080c7
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x100061fa
mov eax, dword [eax]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x10014250]
mov ecx, dword [ebp - 0x14]
call esi
call fcn.100080c7
test eax, eax
je 0x10006190
jg 0x10006175
mov esi, eax
mov dword [ebp - 0x10], eax
jmp 0x10006181
movzx esi, ax
or esi, 0x80070000
mov dword [ebp - 0x10], esi
push esi
push 0x10003050
call fcn.100080c7
pop ecx
pop ecx
jmp 0x1000619a
mov eax, dword [ebp - 0x18]
mov esi, dword [ebp - 0x10]
mov byte [eax + 4], 1
lea ecx, [ebp - 0x1c]
call fcn.1000704c
lea eax, [edi + 0xc000]
mov dword [ebp - 0x1c], eax
cmp dword [eax], ebx
jbe 0x100061ce
lea esi, [edi + 8]
test byte [esi - 4], 1
je 0x100061c3
push dword [esi]
call dword [sym.imp.kernel32.dll_ResumeThread]
mov eax, dword [ebp - 0x1c]
inc ebx
add esi, 0xc
cmp ebx, dword [eax]
jb 0x100061b2
mov esi, dword [ebp - 0x10]
mov ecx, edi
call fcn.100080c7
push 0xd008
push edi
call fcn.100080c7
pop ecx
pop ecx
mov eax, esi
jmp 0x100061f2
mov eax, 0x8007000e
jmp 0x100061f2
mov eax, 0x800710dd
call fcn.10010d85
ret 4
call fcn.100080c7
int3

Function at 0x100080c7
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x100080d6
pop dword [ebp - 0x48]
mov eax, 0x2747bca4
sub eax, 0x17473bce
sub dword [ebp - 0x48], eax
push 0x40
push 0x1000
push 0x3af62
push 0
mov eax, 0xcddbed85
sub eax, 0xbddaad21
add eax, dword [ebp - 0x48]
call dword [eax]
mov ecx, 0x35b8f22b
add ecx, 0xca475dab
xor ebx, ebx
add ebx, eax
mov edx, 0x10018600
add edx, dword [ebp - 0x48]
mov edi, 0x83d9a8f2
sub edi, 0x35c99926
add dword [ebp - 8], edx
mov esi, dword [edx]
sub dword [ebp - 0x10], 0xf3fe0f6c
xor esi, edi
sub dword [ebp - 0x30], 0x9fe76b63
mov dword [ebx], esi
mov dword [ebp - 0x30], 0x533d7679
add ebx, 0x42633556
sub ebx, 0x42633552
add edx, 4
loop 0x10008131
add eax, 0x1a9c912
add eax, 0xfe576919
mov ebx, eax
add eax, 0xbe24588
add eax, 0xf41dba7d
mov ecx, 0x8ec41a68
add ecx, 0x813be598
add ecx, dword [ebp - 0x48]
call ebx
leave
ret
Function at 0x4072ad
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x46bc7c], 0
jne 0x4072eb
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
movzx edx, dl
neg edx
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4072c1
mov dword [ecx*4 + 0x46bc78], eax
inc ecx
cmp ecx, 0x100
jl 0x4072bc
pop esi
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
not eax
jbe 0x407318
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
dec dword [ebp + 0x10]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x46bc78]
inc ecx
cmp dword [ebp + 0x10], 0
ja 0x4072f9
not eax
pop ebp
ret 0xc

Function at 0x23899a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1f5a000]
push edi
or ebp, 0xffffffff
jmp 0x23899c2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x23899c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x23899b8
mov eax, 1
add ebx, ebx
jne 0x23899db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x23899ec
jne 0x2389a0b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x2389a0b
dec eax
add ebx, ebx
jne 0x23899f8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x23899d0
add ebx, ebx
jne 0x2389a07
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x2389a5d
xor ecx, ecx
sub eax, 3
jb 0x2389a23
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x2389a92
sar eax, 1
mov ebp, eax
jmp 0x2389a2e
add ebx, ebx
jne 0x2389a2e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x23899fc
inc ecx
add ebx, ebx
jne 0x2389a3c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x23899fc
add ebx, ebx
jne 0x2389a49
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x2389a3e
jne 0x2389a5a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x2389a3e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x2389a7c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x2389a6e
jmp 0x23899be
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x2389a7c
add edi, ecx
jmp 0x23899be
pop esi
lea edi, [esi + 0x1f87000]
mov eax, dword [edi]
or eax, eax
je 0x2389adb
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1f8ff2c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1f8ff68]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x2389a99
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1f8ff70]
or eax, eax
je 0x2389ad5
mov dword [ebx], eax
add ebx, 4
jmp 0x2389ab6
call dword [esi + 0x1f8ff6c]
mov ebp, dword [esi + 0x1f8ff74]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1f7]
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 0x2389b0f
sub esp, 0xffffff80
jmp 0x4066c1
Function at 0x54e0f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x12d000]
push edi
or ebp, 0xffffffff
jmp 0x54e112
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x54e119
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x54e108
mov eax, 1
add ebx, ebx
jne 0x54e12b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x54e13c
jne 0x54e15b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x54e15b
dec eax
add ebx, ebx
jne 0x54e148
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x54e120
add ebx, ebx
jne 0x54e157
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x54e1ad
xor ecx, ecx
sub eax, 3
jb 0x54e173
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x54e1e2
sar eax, 1
mov ebp, eax
jmp 0x54e17e
add ebx, ebx
jne 0x54e17e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x54e14c
inc ecx
add ebx, ebx
jne 0x54e18c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x54e14c
add ebx, ebx
jne 0x54e199
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x54e18e
jne 0x54e1aa
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x54e18e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x54e1cc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x54e1be
jmp 0x54e10e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x54e1cc
add edi, ecx
jmp 0x54e10e
pop esi
mov edi, esi
mov ecx, 0xada
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x54e1ea
cmp byte [edi], 0xd
jne 0x54e1ea
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x54e1ef
lea edi, [esi + 0x14c000]
mov eax, dword [edi]
or eax, eax
je 0x54e267
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x153d18]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x153d54]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x54e21c
mov ecx, edi
jns 0x54e24b
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 + 0x153d58]
or eax, eax
je 0x54e261
mov dword [ebx], eax
add ebx, 4
jmp 0x54e239
call dword [esi + 0x153d68]
mov ebp, dword [esi + 0x153d5c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1d7]
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 0x54e29b
sub esp, 0xffffff80
jmp 0x405254
Function at 0x10001000
Capabilities:
Terminate process

Disassembly:
mov eax, dword [0x10009b88]
sub esp, 0x420
test eax, eax
push ebx
mov ebx, dword [sym.imp.USER32.dll_MessageBoxA]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
jne 0x1000107d
lea eax, [esp + 0x1c]
push str.krptOrg
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [0x10009b88], eax
jne 0x1000107d
lea edx, [esp + 0x1c]
lea eax, [esp + 0x224]
push edx
push 0x10007068
push eax
call edi
add esp, 0xc
lea ecx, [esp + 0x224]
push 0x10
push str.AheadLib
push ecx
push 0
call ebx
mov eax, dword [0x10009b88]
test eax, eax
jne 0x1000107d
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov esi, dword [esp + 0x430]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x100010d9
mov edx, esi
shr edx, 0x10
jne 0x100010ab
push esi
lea eax, [esp + 0x10]
push 0x10007058
push eax
call edi
add esp, 0xc
lea esi, [esp + 0xc]
push esi
lea ecx, [esp + 0x124]
push 0x10007030
push ecx
call edi
add esp, 0xc
lea edx, [esp + 0x120]
push 0x10
push str.AheadLib
push edx
push 0
call ebx
push 0xfffffffffffffffe
call dword [sym.imp.KERNEL32.dll_ExitProcess]
pop edi
pop esi
pop ebx
add esp, 0x420
ret 4

Function at 0x100010f0
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x108
cmp eax, 1
jne 0x1000116a
push str.23.all
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea eax, [esp + 4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp]
push ecx
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x1000114e
lea edx, [esp + 4]
push 0x104
push edx
push 1
push eax
push eax
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 0x10c]
push ecx
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
mov eax, 1
add esp, 0x108
ret 0xc
test eax, eax
jne 0x1000117e
mov eax, dword [0x10009b88]
test eax, eax
je 0x1000117e
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, 1
add esp, 0x108
ret 0xc
Function at 0x40d820
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x424d78]
jne 0x40d82a
repz ret
jmp fcn.004105ff

Function at 0x415b19
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x424d78]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00411ee0
and dword [ebp - 0x14], 0
cmp dword [0x42707c], 0
mov dword [ebp - 0x18], eax
jne 0x415bcc
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x415c74
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x41fb4c
push ebx
call edi
test eax, eax
je 0x415c74
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x42707c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x427080], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x427084], eax
call edi
push eax
call esi
mov dword [0x42708c], eax
test eax, eax
je 0x415bcc
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x427088], eax
mov eax, dword [0x427088]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x415c25
cmp dword [0x42708c], ecx
je 0x415c25
push eax
call esi
push dword [0x42708c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x415c25
test ebx, ebx
je 0x415c25
call edi
test eax, eax
je 0x415c1c
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x415c1c
test byte [ebp - 8], 1
jne 0x415c25
or dword [ebp + 0x10], 0x200000
jmp 0x415c58
mov eax, dword [0x427080]
cmp eax, dword [ebp - 0x18]
je 0x415c58
push eax
call esi
test eax, eax
je 0x415c58
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x415c58
mov eax, dword [0x427084]
cmp eax, dword [ebp - 0x18]
je 0x415c58
push eax
call esi
test eax, eax
je 0x415c58
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x42707c]
call esi
test eax, eax
je 0x415c74
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x415c76
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040d820
leave
ret