joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100a3b60
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
test edx, edx
jne 0x100a3b73
xor eax, eax
pop esi
pop ebp
ret
mov eax, dword [ebp + 8]
not eax
cmp esi, 8
jb 0x100a3c2e
push edi
mov edi, esi
shr edi, 3
movzx ecx, byte [edx]
sub esi, 8
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x100eb510]
movzx ecx, byte [edx + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x100eb510]
movzx ecx, byte [edx + 2]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x100eb510]
movzx ecx, byte [edx + 3]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x100eb510]
movzx ecx, byte [edx + 4]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x100eb510]
movzx ecx, byte [edx + 5]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x100eb510]
movzx ecx, byte [edx + 6]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x100eb510]
movzx ecx, byte [edx + 7]
add edx, 8
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x100eb510]
sub edi, 1
jne 0x100a3b87
pop edi
test esi, esi
je 0x100a3c4c
movzx ecx, byte [edx]
lea edx, [edx + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x100eb510]
sub esi, 1
jne 0x100a3c32
not eax
pop esi
pop ebp
ret
Function at 0x100b6209
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.100a97e0
mov eax, dword [0x10105018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.100bc7b4
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x100b624b
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x100b63a7
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.100a9810
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x10107690]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.100bf1fe
mov ecx, dword [esi*4 + 0x10107690]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x100b63a0
cmp eax, dword [edi + ecx + 0x24]
jne 0x100b63a0
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100b63a0
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.100bf1fe
add esp, 0x14
test edx, edx
jl 0x100b63a0
jg 0x100b6316
test eax, eax
jb 0x100b63a0
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x100b63a0
jl 0x100b6330
cmp dword [ebp - 0x1008], eax
ja 0x100b63a0
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x100b634e
test ebx, ebx
je 0x100b6387
cmp ecx, edi
jae 0x100b6387
mov al, byte [ecx]
cmp al, 0xd
jne 0x100b6368
lea eax, [edi - 1]
cmp ecx, eax
jae 0x100b6374
cmp byte [ecx + 1], 0xa
jne 0x100b6374
inc ecx
jmp 0x100b6374
movzx eax, al
movsx eax, byte [eax + 0x10105430]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x100b634e
cmp edx, ebx
jne 0x100b634e
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x100b63a5
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.100a8abc
leave
ret

Function at 0x100bb3ee
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100ef8ac
push 0x100ef8a4
push str.FlsAlloc
push 0x1e
call fcn.100bb21b
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100bb422
push dword [ebp + 8]
mov ecx, esi
call dword [0x100d2204]
call esi
jmp 0x100bb428
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4
Function at 0x100bb46c
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100ef8bc
push 0x100ef8b4
push str.FlsGetValue
push 0x20
call fcn.100bb21b
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100bb4a3
push dword [ebp + 8]
mov ecx, esi
call dword [0x100d2204]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x100bf27a
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 + 0x10107690]
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 0x100bf2ba
cmp byte [ebx], 0xa
jne 0x100bf2ba
or byte [eax + edi + 0x28], 4
jmp 0x100bf2bf
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x100bf3bd
mov al, byte [edx]
cmp al, 0x1a
je 0x100bf39f
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x100bf2ee
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x100bf313
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x100bf31d
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 0x100bf2d0
jmp 0x100bf3bd
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 0x100bf39a
cmp dword [ebp - 0xc], 0
je 0x100bf39a
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x10107690]
test byte [eax + edi + 0x28], 0x48
je 0x100bf374
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x100bf35f
mov byte [esi], dl
jmp 0x100bf370
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x10107690]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x100bf3bd
cmp byte [ebp - 1], 0xa
jne 0x100bf383
cmp esi, ebx
jne 0x100bf383
mov byte [esi], 0xa
jmp 0x100bf3bc
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.100bf21c
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x100bf3bd
mov byte [esi], 0xd
jmp 0x100bf3bc
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x10107690]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x100bf3b9
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x100bf3bd
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x100bf3c6
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 + 0x10107690]
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 0x100bf409
cmp word [esi], dx
jne 0x100bf409
or byte [edi + eax + 0x28], 4
jmp 0x100bf40e
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 0x100bf561
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 0x100bf541
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x100bf450
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x100bf486
cmp eax, edx
jae 0x100bf492
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 0x100bf428
jmp 0x100bf561
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 0x100bf53d
cmp dword [ebp - 0x14], 0
je 0x100bf53d
mov eax, dword [ebx*4 + 0x10107690]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x100bf515
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x100bf4de
mov word [esi], cx
jmp 0x100bf511
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x10107690]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x10107690]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x10107690]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x100bf561
pop ebx
cmp word [ebp - 4], bx
jne 0x100bf526
cmp esi, dword [ebp + 0xc]
jne 0x100bf526
mov word [esi], bx
jmp 0x100bf55e
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.100bf21c
add esp, 0x10
cmp word [ebp - 4], bx
je 0x100bf561
push 0xd
jmp 0x100bf55a
mov ecx, dword [ebx*4 + 0x10107690]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x100bf558
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x100bf561
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 0x100c167f
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100c14f0
Function at 0x100c5596
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 0x100c5633
push ebx
push esi
call fcn.100c555f
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.100c439b
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x100c55e0
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100c5632
push edi
push eax
call fcn.100bb88b
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x100c5600
call fcn.100ba8eb
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100c5631
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.100c439b
add esp, 0x20
test eax, eax
jne 0x100c561f
push edi
call fcn.100ba8eb
jmp 0x100c5627
push ebx
call fcn.100ba8eb
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 0x100c5636
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x100c5647
pop esi
ret
push ebx
push edi
push esi
call fcn.100c555f
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.100bb88b
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x100c566f
push ebx
push esi
push edi
call fcn.100aa9f0
add esp, 0xc
push 0
call fcn.100ba8eb
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x100c5a33
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100c5684
Function at 0x100cbf51
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.100cbecd
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x100cc0c9
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x100cc0c9
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x100cc078
jg 0x100cbfaa
test eax, eax
je 0x100cc06e
push 1
push 0x1000
call fcn.100ba88e
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x100cbfd0
mov eax, dword [ebp + 0x14]
push 0xc
pop edi
mov byte [eax + 0x1c], 1
mov dword [eax + 0x18], edi
jmp 0x100cc065
push 0x8000
push ebx
call fcn.100cbdfe
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 0x100cbffc
jg 0x100cbff7
cmp ecx, 0x1000
jb 0x100cbffc
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.100c0921
add esp, 0x10
cmp eax, 0xffffffff
je 0x100cc041
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 0x100cbff7
jl 0x100cc028
test ecx, ecx
jne 0x100cbfe9
push dword [ebp - 0xc]
push ebx
call fcn.100cbdfe
push esi
call fcn.100ba8eb
add esp, 0xc
xor edi, edi
jmp 0x100cc0da
cmp byte [edi + 0x24], 0
je 0x100cc058
cmp dword [edi + 0x20], 5
jne 0x100cc058
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x100cc063
mov edi, dword [edi + 0x18]
jmp 0x100cc065
xor edi, edi
push esi
call fcn.100ba8eb
pop ecx
jmp 0x100cc0da
test ecx, ecx
jg 0x100cc03a
jl 0x100cc078
test eax, eax
jae 0x100cc03a
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.100bf21c
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x100cc09b
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x100cc03a
jmp 0x100cc0d2
push ebx
call fcn.100c9dee
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x100cc03a
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 0x100cc0da
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x100cc0d7
mov edi, dword [edi + 0x18]
jmp 0x100cc0da
push 0x16
pop edi
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.100bf21c
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x100ccb80
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x100ccbad
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100ccbad
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
je 0x430072
nop
nop
nop
nop
mov ebx, 0x408f6c
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
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x673d4f8d
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x430060
nop
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x4300d2
nop
mov ebx, 0x42e3d0
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x3d824ad6
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
loop 0x4300c0
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219

Function at 0x433000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
pop eax
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
jl 0x433030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x405f35
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x42c5b4], 0
push esi
jne 0x405f6c
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405f46
mov dword [ecx*4 + 0x42c5b0], eax
inc ecx
cmp ecx, 0x100
jl 0x405f41
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405f9d
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x42c5b0]
xor eax, esi
inc ecx
dec edx
jne 0x405f7f
pop edi
not eax
pop esi
ret 0xc

Function at 0x40c470
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x9000]
push edi
or ebp, 0xffffffff
jmp 0x40c492
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40c499
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40c488
mov eax, 1
add ebx, ebx
jne 0x40c4ab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40c4a0
jne 0x40c4bc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40c4a0
xor ecx, ecx
sub eax, 3
jb 0x40c4d0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40c542
mov ebp, eax
add ebx, ebx
jne 0x40c4db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40c4e8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40c50c
inc ecx
add ebx, ebx
jne 0x40c4f8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40c4ed
jne 0x40c509
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40c4ed
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40c52c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40c51d
jmp 0x40c48e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40c52c
add edi, ecx
jmp 0x40c48e
pop esi
mov edi, esi
mov ecx, 4
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40c54a
cmp byte [edi], 1
jne 0x40c54a
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 eax, ebx
loop 0x40c54f
lea edi, [esi + 0xa000]
mov eax, dword [edi]
or eax, eax
je 0x40c5c7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xd70c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xd748]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40c57c
mov ecx, edi
jns 0x40c5ab
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 + 0xd74c]
or eax, eax
je 0x40c5c1
mov dword [ebx], eax
add ebx, 4
jmp 0x40c599
call dword [esi + 0xd750]
popal
jmp 0x401128
Function at 0x4020a2
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x403a50
push fcn.00402290
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
xor ebx, ebx
mov dword [ebp - 4], ebx
push 2
pop edi
push edi
or edx, dword [sym.imp.MSVCRT.dll___set_app_type]
pop ecx
or dword [0x405c8c], 0xffffffff
or dword [0x405c90], 0xffffffff
call dword [sym.imp.MSVCRT.dll___p__fmode]
mov ecx, dword [0x405c80]
mov dword [eax], ecx
call dword [sym.imp.MSVCRT.dll___p__commode]
mov ecx, dword [0x405c7c]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCRT.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x405c88], eax
call fcn.004022e1
cmp dword [eax + 0x405ba0], edx
jne 0x402127
push 0x4022de
call dword [sym.imp.MSVCRT.dll___setusermatherr]
pop ecx
call fcn.004022cc
push 0x405014
push 0x405010
call sub.MSVCRT.dll__initterm
mov eax, dword [0x405c78]
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x6c]
push eax
push dword [0x405c74]
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x60]
push eax
nop
adc eax, sym.imp.MSVCRT.dll___wgetmainargs
push 0x40500c
push section..data
call sub.MSVCRT.dll__initterm
add esp, 0
mov eax, dword [sym.imp.MSVCRT.dll__wcmdln]
mov esi, dword [eax]
cmp esi, ebx
jne 0x40218f
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret
mov dword [ebp - 0x74], esi
cmp word [esi], 0x22
jne 0x4021dd
add esi, edi
mov dword [ebp - 0x74], esi
mov ax, word [esi]
cmp ax, bx
je 0x4021ab
cmp ax, 0x22
jne 0x402198
cmp word [esi], 0x22
jne 0x4021b6
add esi, edi
mov dword [ebp - 0x74], esi
mov ax, word [esi]
cmp ax, bx
je 0x4021c4
cmp ax, 0x20
jbe 0x4021b1
mov dword [ebp - 0x30], ebx
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_Ordinal_56554]
test byte [ebp - 0x30], 1
je 0x4021ea
movzx eax, word [ebp - 0x2c]
jmp 0x4021ed
cmp word [esi], 0x20
jbe 0x4021b6
add esi, edi
mov dword [ebp - 0x74], esi
jmp 0x4021dd
push 0xa
pop eax
push eax
push esi
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_Ordinal_35319]
push eax
call main
mov dword [ebp - 0x68], eax
push eax
call dword [sym.imp.MSVCRT.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x78], ecx
push eax
push ecx
call sub.MSVCRT.dll__XcptFilter
pop ecx
pop ecx
ret
Function at 0x1024a0ad
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1025ef38]
jne 0x1024a0b7
repz ret
jmp fcn.1024c9c7

Function at 0x1024d35f
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.10248dbb
and dword [ebp - 4], 0
cmp dword [0x1026067c], 0
mov ebx, eax
jne 0x1024d410
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x1024d4c1
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x1024d4c1
push eax
call fcn.10248d49
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x1026067c], eax
call esi
push eax
call fcn.10248d49
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x10260680], eax
call esi
push eax
call fcn.10248d49
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x10260684], eax
call esi
push eax
call fcn.10248d49
pop ecx
mov dword [0x1026068c], eax
test eax, eax
je 0x1024d410
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.10248d49
pop ecx
mov dword [0x10260688], eax
mov eax, dword [0x10260688]
cmp eax, ebx
je 0x1024d468
cmp dword [0x1026068c], ebx
je 0x1024d468
push eax
call fcn.10248dc4
push dword [0x1026068c]
mov esi, eax
call fcn.10248dc4
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x1024d468
test edi, edi
je 0x1024d468
call esi
test eax, eax
je 0x1024d45f
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1024d45f
test byte [ebp - 0xc], 1
jne 0x1024d468
or dword [ebp + 0x10], 0x200000
jmp 0x1024d4a1
mov eax, dword [0x10260680]
cmp eax, ebx
je 0x1024d4a1
push eax
call fcn.10248dc4
pop ecx
test eax, eax
je 0x1024d4a1
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x1024d4a1
mov eax, dword [0x10260684]
cmp eax, ebx
je 0x1024d4a1
push eax
call fcn.10248dc4
pop ecx
test eax, eax
je 0x1024d4a1
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1026067c]
call fcn.10248dc4
pop ecx
test eax, eax
je 0x1024d4c1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1024d4c3
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret