joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42b800
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x484860
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
push esi
push edi
mov esi, ecx
call fcn.00429340
mov ebx, eax
test ebx, ebx
mov dword [esp + 0xc], ebx
jne 0x42b859
mov eax, dword [esp + 0x68]
xor ecx, ecx
mov ebx, eax
xor edx, edx
xor esi, esi
xor edi, edi
mov dword [ebx], ecx
mov dword [ebx + 4], edx
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
add esp, 0x58
ret 0xc
push ebp
mov ecx, ebx
call fcn.004266d0
mov ebp, dword [esp + 0x70]
mov edi, eax
add edi, ebp
mov ecx, ebx
mov dword [esp + 0x28], edi
call fcn.004266c0
mov edx, dword [esp + 0x74]
mov ecx, esi
add eax, edx
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x20]
push eax
call fcn.0042aeb0
mov ebp, dword [eax]
lea edx, [esp + 0x38]
push edx
mov ecx, dword [eax + 4]
mov eax, dword [esi + 0x1c]
push eax
mov dword [esp + 0x24], ecx
call dword [0x4875d8]
push 0
lea ecx, [esp + 0x4c]
call fcn.0047ddba
mov ecx, dword [esi + 0x5c]
mov edx, dword [esi + 0x58]
push ecx
lea eax, [esp + 0x4c]
push edx
push eax
mov dword [esp + 0x70], 0
call fcn.00441c10
add esp, 0xc
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x18]
call fcn.00428d60
mov eax, dword [esp + 0x50]
lea edx, [esp + 0x38]
push 2
push edx
push eax
mov byte [esp + 0x70], 1
call dword [0x4870fc]
mov ecx, ebx
call fcn.00426640
mov ebx, eax
mov eax, edi
cmp eax, ebx
jge 0x42b924
push edi
mov ecx, esi
call fcn.00428e70
push eax
push ebp
mov ecx, esi
call fcn.00429030
cmp eax, dword [esp + 0x40]
jg 0x42b920
inc edi
mov ebp, eax
cmp edi, ebx
jl 0x42b8fe
mov eax, ebx
jmp 0x42b92a
cmp edi, ebx
jl 0x42b928
mov eax, ebx
jmp 0x42b92a
mov eax, edi
lea ecx, [eax - 1]
mov eax, dword [esp + 0x28]
cmp eax, ecx
jle 0x42b93b
mov dword [esp + 0x30], eax
jmp 0x42b946
cmp edi, ebx
jl 0x42b941
mov edi, ebx
dec edi
mov dword [esp + 0x30], edi
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
call fcn.00426600
mov ebp, eax
mov eax, dword [esp + 0x2c]
cmp eax, ebp
mov edi, eax
jge 0x42b98d
push edi
mov ecx, esi
call fcn.00428d90
push eax
push ebx
mov ecx, esi
call fcn.00429160
cmp eax, dword [esp + 0x44]
jg 0x42b985
inc edi
mov ebx, eax
cmp edi, ebp
jl 0x42b95f
mov eax, dword [esp + 0x2c]
mov ecx, ebp
jmp 0x42b997
cmp edi, ebp
jl 0x42b991
mov eax, dword [esp + 0x2c]
mov ecx, ebp
jmp 0x42b997
mov eax, dword [esp + 0x2c]
mov ecx, edi
dec ecx
cmp eax, ecx
jle 0x42b9a0
mov ecx, eax
jmp 0x42b9a9
cmp edi, ebp
jl 0x42b9a6
mov edi, ebp
lea ecx, [edi - 1]
mov esi, dword [esp + 0x6c]
mov edi, dword [esp + 0x28]
mov edx, esi
mov dword [edx], edi
mov dword [edx + 4], eax
mov eax, dword [esp + 0x30]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
lea ecx, [esp + 0x14]
call fcn.00428d80
lea ecx, [esp + 0x48]
mov dword [esp + 0x64], 0xffffffff
call fcn.0047de2c
mov ecx, dword [esp + 0x5c]
pop ebp
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x58
ret 0xc
Function at 0x4319e0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x484d18
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x431a19
inc eax
mov dword [esi + 0x10], eax
jmp 0x431b2c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x431a2d
mov eax, 0xffffffc7
jmp 0x431b2e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x431a3e
cmp dword [esi + 8], eax
jne 0x431a2d
cmp dword [esi + 8], eax
jne 0x431a57
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x431a57
mov eax, 0xffffffc7
jmp 0x431b2e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x431a6b
push eax
mov ecx, ebx
call fcn.00431210
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.004044c0
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x431a9c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.004044e0
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.00430980
test eax, eax
mov dword [esp + 0x38], eax
je 0x431acf
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0xb15488
call fcn.004046c0
mov eax, dword [esp + 0x38]
jmp 0x431b2e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.00431840
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x431b13
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.00431860
mov esi, eax
test esi, esi
jne 0x431b43
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.00431840
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x431ae5
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0xb15488
call fcn.004046c0
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0xb15488
call fcn.004046c0
mov eax, esi
jmp 0x431b2e
Function at 0x4422b0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x485608
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [0x4875d8]
push 0
lea ecx, [esp + 0x20]
call fcn.0047ddba
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.00441c10
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.0047dce8
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.0047a5a6
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.0047a5a6
push 1
push 0
push 0
mov ecx, esi
call fcn.0047a54e
push 1
push 0
push 1
mov ecx, esi
call fcn.0047a54e
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0047de2c
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x442430
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x485628
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.0047ddba
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.00441c10
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.0047dce8
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [0x4875d8]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x4424f4
cmp dword [esp + 0x40], 1
jne 0x4424f2
cmp ecx, eax
jge 0x4424f4
mov eax, ecx
cmp eax, 0xc8
jge 0x442500
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.004422b0
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [0x4875d4]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0047de2c
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x442cf0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4856d3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004789c3
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], method.CBrush.virtual_0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [0x4870c8]
push eax
mov ecx, edi
call fcn.0047e062
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.0047f57e
test eax, eax
je 0x442e0c
mov ecx, dword [esp + 0x3c]
call fcn.0047e08f
mov ecx, dword [esi + 0x1c]
mov ebp, dword [0x4875f8]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x442dd0
push edi
mov ecx, esi
call fcn.0047b6f1
mov ecx, esi
call fcn.00442fb0
cmp dword [esp + 0x38], 1
jne 0x442e05
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.0047b82c
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28

Function at 0x445000
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x445033
push esi
call fcn.004533a0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x44502c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x4450b9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4450a2
mov eax, dword [esi + 8]
test eax, eax
je 0x445057
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x44509e
cmp eax, 2
je 0x4450a2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x44504a
cmp eax, 3
je 0x44507d
cmp eax, 1
jne 0x44504a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x44504a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x44504a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.004450e0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x4450c8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.004450e0
add esp, 4
pop esi
ret
Function at 0x462e70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x485c20
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.00462a20
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.00462aa0
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.00462aa0
lea ecx, [esi + 0xc]
call fcn.004773a0
lea ecx, [esi + 0x10]
call fcn.004773a0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.00464030
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.00464030
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.00464030
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.00477415
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.00477415
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0xb83c10
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
sub esp, 0x4c
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0xb83d1c
test eax, eax
je 0xb83d1c
push esi
push edi
mov ecx, 0x10
mov esi, 0xb9efe8
lea edi, [ebp - 0x4c]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov esi, dword [ebp + 0x14]
mov esi, dword [esi]
add esi, eax
mov dword [ebp - 8], esi
xor esi, esi
mov dword [ebp - 4], 0
mov ecx, eax
test edx, edx
jbe 0xb83d03
lea edi, [eax + 4]
jmp 0xb83c67
mov ebx, dword [ebp + 8]
movzx eax, byte [esi + ebx]
inc esi
shl eax, 0x10
cmp esi, edx
jne 0xb83c7c
mov dword [ebp - 4], 2
jmp 0xb83c9d
movzx ebx, byte [esi + ebx]
shl ebx, 8
inc esi
or eax, ebx
cmp esi, edx
jne 0xb83c93
mov dword [ebp - 4], 1
jmp 0xb83c9d
mov edx, dword [ebp + 8]
movzx edx, byte [esi + edx]
or eax, edx
inc esi
mov edx, eax
and edx, 0x3f
cmp edi, dword [ebp - 8]
ja 0xb83d13
mov ebx, eax
shr ebx, 0x12
and ebx, 0x3f
movzx ebx, byte [ebp + ebx - 0x4c]
mov byte [ecx], bl
mov ebx, eax
shr ebx, 0xc
and ebx, 0x3f
movzx ebx, byte [ebp + ebx - 0x4c]
inc ecx
inc edi
mov byte [ecx], bl
mov ebx, dword [ebp - 4]
inc ecx
inc edi
cmp ebx, 1
jbe 0xb83cd6
mov byte [ecx], 0x3d
jmp 0xb83ce2
shr eax, 6
and eax, 0x3f
mov al, byte [ebp + eax - 0x4c]
mov byte [ecx], al
inc ecx
inc edi
test ebx, ebx
jbe 0xb83ced
mov byte [ecx], 0x3d
jmp 0xb83cf3
mov dl, byte [ebp + edx - 0x4c]
mov byte [ecx], dl
mov edx, dword [ebp + 0xc]
inc ecx
inc edi
cmp esi, edx
jb 0xb83c64
mov eax, dword [ebp + 0x10]
sub ecx, eax
mov eax, dword [ebp + 0x14]
pop edi
pop esi
mov dword [eax], ecx
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x406200
Capabilities:
Encode data using xor

Disassembly:
nop
nop
nop
inc edi
push ds
nop
nop
nop
sub esp, edi
in al, dx
pop es
in al, dx
or byte [ebx + 0xd53d945], cl
push edi
cmp dword [eax + 4], 1
jne 0x406327
mov edx, ebp
or al, 0x8b
inc ebp
or byte [ebx], dh
leave
mov edx, dword [eax - 0x38]
jnp 0x406228
jg 0x4061f8
stosd dword es:[edi], eax
pop ds
clc
jbe 0x406240
mov esi, dword [eax + 0x301c]
add esi, 0xc
jmp 0x4156d657
pop edi
arpl word [eax + 0x111dd], di
pop ebx
mov ebp, dword [ebp + ebx*2 + 0x4d]
or byte [eax], al
mov ebx, ecx
inc ecx
lea esi, [edx - 1]
cmp ecx, edx
add dword [eax + 4], esi
jae 0x4062aa
lea ecx, [ecx - 0x20]
inc eax
mov ecx, eax
popfd
add al, cl
out 2, eax
sub edx, ecx
mov dword [ebp + 8], edi
and dword [edi + 0x1c888bfc], 0x8b000030
push ebp
or al, 0x1f

Function at 0x408b40
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ebp, dword [ecx - 0x70fa9af]
adc byte [edx], ch
lea edx, [ebp - 8]
push 0
mov eax, dword [esi]
push edx
mov edx, dword [ebp + 8]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x72]
mov ecx, ecx
dec ecx
dec esi
cmc
inc dword [ecx*4 + 0x13cf04d]
pop edx
push eax
mov dword [ebp - 4], 0x22000000
Function at 0x100387a0
Capabilities:
Enumerate pe sections

Disassembly:
mov ax, word [esp + 4]
test ax, ax
push ebp
jl 0x100387c3
cmp ax, 0x14
jg 0x100387c3
movsx ebp, ax
mov eax, dword [ebp*4 + 0x2f44400]
test eax, eax
mov dword [esp + 8], ebp
jne 0x100387d3
mov dword [0x2f44450], 0xfffff61e
or ax, 0xffff
pop ebp
ret
push ebx
push esi
mov esi, dword [esp + 0x18]
test esi, esi
push edi
jne 0x100388ae
mov esi, dword [eax + 8]
mov ebx, 1
add esi, 0x14
cmp dword [eax + 0xc], ebx
jbe 0x100388a6
mov edi, dword [esp + 0x20]
add edi, 6
lea ecx, [ecx]
cmp dword [esp + 0x20], 0
je 0x10038852
mov dword [edi - 6], ebx
movzx eax, word [esi]
mov word [edi - 2], ax
movzx ecx, word [esi + 2]
mov word [edi], cx
movzx edx, word [esi + 4]
sub dx, word [esi]
mov word [edi + 2], dx
mov ax, word [esi + 6]
sub ax, word [esi + 2]
add eax, 1
mov word [edi + 4], ax
mov ecx, dword [esi + 0x10]
mov dword [edi + 6], ecx
movzx edx, word [esi + 0xa]
mov word [edi + 0xa], dx
movzx eax, byte [esi + 0xc]
mov word [edi + 0xc], ax
movzx ecx, byte [esi + 0xd]
mov word [edi + 0xe], cx
jmp 0x1003888d
movzx edx, byte [esi + 0xd]
movsx eax, word [esi + 2]
push edx
movzx edx, word [esi + 0xa]
movsx ecx, word [esi]
push edx
movzx edx, byte [esi + 0xc]
push edx
mov edx, dword [esi + 0x10]
push edx
movsx edx, word [esi + 6]
sub edx, eax
add edx, 1
push edx
movsx edx, word [esi + 4]
sub edx, ecx
push edx
push eax
push ecx
push ebx
push 0x2f40418
call fcn.100364c0
add esp, 0x28
mov eax, dword [ebp*4 + 0x2f44400]
add ebx, 1
add edi, 0x18
add esi, 0x14
cmp ebx, dword [eax + 0xc]
jb 0x10038800
pop edi
pop esi
pop ebx
xor ax, ax
pop ebp
ret
xor edi, edi
test esi, esi
jbe 0x100388a6
mov ebx, dword [esp + 0x20]
jmp 0x100388c0
mov ecx, dword [esp + 0x18]
mov eax, dword [ebp*4 + 0x2f44400]
mov edx, dword [ecx + edi*4]
cmp edx, dword [eax + 0xc]
ja 0x10038941
cmp dword [esp + 0x20], 0
mov eax, dword [eax + 8]
lea ecx, [edx + edx*4]
lea eax, [eax + ecx*4]
je 0x100388ec
mov ecx, ebx
call fcn.10037f20
jmp 0x1003892f
movzx ebp, byte [eax + 0xd]
movsx ecx, word [eax + 2]
movsx esi, word [eax]
push ebp
movzx ebp, word [eax + 0xa]
push ebp
movzx ebp, byte [eax + 0xc]
push ebp
mov ebp, dword [eax + 0x10]
push ebp
movsx ebp, word [eax + 6]
movsx eax, word [eax + 4]
sub ebp, ecx
add ebp, 1
push ebp
sub eax, esi
push eax
push ecx
push esi
push edx
push 0x2f40418
call fcn.100364c0
mov esi, dword [esp + 0x44]
mov ebp, dword [esp + 0x3c]
add esp, 0x28
add edi, 1
add ebx, 0x18
cmp edi, esi
jb 0x100388c0
pop edi
pop esi
pop ebx
xor ax, ax
pop ebp
ret
pop edi
pop esi
pop ebx
mov dword [0x2f44450], 0xfffff61e
or ax, 0xffff
pop ebp
ret
Function at 0x406739
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x469c7c], 0
jne 0x406777
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
movzx edx, dl
neg edx
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x40674d
mov dword [ecx*4 + 0x469c78], eax
inc ecx
cmp ecx, 0x100
jl 0x406748
pop esi
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
not eax
jbe 0x4067a4
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
dec dword [ebp + 0x10]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x469c78]
inc ecx
cmp dword [ebp + 0x10], 0
ja 0x406785
not eax
pop ebp
ret 0xc

Function at 0x42c0e0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1b000]
push edi
or ebp, 0xffffffff
jmp 0x42c102
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x42c109
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x42c0f8
mov eax, 1
add ebx, ebx
jne 0x42c11b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x42c110
jne 0x42c12c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42c110
xor ecx, ecx
sub eax, 3
jb 0x42c140
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x42c1b2
mov ebp, eax
add ebx, ebx
jne 0x42c14b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x42c158
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x42c17c
inc ecx
add ebx, ebx
jne 0x42c168
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x42c15d
jne 0x42c179
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42c15d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x42c19c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x42c18d
jmp 0x42c0fe
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x42c19c
add edi, ecx
jmp 0x42c0fe
pop esi
mov edi, esi
mov ecx, 0xa95
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x42c1ba
cmp byte [edi], 0xa
jne 0x42c1ba
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 0x42c1bf
lea edi, [esi + 0x2a000]
mov eax, dword [edi]
or eax, eax
je 0x42c22e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2c000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2c0c8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x42c1ec
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x2c0cc]
or eax, eax
je 0x42c228
mov dword [ebx], eax
add ebx, 4
jmp 0x42c209
call dword [esi + 0x2c0d4]
mov ebp, dword [esi + 0x2c0d0]
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 0x42c262
sub esp, 0xffffff80
jmp 0x40e266
Function at 0x1973700
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
xor ebx, ebx
movsb byte es:[edi], byte [esi]
mov bl, 2
call fcn.0197378f
jae 0x197370e
xor ecx, ecx
call fcn.0197378f
jae 0x197373d
xor eax, eax
call fcn.0197378f
jae 0x197374d
mov bl, 2
inc ecx
mov al, 0x10
call fcn.0197378f
adc al, al
jae 0x197372f
jne 0x1973779
stosb byte es:[edi], al
jmp 0x1973711
call fcn.0197379b
sub ecx, ebx
jne 0x1973756
call fcn.01973799
jmp 0x1973775
lodsb al, byte [esi]
shr eax, 1
je 0x1973783
adc ecx, ecx
jmp 0x1973772
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.01973799
cmp eax, 0x7d00
jae 0x1973772
cmp ah, 5
jae 0x1973773
cmp eax, 0x7f
ja 0x1973774
inc ecx
inc ecx
xchg ebp, eax
mov eax, ebp
mov bl, 1
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1973711
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret 8
Function at 0x1014c69
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push 0x10019f8
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1014cc1
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x1001a34
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1014cb4
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x1014cc3
xor eax, eax
pop esi
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 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