joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100a3dd0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov edx, ecx
push ebx
push esi
push edi
mov eax, dword [edx + 8]
cmp eax, dword [edx + 0xc]
jne 0x100a3e16
mov edx, str.ERROR:
mov ecx, 0x100e51d8
call fcn.10020050
mov edx, str.BlockHash::AddBlock___called_before_BlockHash::Init__
mov ecx, eax
call fcn.10020050
push eax
call fcn.10093d70
add esp, 4
cmp byte [0x100e6504], 0
je 0x100a3f60
jmp 0x100a3f67
mov esi, dword [edx + 0x34]
mov eax, dword [edx + 4]
inc esi
shr eax, 4
cmp esi, eax
jl 0x100a3e66
dec eax
mov edx, str.ERROR:
push eax
push ecx
push esi
push ecx
mov ecx, 0x100e51d8
call fcn.10020050
mov edx, str.BlockHash::AddBlock___called_with_block_number
mov ecx, eax
call fcn.10020050
add esp, 4
mov ecx, eax
call fcn.1004d6e0
mov edx, str._that_is_past_last_block
mov ecx, eax
call fcn.10020050
add esp, 4
mov ecx, eax
call fcn.1004d6e0
jmp 0x100a3dfb
mov edi, dword [edx + 0x14]
cmp dword [edi + esi*4], 0xffffffff
lea eax, [edi + esi*4]
je 0x100a3eb7
push dword [eax]
mov edx, str.ERROR:
push ecx
push esi
push ecx
mov ecx, 0x100e51d8
call fcn.10020050
mov edx, str.Internal_error_in_BlockHash::AddBlock__:_block_number_
mov ecx, eax
call fcn.10020050
add esp, 4
mov ecx, eax
call fcn.1004d6e0
mov edx, str.__next_block_should_be__1_but_is
mov ecx, eax
call fcn.10020050
add esp, 4
mov ecx, eax
call fcn.1004d6e0
jmp 0x100a3dfb
mov ecx, dword [edx + 0x2c]
and ecx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov ebx, dword [eax + ecx*4]
test ebx, ebx
jns 0x100a3eda
mov dword [eax + ecx*4], esi
mov eax, dword [edx + 0x20]
mov dword [eax + esi*4], esi
mov dword [edx + 0x34], esi
pop edi
pop esi
pop ebx
pop ebp
ret 4
mov eax, dword [edx + 0x20]
mov eax, dword [eax + ebx*4]
cmp dword [edi + eax*4], 0xffffffff
je 0x100a3f54
push dword [edi + eax*4]
mov edx, str.ERROR:
push ecx
push eax
push ecx
push ebx
push ecx
mov ecx, 0x100e51d8
call fcn.10020050
mov edx, str.Internal_error_in_BlockHash::AddBlock__:_first_matching_block_
mov ecx, eax
call fcn.10020050
add esp, 4
mov ecx, eax
call fcn.1004d6e0
mov edx, str.__last_matching_block_
mov ecx, eax
call fcn.10020050
add esp, 4
mov ecx, eax
call fcn.1004d6e0
mov edx, str.__next_block_should_be__1_but_is
mov ecx, eax
call fcn.10020050
add esp, 4
mov ecx, eax
call fcn.1004d6e0
push eax
call fcn.10093d70
add esp, 4
call fcn.10091ef0
pop edi
pop esi
pop ebx
pop ebp
ret 4
mov dword [edi + eax*4], esi
mov eax, dword [edx + 0x20]
mov dword [eax + ebx*4], esi
mov dword [edx + 0x34], esi
pop edi
pop esi
pop ebx
pop ebp
ret 4
mov ecx, 0x100e51d8
call fcn.10023930
push 1
call fcn.100adad2
int3
Function at 0x100a3f80
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push ebx
mov ebx, ecx
push esi
push edi
mov eax, dword [ebx + 4]
cmp edx, eax
jle 0x100a3fec
push eax
push ecx
push edx
push ecx
mov edx, str.ERROR:
mov ecx, 0x100e51d8
call fcn.10020050
mov edx, str.BlockHash::AddAllBlocksThroughIndex___called_with_index
mov ecx, eax
call fcn.10020050
add esp, 4
mov ecx, eax
call fcn.1004d6e0
mov edx, str._higher_than_end_index
mov ecx, eax
call fcn.10020050
add esp, 4
mov ecx, eax
call fcn.10046990
push eax
call fcn.10093d70
add esp, 4
cmp byte [0x100e6504], 0
je 0x100a40b3
jmp 0x100a40ba
mov ecx, dword [ebx + 0x34]
shl ecx, 4
cmp edx, ecx
jg 0x100a4043
push ecx
push ecx
push edx
push ecx
mov edx, str.ERROR:
mov ecx, 0x100e51d8
call fcn.10020050
mov edx, str.BlockHash::AddAllBlocksThroughIndex___called_with_index
mov ecx, eax
call fcn.10020050
add esp, 4
mov ecx, eax
call fcn.1004d6e0
mov edx, str.___last_index_added__
mov ecx, eax
call fcn.10020050
add esp, 4
mov ecx, eax
call fcn.1004d6e0
mov edx, 0x100fbdb8
mov ecx, eax
call fcn.10020050
jmp 0x100a3fd1
cmp eax, 0x10
jb 0x100a40b3
add eax, 0xfffffff0
cmp edx, eax
jle 0x100a4052
lea edx, [eax + 1]
mov eax, dword [ebx]
add edx, eax
mov dword [ebp + 8], edx
lea edi, [eax + 0x10]
add edi, ecx
cmp edi, edx
jae 0x100a40b3
movzx eax, byte [edi]
lea edx, [edi + 3]
movzx ecx, byte [edi + 1]
mov esi, 7
imul eax, eax, 0x101
add eax, ecx
lea esp, [esp]
movzx ecx, byte [edx - 1]
lea edx, [edx + 2]
imul eax, eax, 0x101
add ecx, eax
imul eax, ecx, 0x101
movzx ecx, byte [edx - 2]
add eax, ecx
and eax, 0x7fffff
dec esi
jne 0x100a4080
push eax
mov ecx, ebx
call fcn.100a3dd0
add edi, 0x10
cmp edi, dword [ebp + 8]
jb 0x100a4062
pop edi
pop esi
pop ebx
pop ebp
ret 4
mov ecx, 0x100e51d8
call fcn.10023930
push 1
call fcn.100adad2
int3

Function at 0x100a4150
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ecx + 4]
mov edx, dword [ebp + 8]
shr eax, 4
cmp edx, eax
jb 0x100a41a0
push edx
push ecx
mov edx, str.ERROR:
mov ecx, 0x100e51d8
call fcn.10020050
mov edx, str.NextMatchingBlock_called_for_invalid_block_number
mov ecx, eax
call fcn.10020050
add esp, 4
mov ecx, eax
call fcn.1004d6e0
push eax
call fcn.10093d70
add esp, 4
cmp byte [0x100e6504], 0
jne 0x100a41b2
or eax, 0xffffffff
pop ebp
ret 8
mov eax, dword [ecx + 0x14]
push dword [ebp + 0xc]
push dword [eax + edx*4]
call fcn.100a40d0
pop ebp
ret 8
mov ecx, 0x100e51d8
call fcn.10023930
push 1
call fcn.100adad2
int3
Function at 0x100a4c00
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa
Manually build aes constants

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, 0x100e6fe0
mov word [0x100e74e0], 0
push esi
dec eax
mov word [0x100e6fe0], 0x301
push edi
mov edi, 0x100e6fe0
mov byte [0x100e74e3], 1
mov ebx, 2
sub edi, eax
lea esi, [eax + 2]
mov cl, byte [esi]
lea esi, [esi + 1]
mov dl, cl
mov al, cl
and dl, 0x80
neg dl
sbb dl, dl
add al, al
xor al, cl
and dl, 0x1b
xor al, dl
mov byte [edi + esi - 1], al
movzx eax, al
mov byte [eax + 0x100e74e0], bl
inc ebx
cmp ebx, 0x100
jl 0x100a4c35
mov byte [0x100e6d60], 0x63
mov ebx, 1
mov byte [0x100e6ec3], 0
jmp 0x100a4c80
movzx eax, bl
mov ecx, 0x100e70df
movzx eax, byte [eax + 0x100e74e0]
sub ecx, eax
mov cl, byte [ecx]
mov dl, cl
rol dl, 1
xor cl, dl
rol dl, 1
xor cl, dl
rol dl, 1
mov al, dl
rol al, 1
xor al, cl
xor al, dl
xor al, 0x63
mov byte [ebx + 0x100e6d60], al
movzx eax, al
mov byte [eax + 0x100e6e60], bl
inc ebx
cmp ebx, 0x100
jl 0x100a4c80
mov al, 1
mov edx, 0x100e6f60
movzx ecx, al
mov dword [edx], ecx
mov cl, al
and cl, 0x80
neg cl
sbb cl, cl
add al, al
and cl, 0x1b
add edx, 4
xor al, cl
cmp edx, 0x100e6fd8
jl 0x100a4cc8
mov ecx, dword [0x100031ac]
xor esi, esi
mov edi, 0xff
mov ah, byte [esi + 0x100e6d60]
mov bl, ah
mov bh, ah
and bl, 0x80
mov al, bl
neg al
sbb al, al
add bh, bh
and al, 0x1b
mov dl, bh
xor dl, al
xor dl, ah
neg bl
movzx edx, dl
sbb bl, bl
movzx eax, ah
shl edx, 8
and bl, 0x1b
or edx, eax
xor bh, bl
mov bl, byte [esi + 0x100e6e60]
shl edx, 8
or edx, eax
movzx eax, bh
shl edx, 8
or edx, eax
mov dword [esi*4 + 0x100e70e0], edx
test cl, cl
je 0x100a4d6c
test bl, bl
je 0x100a4d6c
movzx eax, cl
movzx edx, bl
movzx eax, byte [eax + 0x100e74e0]
movzx edx, byte [edx + 0x100e74e0]
add eax, edx
cdq
idiv edi
mov al, byte [edx + 0x100e6fe0]
mov byte [ebp - 1], al
jmp 0x100a4d70
mov byte [ebp - 1], 0
test ch, ch
je 0x100a4d9c
test bl, bl
je 0x100a4d9c
movzx eax, ch
movzx edx, bl
movzx eax, byte [eax + 0x100e74e0]
movzx edx, byte [edx + 0x100e74e0]
add eax, edx
cdq
idiv edi
mov al, byte [edx + 0x100e6fe0]
mov byte [ebp - 2], al
jmp 0x100a4da0
mov byte [ebp - 2], 0
mov al, byte [0x100031ae]
test al, al
je 0x100a4dce
test bl, bl
je 0x100a4dce
movzx eax, al
movzx edx, bl
movzx eax, byte [eax + 0x100e74e0]
movzx edx, byte [edx + 0x100e74e0]
add eax, edx
cdq
idiv edi
mov bh, byte [edx + 0x100e6fe0]
jmp 0x100a4dd0
xor bh, bh
mov al, byte [0x100031af]
test al, al
je 0x100a4dfe
test bl, bl
je 0x100a4dfe
movzx eax, al
movzx edx, bl
movzx eax, byte [eax + 0x100e74e0]
movzx edx, byte [edx + 0x100e74e0]
add eax, edx
cdq
idiv edi
mov bl, byte [edx + 0x100e6fe0]
jmp 0x100a4e00
xor bl, bl
movzx edx, byte [ebp - 1]
movzx eax, byte [ebp - 2]
shl edx, 8
or edx, eax
movzx eax, bh
shl edx, 8
or edx, eax
movzx eax, bl
shl edx, 8
or edx, eax
mov dword [esi*4 + 0x100e6960], edx
inc esi
cmp esi, 0x100
jl 0x100a4cf5
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100cdda0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
jmp 0x100cde70
push 0xffffffffffffffff
push 0x100e3c38
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10001840]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov eax, dword [0x100026c8]
cmp eax, 0xffffffff
jne 0x100cdea9
xor ebp, ebp
mov dword [esp + 0x14], ebp
jmp 0x100cdeb6
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebp, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], ebp
mov ebx, dword [sym.imp.KERNEL32.dll_HeapFree]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov dword [esp + 0x2c], 0
test ebp, ebp
je 0x100cdf1d
jmp 0x100cdeec
mov esi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov ebx, dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [ebp + 0x14], 0
mov edi, dword [ebp + 0xc]
jne 0x100cdf5a
test edi, edi
jne 0x100cdf60
push 0x100cda70
push 0x100e6418
call fcn.100cd710
mov eax, dword [0x100026c8]
add esp, 8
cmp eax, 0xffffffff
je 0x100cdf1d
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [esp + 0x2c], 0xffffffff
test ebp, ebp
je 0x100cdf46
lea eax, [ebp + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x100cdf46
mov eax, dword [ebp]
mov ecx, ebp
push 0
call dword [eax]
push ebp
push 0
call esi
push eax
call ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
test edi, edi
je 0x100cdf98
mov edi, edi
mov eax, dword [edi + 4]
mov dword [ebp + 0xc], eax
mov ecx, dword [edi]
test ecx, ecx
je 0x100cdf89
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [edi]
mov ecx, esi
push 0
mov eax, dword [esi]
call dword [eax]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0
call esi
push eax
call ebx
push edi
push 0
call esi
push eax
call ebx
mov edi, dword [ebp + 0xc]
test edi, edi
jne 0x100cdf60
mov ebx, dword [ebp + 0x10]
lea eax, [ebp + 0x10]
mov dword [esp + 0x18], eax
mov esi, dword [ebx]
cmp esi, ebx
je 0x100cdee0
mov ebp, eax
mov edi, edi
cmp byte [esi + 0xd], 0
mov edi, esi
jne 0x100cdff7
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x100cdfdc
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x100cdff7
jmp 0x100cdfd0
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x100cdfd0
jmp 0x100cdff7
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x100cdff5
cmp esi, dword [eax + 8]
jne 0x100cdff5
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x100cdfe5
mov esi, eax
mov ecx, dword [edi + 0x14]
test ecx, ecx
je 0x100ce00b
mov edx, dword [edi + 0x1c]
test edx, edx
je 0x100ce00b
mov eax, dword [ecx]
push edx
call dword [eax + 4]
push edi
lea eax, [esp + 0x24]
mov ecx, ebp
push eax
call fcn.100cdaa0
cmp esi, ebx
jne 0x100cdfb0
mov ebp, dword [esp + 0x14]
jmp 0x100cdee0
Function at 0x100cde70
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
jmp 0x100cde70
push 0xffffffffffffffff
push 0x100e3c38
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10001840]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov eax, dword [0x100026c8]
cmp eax, 0xffffffff
jne 0x100cdea9
xor ebp, ebp
mov dword [esp + 0x14], ebp
jmp 0x100cdeb6
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebp, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], ebp
mov ebx, dword [sym.imp.KERNEL32.dll_HeapFree]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov dword [esp + 0x2c], 0
test ebp, ebp
je 0x100cdf1d
jmp 0x100cdeec
mov esi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov ebx, dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [ebp + 0x14], 0
mov edi, dword [ebp + 0xc]
jne 0x100cdf5a
test edi, edi
jne 0x100cdf60
push 0x100cda70
push 0x100e6418
call fcn.100cd710
mov eax, dword [0x100026c8]
add esp, 8
cmp eax, 0xffffffff
je 0x100cdf1d
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [esp + 0x2c], 0xffffffff
test ebp, ebp
je 0x100cdf46
lea eax, [ebp + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x100cdf46
mov eax, dword [ebp]
mov ecx, ebp
push 0
call dword [eax]
push ebp
push 0
call esi
push eax
call ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
test edi, edi
je 0x100cdf98
mov edi, edi
mov eax, dword [edi + 4]
mov dword [ebp + 0xc], eax
mov ecx, dword [edi]
test ecx, ecx
je 0x100cdf89
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [edi]
mov ecx, esi
push 0
mov eax, dword [esi]
call dword [eax]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0
call esi
push eax
call ebx
push edi
push 0
call esi
push eax
call ebx
mov edi, dword [ebp + 0xc]
test edi, edi
jne 0x100cdf60
mov ebx, dword [ebp + 0x10]
lea eax, [ebp + 0x10]
mov dword [esp + 0x18], eax
mov esi, dword [ebx]
cmp esi, ebx
je 0x100cdee0
mov ebp, eax
mov edi, edi
cmp byte [esi + 0xd], 0
mov edi, esi
jne 0x100cdff7
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x100cdfdc
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x100cdff7
jmp 0x100cdfd0
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x100cdfd0
jmp 0x100cdff7
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x100cdff5
cmp esi, dword [eax + 8]
jne 0x100cdff5
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x100cdfe5
mov esi, eax
mov ecx, dword [edi + 0x14]
test ecx, ecx
je 0x100ce00b
mov edx, dword [edi + 0x1c]
test edx, edx
je 0x100ce00b
mov eax, dword [ecx]
push edx
call dword [eax + 4]
push edi
lea eax, [esp + 0x24]
mov ecx, ebp
push eax
call fcn.100cdaa0
cmp esi, ebx
jne 0x100cdfb0
mov ebp, dword [esp + 0x14]
jmp 0x100cdee0
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
mov ecx, 0x4f30571a
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x433024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x32692120
nop
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x433084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x43306c
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x401006
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x476004]
jne 0x401010
repz ret
jmp fcn.00401788

Function at 0x405655
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.004030b9
and dword [ebp - 4], 0
cmp dword [0x477db0], 0
mov ebx, eax
jne 0x405706
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4057b7
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4057b7
push eax
call fcn.00403047
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x477db0], eax
call esi
push eax
call fcn.00403047
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x477db4], eax
call esi
push eax
call fcn.00403047
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x477db8], eax
call esi
push eax
call fcn.00403047
pop ecx
mov dword [0x477dc0], eax
test eax, eax
je 0x405706
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00403047
pop ecx
mov dword [0x477dbc], eax
mov eax, dword [0x477dbc]
cmp eax, ebx
je 0x40575e
cmp dword [0x477dc0], ebx
je 0x40575e
push eax
call fcn.004030c2
push dword [0x477dc0]
mov esi, eax
call fcn.004030c2
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40575e
test edi, edi
je 0x40575e
call esi
test eax, eax
je 0x405755
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x405755
test byte [ebp - 0xc], 1
jne 0x40575e
or dword [ebp + 0x10], 0x200000
jmp 0x405797
mov eax, dword [0x477db4]
cmp eax, ebx
je 0x405797
push eax
call fcn.004030c2
pop ecx
test eax, eax
je 0x405797
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x405797
mov eax, dword [0x477db8]
cmp eax, ebx
je 0x405797
push eax
call fcn.004030c2
pop ecx
test eax, eax
je 0x405797
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x477db0]
call fcn.004030c2
pop ecx
test eax, eax
je 0x4057b7
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4057b9
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4734a6
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0x40
push dword [0x485d24]
push dword [0x485a40]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
leave
ret

Function at 0x473535
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
xor edi, edi
cmp dword [ebp + 0xc], edi
jle 0x47355f
push esi
and dword [ebp - 4], 0
lea esi, [ebp - 4]
call fcn.0047352a
mov eax, dword [ebp + 8]
mov cl, byte [ebp - 4]
add eax, edi
xor byte [eax], cl
inc edi
cmp edi, dword [ebp + 0xc]
jl 0x473542
pop esi
cmp dword [ebp + 0xc], 0x2d
pop edi
jne 0x473577
or dword [0x485d34], 0xffffffff
mov dword [0x485d30], 0xa62e7790
leave
ret
Function at 0xecb350
Capabilities:
Encode data using xor

Disassembly:
jmp 0xecb35a
pushal
call 0xecb360
pop ebp
sub ebp, 0x10
sub ebp, 0xacb350
jmp 0xecb376
mov eax, 0xacb350
add eax, ebp
add eax, 0x4c
mov ecx, 0x5d1
mov edx, 0x864beb1e
xor byte [eax], dl
inc eax
dec ecx
jne 0xecb38d
jmp 0xecb3a0
xchg ebp, eax
rcl dword [ebp + 0x1e1e2297], cl
push ds
lahf
invalid

Function at 0x4282a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x17000]
push edi
jmp 0x4282ba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4282c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4282b0
mov eax, 1
add ebx, ebx
jne 0x4282d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4282c8
jne 0x4282e4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4282c8
xor ecx, ecx
sub eax, 3
jb 0x4282f8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x42836a
mov ebp, eax
add ebx, ebx
jne 0x428303
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x428310
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x428334
inc ecx
add ebx, ebx
jne 0x428320
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x428315
jne 0x428331
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x428315
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x428354
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x428345
jmp 0x4282b6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x428354
add edi, ecx
jmp 0x4282b6
pop esi
mov edi, esi
mov ecx, 0x115
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x428372
cmp byte [edi], 3
jne 0x428372
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 0x428377
lea edi, [esi + 0x26000]
mov eax, dword [edi]
or eax, eax
je 0x4283e6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x28000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x280c4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4283a4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x280cc]
or eax, eax
je 0x4283e0
mov dword [ebx], eax
add ebx, 4
jmp 0x4283c1
call dword [esi + 0x280c8]
mov ebp, dword [esi + 0x280d0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ef]
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 0x42841a
sub esp, 0xffffff80
jmp 0x409ac0
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x408f6c
nop
nop
mov ecx, 0xeb133da
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x430024
nop
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x42e3d0
nop
nop
mov ecx, 0x7ca90b39
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x401000
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7d8
lea eax, [ebp - 4]
push ebx
push edi
push eax
mov ebx, 0xf013f
xor edi, edi
push ebx
push edi
push str.SOFTWAREx69config
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40106b
jmp 0x40103e
lea eax, [ebp - 0x7d8]
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push edi
push edi
push edi
push edi
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x3e8
push eax
lea eax, [ebp - 0x7d8]
push eax
push edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x40102e
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
push ebx
push str.SOFTWAREx69config
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyExW]
pop edi
pop ebx
leave
ret
Function at 0x402ea0
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x48a008], 0x8088405
inc edx
mov dword [ebx + 0x48a008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x403430
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x48a010]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4034c8
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4034a8
xor eax, eax
push ebp
push 0x4034a1
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x4034e4
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4034a8
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x48a010]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x48a010], ax
mov esp, ebp
pop ebp
ret

Function at 0x4041a8
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x48d048], 0
je 0x404209
cmp word [0x48d21c], 0xd7b2
jne 0x4041d1
cmp dword [0x48d224], 0
jbe 0x4041d1
mov eax, 0x48d218
call dword [0x48d234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x48a058
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x404230
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x48a020], 0
jne 0x404225
push 0
push 0x48a078
push 0x48a058
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret