joyce8/EMBER2024-capa huggingface dataset:
Function at 0x461a50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xc08
mov esi, ecx
mov eax, dword [ebp + 8]
mov ecx, dword [0x4c2010]
xor ecx, ebp
mov dword [esp + 0xc00], ecx
xor ecx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edi, dword [eax + ecx*8]
mov ebx, dword [eax + ecx*8 + 4]
xor edi, dword [edx + ecx*8]
xor ebx, dword [edx + ecx*8 + 4]
mov dword [esp + ecx*8 + 0x804], ebx
mov dword [esp + ecx*8 + 0x800], edi
add ecx, 1
cmp ecx, 0x80
jne 0x461a80
lea eax, [esp + 0x800]
lea edi, [esp + 0x400]
mov ecx, edi
mov edx, 2
push 2
push eax
call fcn.00461ce0
add esp, 8
lea eax, [esp + 0x880]
lea ecx, [esp + 0x480]
mov edx, 2
push 2
push eax
call fcn.00461ce0
add esp, 8
lea eax, [esp + 0x900]
lea ecx, [esp + 0x500]
mov edx, 2
push 2
push eax
call fcn.00461ce0
add esp, 8
lea eax, [esp + 0x980]
lea ecx, [esp + 0x580]
mov edx, 2
push 2
push eax
call fcn.00461ce0
add esp, 8
lea eax, [esp + 0xa00]
lea ecx, [esp + 0x600]
mov edx, 2
push 2
push eax
call fcn.00461ce0
add esp, 8
lea eax, [esp + 0xa80]
lea ecx, [esp + 0x680]
mov edx, 2
push 2
push eax
call fcn.00461ce0
add esp, 8
lea eax, [esp + 0xb00]
lea ecx, [esp + 0x700]
mov edx, 2
push 2
push eax
call fcn.00461ce0
add esp, 8
lea eax, [esp + 0xb80]
lea ecx, [esp + 0x780]
mov edx, 2
push 2
push eax
call fcn.00461ce0
add esp, 8
mov ebx, esp
mov ecx, ebx
mov edx, 0x10
push 0x10
push edi
call fcn.00461ce0
add esp, 8
lea eax, [esp + 0x410]
lea ecx, [esp + 0x10]
mov edx, 0x10
push 0x10
push eax
call fcn.00461ce0
add esp, 8
lea eax, [esp + 0x420]
lea ecx, [esp + 0x20]
mov edx, 0x10
push 0x10
push eax
call fcn.00461ce0
add esp, 8
lea eax, [esp + 0x430]
lea ecx, [esp + 0x30]
mov edx, 0x10
push 0x10
push eax
call fcn.00461ce0
add esp, 8
lea eax, [esp + 0x440]
lea ecx, [esp + 0x40]
mov edx, 0x10
push 0x10
push eax
call fcn.00461ce0
add esp, 8
lea eax, [esp + 0x450]
lea ecx, [esp + 0x50]
mov edx, 0x10
push 0x10
push eax
call fcn.00461ce0
add esp, 8
lea eax, [esp + 0x460]
lea ecx, [esp + 0x60]
mov edx, 0x10
push 0x10
push eax
call fcn.00461ce0
add esp, 8
lea eax, [esp + 0x470]
lea ecx, [esp + 0x70]
mov edx, 0x10
push 0x10
push eax
call fcn.00461ce0
add esp, 8
xor eax, eax
nop
nop
nop
nop
mov ecx, dword [esp + eax*8]
mov edx, dword [esp + eax*8 + 4]
xor edx, dword [esp + eax*8 + 0x804]
xor ecx, dword [esp + eax*8 + 0x800]
xor dword [esi + eax*8], ecx
xor dword [esi + eax*8 + 4], edx
add eax, 1
cmp eax, 0x80
jne 0x461c70
push 0x400
lea eax, [esp + 0x804]
push eax
call fcn.00432100
add esp, 8
push 0x400
push edi
call fcn.00432100
add esp, 8
push 0x400
push ebx
call fcn.00432100
add esp, 8
mov ecx, dword [esp + 0xc00]
xor ecx, ebp
call fcn.0046ea50
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4627a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
push eax
mov edi, dword [esp + 0x20]
test edi, edi
je 0x4627ca
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
lea esi, [edi - 1]
mov ebx, edi
and ebx, 3
cmp esi, 3
jae 0x4627d1
xor esi, esi
test ebx, ebx
jne 0x46281e
jmp 0x462833
mov eax, 1
jmp 0x46283d
mov dword [esp], ebx
and edi, 0xfffffffc
xor esi, esi
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [eax]
xor bl, byte [ecx]
mov bh, byte [eax + 1]
movzx ebp, bl
xor bh, byte [ecx + 1]
or ebp, esi
mov bl, byte [eax + 2]
xor bl, byte [ecx + 2]
movzx esi, bh
movzx ebx, bl
or ebx, esi
or ebx, ebp
movzx edx, byte [eax + 3]
add eax, 4
xor dl, byte [ecx + 3]
add ecx, 4
movzx esi, dl
or esi, ebx
add edi, 0xfffffffc
jne 0x4627e0
mov ebx, dword [esp]
test ebx, ebx
je 0x462833
xor edi, edi
movzx edx, byte [eax + edi]
xor dl, byte [ecx + edi]
movzx edx, dl
or esi, edx
add edi, 1
cmp ebx, edi
jne 0x462820
mov eax, 0x100
sub eax, esi
shr eax, 8
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x46ca30
Capabilities:
Hash data using sha512

Disassembly:
push ebx
push edi
push esi
mov ebx, dword [esp + 0x10]
cmp ebx, 0x41
jb 0x46ca50
push pe_nt_image_headers32
push str._home_simon_mem_.build_workdirs_bob_u160jzna_putty_crypto_blake2.c
push str.hashlen___ssh_blake2b.hlen
call fcn.0047ef54
add esp, 0xc
push 0
push 0xf0
push 1
call fcn.004143e0
add esp, 0xc
lea edx, [eax + 0xe4]
mov dword [eax + 0xe4], 0x4a1e48
mov dword [eax + 0x40], ebx
lea ecx, [eax + 0xd8]
mov dword [eax + 0xd8], 0x46cd10
mov dword [eax + 0xdc], 0
mov dword [eax + 0xe0], ecx
mov dword [eax + 0xe8], ecx
mov ecx, 0x10
mov edi, eax
mov esi, 0x4a1e78
rep movsd dword es:[edi], dword [esi]
xor ebx, 0xf2bdc908
mov dword [eax], ebx
mov dword [eax + 4], 0x6a09e667
mov dword [eax + 0xc4], 0
mov dword [eax + 0xc8], 0
mov dword [eax + 0xcc], 0
mov dword [eax + 0xd0], 0
mov dword [eax + 0xd4], 0
mov eax, edx
pop esi
pop edi
pop ebx
ret
Function at 0x46f2ac
Capabilities:
Parse pe header

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

Function at 0x483610
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x48363d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x48363d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x483a11
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4a3780
push 0x4a3778
push str.FlsAlloc
push 0x1e
call fcn.004840a4
mov esi, eax
add esp, 0x10
test esi, esi
je 0x483a45
push dword [ebp + 8]
mov ecx, esi
call dword [section..00cfg]
call esi
jmp 0x483a4b
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x483a8f
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4a3790
push 0x4a3788
push str.FlsGetValue
push 0x20
call fcn.004840a4
mov esi, eax
add esp, 0x10
test esi, esi
je 0x483ac6
push dword [ebp + 8]
mov ecx, esi
call dword [section..00cfg]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x48b0f8
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 0x48b195
push ebx
push esi
call fcn.0048b1e6
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.0048b041
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x48b142
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x48b194
push edi
push eax
call fcn.00485d34
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x48b162
call fcn.004853ed
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x48b193
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0048b041
add esp, 0x20
test eax, eax
jne 0x48b181
push edi
call fcn.004853ed
jmp 0x48b189
push ebx
call fcn.004853ed
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 0x48b198
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x48b1a9
pop esi
ret
push ebx
push edi
push esi
call fcn.0048b1e6
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00485d34
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x48b1d1
push ebx
push esi
push edi
call fcn.00471200
add esp, 0xc
push 0
call fcn.004853ed
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x48b228
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0048b491

Function at 0x48ba49
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0048ba54
Function at 0x48d33c
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0048d347
Function at 0x48e358
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x4c3e80]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x48e398
cmp byte [ebx], 0xa
jne 0x48e398
or byte [eax + edi + 0x28], 4
jmp 0x48e39d
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x48e49b
mov al, byte [edx]
cmp al, 0x1a
je 0x48e47d
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x48e3cc
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x48e3f1
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x48e3fb
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x48e3ae
jmp 0x48e49b
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x48e478
cmp dword [ebp - 0xc], 0
je 0x48e478
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x4c3e80]
test byte [eax + edi + 0x28], 0x48
je 0x48e452
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x48e43d
mov byte [esi], dl
jmp 0x48e44e
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x4c3e80]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x48e49b
cmp byte [ebp - 1], 0xa
jne 0x48e461
cmp esi, ebx
jne 0x48e461
mov byte [esi], 0xa
jmp 0x48e49a
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00493f50
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x48e49b
mov byte [esi], 0xd
jmp 0x48e49a
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x4c3e80]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x48e497
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x48e49b
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x48e4a4
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x4c3e80]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x48e4e7
cmp word [esi], dx
jne 0x48e4e7
or byte [edi + eax + 0x28], 4
jmp 0x48e4ec
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x48e63f
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x48e61f
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x48e52e
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x48e564
cmp eax, edx
jae 0x48e570
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x48e506
jmp 0x48e63f
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x48e61b
cmp dword [ebp - 0x14], 0
je 0x48e61b
mov eax, dword [ebx*4 + 0x4c3e80]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x48e5f3
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x48e5bc
mov word [esi], cx
jmp 0x48e5ef
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x4c3e80]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x4c3e80]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x4c3e80]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x48e63f
pop ebx
cmp word [ebp - 4], bx
jne 0x48e604
cmp esi, dword [ebp + 0xc]
jne 0x48e604
mov word [esi], bx
jmp 0x48e63c
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00493f50
add esp, 0x10
cmp word [ebp - 4], bx
je 0x48e63f
push 0xd
jmp 0x48e638
mov ecx, dword [ebx*4 + 0x4c3e80]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x48e636
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x48e63f
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x495bad
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00495d50
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x495d25
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x495d25
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x495cd4
jg 0x495c06
test eax, eax
je 0x495cca
push 1
push 0x1000
call fcn.00485bec
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x495c2c
mov eax, dword [ebp + 0x14]
push 0xc
pop edi
mov byte [eax + 0x1c], 1
mov dword [eax + 0x18], edi
jmp 0x495cc1
push 0x8000
push ebx
call fcn.0047eb01
mov edi, dword [ebp + 0x14]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x495c58
jg 0x495c53
cmp ecx, 0x1000
jb 0x495c58
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.0048c886
add esp, 0x10
cmp eax, 0xffffffff
je 0x495c9d
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x495c53
jl 0x495c84
test ecx, ecx
jne 0x495c45
push dword [ebp - 0xc]
push ebx
call fcn.0047eb01
push esi
call fcn.004853ed
add esp, 0xc
xor edi, edi
jmp 0x495d36
cmp byte [edi + 0x24], 0
je 0x495cb4
cmp dword [edi + 0x20], 5
jne 0x495cb4
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x495cbf
mov edi, dword [edi + 0x18]
jmp 0x495cc1
xor edi, edi
push esi
call fcn.004853ed
pop ecx
jmp 0x495d36
test ecx, ecx
jg 0x495c96
jl 0x495cd4
test eax, eax
jae 0x495c96
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00493f50
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x495cf7
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x495c96
jmp 0x495d2e
push ebx
call fcn.0048bad2
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x495c96
mov esi, dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [esi + 0x24], 1
mov dword [esi + 0x20], eax
pop edi
mov byte [esi + 0x1c], 1
mov dword [esi + 0x18], edi
jmp 0x495d36
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x495d33
mov edi, dword [edi + 0x18]
jmp 0x495d36
push 0x16
pop edi
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.00493f50
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x422d10
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x18000]
push edi
or ebp, 0xffffffff
jmp 0x422d32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x422d39
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x422d28
mov eax, 1
add ebx, ebx
jne 0x422d4b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x422d40
jne 0x422d5c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x422d40
xor ecx, ecx
sub eax, 3
jb 0x422d70
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x422de2
mov ebp, eax
add ebx, ebx
jne 0x422d7b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x422d88
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x422dac
inc ecx
add ebx, ebx
jne 0x422d98
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x422d8d
jne 0x422da9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x422d8d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x422dcc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x422dbd
jmp 0x422d2e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x422dcc
add edi, ecx
jmp 0x422d2e
pop esi
mov edi, esi
mov ecx, 0xc4d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x422dea
cmp byte [edi], 9
jne 0x422dea
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 0x422def
lea edi, [esi + 0x20000]
mov eax, dword [edi]
or eax, eax
je 0x422e67
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x29e44]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x29ed0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x422e1c
mov ecx, edi
jns 0x422e4b
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 + 0x29ed4]
or eax, eax
je 0x422e61
mov dword [ebx], eax
add ebx, 4
jmp 0x422e39
call dword [esi + 0x29edc]
mov ebp, dword [esi + 0x29ed8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ff]
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 0x422e9b
sub esp, 0xffffff80
jmp 0x411f3f
Function at 0x433001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x433072
nop
nop
nop
mov ebx, 0x40de38
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x74877463
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x433060
nop
nop
mov eax, section..data
cmp eax, 0
nop
nop
nop
je 0x4330d2
nop
nop
nop
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x85a3340
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219

Function at 0x447c4a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x447c59
pop dword [ebp - 0x24]
mov eax, 0x50d279b5
sub eax, 0x508dfd5c
sub dword [ebp - 0x24], eax
mov dword [ebp - 0x34], 0x5ed78593
add dword [ebp - 0x34], 0xef7abfb8
mov dword [ebp - 0x30], 0xfa6bc4f
add dword [ebp - 0x30], 0x228c8ff6
mov dword [ebp - 0x2c], 0x3cbebea
add dword [ebp - 0x2c], 0x48805844
mov dword [ebp - 0x28], 0x7a5ed65d
sub dword [ebp - 0x28], 0x7a5ed65d
lea eax, [ebp - 0x34]
push eax
mov eax, 0x5c85f15a
sub eax, 0x5c4040f6
add eax, dword [ebp - 0x24]
call dword [eax]
mov dword [ebp - 0x34], 0xeade3309
sub dword [ebp - 0x34], 0x766bc9b3
mov dword [ebp - 0x30], 0xad45f060
sub dword [ebp - 0x30], 0x6bd98eeb
mov dword [ebp - 0x2c], 0xd8935498
add dword [ebp - 0x2c], 0x8adc17d4
mov dword [ebp - 0x28], 0xafe62380
add dword [ebp - 0x28], 0x5019dc80
lea ebx, [ebp - 0x34]
push ebx
push eax
mov eax, 0xbfc39f8b
sub eax, 0xbf7def0b
add eax, dword [ebp - 0x24]
call dword [eax]
push 0x40
push 0x1000
push 0x4c8d3
push 0
call eax
mov ecx, 0x4515
mov edx, eax
mov ebx, 0xe025eecc
add ebx, 0x20217134
add ebx, dword [ebp - 0x24]
mov edi, 0x65ad4c5b
add edi, 0x6bc6601b
add dword [ebp - 0x14], 0x9d6f4506
mov esi, dword [ebx]
xor dword [ebp - 0x10], ecx
add esi, edi
sub dword [ebp - 0x10], edi
mov dword [edx], esi
sub dword [ebp - 0xc], ebx
add edx, 4
add ebx, 0x3159e111
sub ebx, 0x3159e10d
loop 0x447d75
add eax, 0x10727
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0xfcc0d173
add ecx, 0x37f2e8d
add ecx, dword [ebp - 0x24]
call ebx
leave
ret
Function at 0x402abf
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 8]
mov dword [ebp - 4], 0x208
push eax
push 0
push 0x401414
push ecx
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x402b20
mov eax, dword [ebp - 4]
cmp eax, 2
jb 0x402b1b
shr eax, 1
xor ecx, ecx
cmp cx, word [esi + eax*2 - 2]
jne 0x402b1b
mov eax, dword [ebp - 8]
sub eax, 1
je 0x402b17
sub eax, 1
jne 0x402b1b
mov ecx, esi
call fcn.004029ca
test eax, eax
jne 0x402b20
xor eax, eax
jmp 0x402b20
mov eax, 0x3f7
pop esi
leave
ret 8

Function at 0x402cd3
Capabilities:
Terminate process

Disassembly:
push 0xc
push 0x403500
call fcn.00403278
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, ebx
mov edx, 0x4043c0
mov ecx, esi
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
je 0x402d18
cmp eax, esi
jne 0x402d0b
xor esi, esi
inc esi
mov edi, esi
jmp 0x402d1b
push 0x3e8
call dword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x402cef
xor esi, esi
inc esi
cmp dword [0x4043c4], esi
jne 0x402d2d
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x402d67
cmp dword [0x4043c4], ebx
jne 0x402d61
mov dword [0x4043c4], esi
push 0x4011a8
push 0x40119c
call fcn.00402e4c
pop ecx
pop ecx
test eax, eax
je 0x402d67
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x402e3c
mov dword [0x404034], esi
cmp dword [0x4043c4], esi
jne 0x402d8a
push 0x401198
push 0x40118c
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x4043c4], 2
test edi, edi
jne 0x402d97
xor eax, eax
mov ecx, 0x4043c0
xchg dword [ecx], eax
cmp dword [0x4043c8], 0
je 0x402dc3
push 0x4043c8
call fcn.004030d0
pop ecx
test eax, eax
je 0x402dc3
push ebx
push 2
push ebx
mov esi, dword [0x4043c8]
mov ecx, esi
call dword [0x405168]
call esi
push dword [0x404040]
push dword [0x40403c]
push dword [0x404038]
call fcn.00401ae1
add esp, 0xc
mov dword [0x404030], eax
cmp dword [0x404048], 0
jne 0x402e21
push eax
call dword [sym.imp.msvcrt.dll_exit]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
push ecx
push eax
call sub.msvcrt.dll__XcptFilter
pop ecx
pop ecx
ret
cmp dword [0x404034], 0
jne 0x402e35
call dword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x404030]
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
call fcn.00541000
jmp 0x402cd3