joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1005b840
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
test ecx, ecx
je 0x1005b85e
test byte [ecx + 0x108], 2
mov edx, 0
cmove ecx, edx
jmp 0x1005b860
xor ecx, ecx
vxorps xmm7, xmm7, xmm7
vmovups ymmword [eax + 0x40], ymm7
vmovups ymmword [eax + 0x90], ymm7
test ecx, ecx
je 0x1005ba0a
vmovdqu xmm0, xmmword [ecx + 0x10]
vmovdqu xmmword [eax], xmm0
vmovdqu xmm0, xmmword [ecx + 0x20]
vmovdqu xmmword [eax + 0x10], xmm0
vmovdqu xmm0, xmmword [ecx + 0x30]
vmovdqu xmmword [eax + 0x20], xmm0
vmovdqu xmm0, xmmword [ecx + 0x40]
vmovdqu xmmword [eax + 0x30], xmm0
vmovss xmm3, dword [ecx + 0x1b0]
vmulss xmm0, xmm3, dword [ecx + 0x1c0]
vmulss xmm2, xmm3, dword [ecx + 0x1c4]
vmulss xmm1, xmm3, dword [ecx + 0x1c8]
vmovss dword [eax + 0x80], xmm0
vmovss dword [eax + 0x84], xmm2
vmovss dword [eax + 0x88], xmm1
vmovss dword [eax + 0x8c], xmm7
mov dword [eax + 0xf0], ecx
vmovdqu xmm0, xmmword [ecx + 0x290]
vmovdqu xmmword [eax + 0x60], xmm0
vmovdqu xmm0, xmmword [ecx + 0x1c0]
vmovss xmm6, dword [ebp + 0x10]
vmovdqu xmmword [eax + 0x70], xmm0
vmovdqu xmm0, xmmword [ecx + 0x190]
vmovdqu xmmword [eax + 0xb0], xmm0
vmovdqu xmm0, xmmword [ecx + 0x1a0]
vmovdqu xmmword [eax + 0xc0], xmm0
vmovss xmm3, dword [ecx + 0x1b0]
vmulss xmm0, xmm3, dword [ecx + 0x204]
vmulss xmm2, xmm0, xmm6
vmulss xmm0, xmm3, dword [ecx + 0x208]
vmulss xmm1, xmm0, xmm6
vmulss xmm0, xmm3, dword [ecx + 0x200]
vmulss xmm0, xmm0, xmm6
vmovss dword [eax + 0xd0], xmm0
vmovss dword [eax + 0xd4], xmm2
vmovss dword [eax + 0xd8], xmm1
vmovss dword [eax + 0xdc], xmm7
vmovss xmm3, dword [ecx + 0x210]
vmovss xmm5, dword [ecx + 0x214]
vmulss xmm0, xmm3, dword [ecx + 0x164]
vfmadd231ss xmm0, xmm5, dword [ecx + 0x174]
vmovss xmm4, dword [ecx + 0x218]
vfmadd231ss xmm0, xmm4, dword [ecx + 0x184]
vmulss xmm2, xmm0, xmm6
vmulss xmm0, xmm3, dword [ecx + 0x168]
vfmadd231ss xmm0, xmm5, dword [ecx + 0x178]
vfmadd231ss xmm0, xmm4, dword [ecx + 0x188]
vmulss xmm1, xmm0, xmm6
vmulss xmm0, xmm3, dword [ecx + 0x160]
vfmadd231ss xmm0, xmm5, dword [ecx + 0x170]
vfmadd231ss xmm0, xmm4, dword [ecx + 0x180]
vmulss xmm0, xmm0, xmm6
vmovss dword [eax + 0xe0], xmm0
vmovss dword [eax + 0xe4], xmm2
vmovss dword [eax + 0xe8], xmm1
vmovss dword [eax + 0xec], xmm7
vzeroupper
pop ebp
ret 0xc
vmovss xmm1, dword [0x100d4ee4]
vmovss dword [eax], xmm1
vmovups xmmword [eax + 4], xmm7
vmovss dword [eax + 0x14], xmm1
vmovups xmmword [eax + 0x18], xmm7
vmovss dword [eax + 0x28], xmm1
vmovups xmmword [eax + 0x2c], xmm7
vmovss dword [eax + 0x3c], xmm7
vxorps xmm0, xmm0, xmm0
vmovdqu xmmword [eax + 0x80], xmm0
vmovss dword [eax + 0x60], xmm1
vmovss dword [eax + 0x64], xmm1
vmovss dword [eax + 0x68], xmm1
vmovss dword [eax + 0x6c], xmm7
vmovss dword [eax + 0x70], xmm1
vmovss dword [eax + 0x74], xmm1
vmovss dword [eax + 0x78], xmm1
vmovss dword [eax + 0x7c], xmm7
mov dword [eax + 0xf0], 0
vmovups ymmword [eax + 0xb0], ymm7
vmovups ymmword [eax + 0xd0], ymm7
vzeroupper
pop ebp
ret 0xc
Function at 0x10097de1
Capabilities:
Parse pe header

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

Function at 0x1009b157
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100cf3f0
push 0x100cf3e8
push str.FlsAlloc
push 0x1f
call fcn.1009b073
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1009b18b
push dword [ebp + 8]
mov ecx, esi
call dword [0x100b213c]
call esi
jmp 0x1009b191
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1009b1d5
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100cf400
push 0x100cf3f8
push str.FlsGetValue
push 0x21
call fcn.1009b073
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1009b20c
push dword [ebp + 8]
mov ecx, esi
call dword [0x100b213c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1009b214
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100cf408
push 0x100cf400
push str.FlsSetValue
push 0x22
call fcn.1009b073
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1009b24e
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x100b213c]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x1009d1be
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1009d25b
push ebx
push esi
call fcn.1009d187
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.1009d11b
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1009d208
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1009d25a
push edi
push eax
call fcn.10099a01
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1009d228
call fcn.100999c7
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1009d259
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1009d11b
add esp, 0x20
test eax, eax
jne 0x1009d247
push edi
call fcn.100999c7
jmp 0x1009d24f
push ebx
call fcn.100999c7
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x100ae0e0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x100ae10d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100ae10d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x40135c
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
push 0x40352a
call fcn.004014b8
push 0
push 0x80
push 3
push 0
push 0
push 1
push 0x40352a
call sub.KERNEL32.dll_CreateFileA
mov dword [0x403638], eax
cmp eax, 0xffffffff
jne 0x40138a
ret
push 0
push dword [0x403638]
call sub.KERNEL32.dll_GetFileSize
mov dword [0x40362c], eax
push 0
push 0
push 4
call sub.KERNEL32.dll_HeapCreate
mov dword [0x403630], eax
push dword [0x40362c]
push 4
push eax
call sub.KERNEL32.dll_HeapAlloc
mov dword [0x403634], eax
mov esi, eax
push 0
push 0x40363c
push dword [0x40362c]
push dword [0x403634]
push dword [0x403638]
call sub.KERNEL32.dll_ReadFile
push dword [0x403638]
call sub.KERNEL32.dll_CloseHandle
push 0
push 0x80
push 3
push 0
push 1
push 0x40000000
push 0x40352a
call sub.KERNEL32.dll_CreateFileA
mov ebx, eax
mov esi, dword [0x403634]
movzx eax, byte [esi]
cmp eax, 0
je 0x40142e
xor eax, 3
mov byte [esi], al
push 0
push 0x40363d
push 1
push esi
push ebx
call sub.KERNEL32.dll_WriteFile
inc esi
jmp 0x40140e
push dword [0x403630]
call sub.KERNEL32.dll_HeapDestroy
push str._____Encrypted
call fcn.004014b8
push ebx
call sub.KERNEL32.dll_CloseHandle
ret

Function at 0x4014b8
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push 0xfffffffffffffff5
call sub.KERNEL32.dll_GetStdHandle
mov dword [ebp - 4], eax
push dword [ebp + 8]
call fcn.004014f0
mov dword [ebp - 0xc], eax
push 0
lea eax, [ebp - 8]
push eax
push dword [ebp - 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call sub.KERNEL32.dll_WriteFile
mov eax, dword [ebp - 8]
leave
ret 4
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 0x48f9e0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x7c000]
push edi
jmp 0x48f9fa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x48fa01
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x48f9f0
mov eax, 1
add ebx, ebx
jne 0x48fa13
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x48fa24
jne 0x48fa43
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x48fa43
dec eax
add ebx, ebx
jne 0x48fa30
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x48fa08
add ebx, ebx
jne 0x48fa3f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x48fa95
xor ecx, ecx
sub eax, 3
jb 0x48fa5b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x48faca
sar eax, 1
mov ebp, eax
jmp 0x48fa66
add ebx, ebx
jne 0x48fa66
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x48fa34
inc ecx
add ebx, ebx
jne 0x48fa74
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x48fa34
add ebx, ebx
jne 0x48fa81
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x48fa76
jne 0x48fa92
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x48fa76
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x48fab4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x48faa6
jmp 0x48f9f6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x48fab4
add edi, ecx
jmp 0x48f9f6
pop esi
mov edi, esi
mov ecx, 0x1a9e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x48fad2
cmp byte [edi], 6
jne 0x48fad2
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 0x48fad7
lea edi, [esi + 0x8d000]
mov eax, dword [edi]
or eax, eax
je 0x48fb4f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8f000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8f104]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x48fb04
mov ecx, edi
jns 0x48fb33
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 + 0x8f108]
or eax, eax
je 0x48fb49
mov dword [ebx], eax
add ebx, 4
jmp 0x48fb21
call dword [esi + 0x8f118]
mov ebp, dword [esi + 0x8f10c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
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 0x48fb83
sub esp, 0xffffff80
jmp section.UPX0
Function at 0x414a2f
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004148a5

Function at 0x419060
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00418bb3

Function at 0x914eac
Capabilities:
Encode data using xor

Disassembly:
jmp 0x914eb6
pushal
call 0x914ebc
pop ebp
sub ebp, 0x10
sub ebp, 0x514eac
jmp 0x914ed2
mov eax, 0x514eac
add eax, ebp
add eax, 0x4c
mov ecx, 0x61b
mov edx, 0x2e290fec
xor byte [eax], dl
inc eax
dec ecx
jne 0x914ee9
jmp 0x914efc
and dword [bx + 0x65], esp
shr ah, 1
in al, dx
in al, dx
insd dword es:[edi], dx
sub eax, 0xececec14
out dx, eax
and dword [edx + ebp*8 - 0x14], edx
in al, dx
in al, dx
push esi
invalid
Function at 0x539700
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xdc000]
push edi
jmp 0x53971a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x539721
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x539710
mov eax, 1
add ebx, ebx
jne 0x539733
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x539744
jne 0x539763
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x539763
dec eax
add ebx, ebx
jne 0x539750
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x539728
add ebx, ebx
jne 0x53975f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x5397b5
xor ecx, ecx
sub eax, 3
jb 0x53977b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x5397ea
sar eax, 1
mov ebp, eax
jmp 0x539786
add ebx, ebx
jne 0x539786
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x539754
inc ecx
add ebx, ebx
jne 0x539794
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x539754
add ebx, ebx
jne 0x5397a1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x539796
jne 0x5397b2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x539796
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x5397d4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x5397c6
jmp 0x539716
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x5397d4
add edi, ecx
jmp 0x539716
pop esi
mov edi, esi
mov ecx, 0x40f0
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x5397f2
cmp byte [edi], 0x11
jne 0x5397f2
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 0x5397f7
lea edi, [esi + 0x132000]
mov eax, dword [edi]
or eax, eax
je 0x53986f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x18d58c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x18d708]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x539824
mov ecx, edi
jns 0x539853
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 + 0x18d70c]
or eax, eax
je 0x539869
mov dword [ebx], eax
add ebx, 4
jmp 0x539841
call dword [esi + 0x18d71c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x5398a0
cmp al, 0xef
ja 0x539893
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x539875
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x539882
mov ebp, dword [esi + 0x18d710]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
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 0x5398d4
sub esp, 0xffffff80
jmp 0x420577
Function at 0x40892b
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x4085d8
sub esi, esi
mov esi, edi
call fcn.00408951
xor dword [ecx], eax
sub esi, 1
add edi, esi
inc ecx
cmp ecx, ebx
jne fcn.0040892b
and esi, esi
ret
Function at 0x401690
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, edx
push edi
push 0
push dword [section..data]
mov dword [ebp - 8], edi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, edi
shr ebx, 2
mov dword [ebp - 4], eax
test ebx, ebx
je 0x4016d4
mov edi, esi
mov ecx, eax
sub edi, eax
mov edx, ebx
mov eax, dword [edi + ecx]
mov dword [ecx], eax
lea ecx, [ecx + 4]
dec edx
jne 0x4016c3
mov edi, dword [ebp - 8]
mov eax, dword [ebp - 4]
shl ebx, 2
cmp ebx, edi
jae 0x4016ef
mov edx, edi
sub esi, eax
lea ecx, [ebx + eax]
sub edx, ebx
mov al, byte [ecx + esi]
mov byte [ecx], al
lea ecx, [ecx + 1]
dec edx
jne 0x4016e4
mov eax, dword [ebp - 4]
lea esi, [edi - 8]
lea ecx, [eax - 8]
add ecx, edi
mov ebx, esi
mov edx, dword [ecx + 4]
mov dword [ebp - 0x10], ecx
mov ecx, dword [ecx]
shr ebx, 2
and esi, 3
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], ecx
test ebx, ebx
je 0x401731
lea ecx, [ebx + edx]
mov edx, dword [eax]
movzx ecx, cl
ror edx, cl
mov ecx, dword [ebp - 8]
add eax, 4
xor edx, ecx
sub edx, ebx
mov dword [eax - 4], edx
mov edx, dword [ebp - 0xc]
dec ebx
jne 0x401714
test esi, esi
je 0x40173d
xor byte [eax], cl
lea eax, [eax + 1]
dec esi
jne 0x401735
mov edi, dword [ebp - 0x10]
mov edi, dword [edi - 4]
push edi
push 0
push dword [section..data]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, dword [ebp - 4]
mov esi, eax
mov edx, esi
mov ecx, ebx
call section..text
push ebx
push 0
push dword [section..data]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [eax], edi
pop edi
mov dword [ecx], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

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

Disassembly:
pushal
call 0x43000c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x403daa
sub eax, 0x403d50
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x430030
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43001e
nop
popal
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x401450
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
push dword [esp + 0xc]
push dword [esp + 0xc]
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x40147a
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x14]
test eax, eax
mov dword [ecx], eax
jne 0x40147e
xor eax, eax
pop esi
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x10]
push 1
mov dword [ecx], eax
pop eax
pop esi
ret

Function at 0x401499
Capabilities:
Create new key via cryptacquirecontext
Generate random numbers via winapi

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
push edi
xor edi, edi
push edi
push 1
push edi
lea eax, [ebp - 4]
push edi
push eax
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
call esi
test eax, eax
jne 0x4014da
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x80090016
jne 0x4014ed
push 8
push 1
push edi
lea eax, [ebp - 4]
push edi
push eax
call esi
test eax, eax
je 0x4014ed
lea eax, [ebp - 8]
push eax
push 4
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
jne 0x4014f1
xor eax, eax
jmp 0x401503
cmp dword [ebp - 4], edi
je 0x401500
push edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, dword [ebp - 8]
pop edi
pop esi
leave
ret

Function at 0x4015ee
Capabilities:
Encode data using xor

Disassembly:
pop edi
pop esi
pop ebx
ret
inc esp
and al, 0x14
jmp 0x4015d0
out 0x39, eax
inc ecx
jnp 0x401618
invalid
outsb dx, byte [esi]
sub eax, 0x49b03868
fisttp word [ebp - 0x40]
mov cl, byte [ebx]
aad 0x48
mov esi, 0xc52b711a
jae 0x401629
lds esi, [ebx - 3]
cmp cl, dl
sbb esi, ebx
sub al, 0xcf
add dl, byte [ebx + 0x39]
scasd eax, dword es:[edi]
pop es
sar dword [edi - 0x5129a059], 1
mov esi, 0xfe825079
loop 0x4015e9
push ebx
and al, 0x9a
insb byte es:[edi], dx
fsubrp st(5)
test al, 0x75
push 0xfffffffffffffff9
and ecx, dword [ebx]
and dword [edi + 0x20], ecx
mov eax, 0x680e04fa
jle 0x40164b
jle 0x40166b
sub byte [edi], ah
int 0xfd
movsd dword es:[edi], dword [esi]
jp 0x4016af
inc esp
jb 0x401618
mov cl, 5
mov ah, 0x48
jbe 0x4016ea
hlt
push ebp
mov cx, 0x849c
ret 0x6fce
stc
mov esp, 0xfbb0b37c
add edi, dword [edi]
adc dword [ebx], edi
test dword [ecx + 0x261cadd1], edi
and al, 0x99
cmp eax, dword [ebp + 0x1cadd1b9]
and al, 0x99
std
dec edx
popfd
dec ecx
push eax
sub al, 2
sbb edi, ebp
xor dword [edx + 0x2a], ebx
push cs
insb byte es:[edi], dx
mov al, 0xfb
inc ebp
jns 0x4016e1
invalid
Function at 0x403e54
Capabilities:
Contain obfuscated stackstrings

Disassembly:
pop ebx
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
inc ebp
mov dword [esi - 0x3a], ebx
inc ebp
mov dh, byte [edi - 0x3a]
inc ebp
mov edi, dword [eax - 0x3a]
inc ebp
invalid
jb 0x403e40
inc ebp
lea edi, [edx - 0x3a]
inc ebp
invalid
jae 0x403e48
inc ebp
invalid
push edi
mov byte [ebp - 0x70], 0x16
call fcn.004039aa
and esi, dword [eax + 0x7c858d33]
invalid
Function at 0x1019ee80
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x1019f06d
pushal
mov esi, section.UPX1
lea edi, [esi - 0x114000]
push edi
jmp 0x1019eeaa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1019eeb1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1019eea0
mov eax, 1
add ebx, ebx
jne 0x1019eec3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1019eed4
jne 0x1019eef3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1019eef3
dec eax
add ebx, ebx
jne 0x1019eee0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x1019eeb8
add ebx, ebx
jne 0x1019eeef
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x1019ef45
xor ecx, ecx
sub eax, 3
jb 0x1019ef0b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1019ef7a
sar eax, 1
mov ebp, eax
jmp 0x1019ef16
add ebx, ebx
jne 0x1019ef16
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1019eee4
inc ecx
add ebx, ebx
jne 0x1019ef24
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1019eee4
add ebx, ebx
jne 0x1019ef31
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x1019ef26
jne 0x1019ef42
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1019ef26
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1019ef64
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1019ef56
jmp 0x1019eea6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1019ef64
add edi, ecx
jmp 0x1019eea6
pop esi
mov edi, esi
mov ecx, 0x8e8a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x1019ef82
cmp byte [edi], 0x1a
jne 0x1019ef82
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 0x1019ef87
lea edi, [esi + 0x194000]
mov eax, dword [edi]
or eax, eax
je 0x1019efff
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x19f77c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x19f84c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1019efb4
mov ecx, edi
jns 0x1019efe3
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 + 0x19f850]
or eax, eax
je 0x1019eff9
mov dword [ebx], eax
add ebx, 4
jmp 0x1019efd1
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x1019f030
cmp al, 0xef
ja 0x1019f023
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x1019f005
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x1019f012
mov ebp, dword [esi + 0x19f854]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x25f]
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 0x1019f064
sub esp, 0xffffff80
jmp 0x100e8452