joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41e9b0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
cmp byte [esi + 0xbf], 0
jne 0x41eb1d
lea edx, [esi + 8]
mov byte [esi + 0xbf], 1
movzx eax, byte [edx]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 1]
xor ecx, eax
movzx eax, byte [edx + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
lea ecx, [edi + 0x60]
push eax
push edx
lea eax, [ebp - 0x10]
push eax
call fcn.0041cb40
mov edx, dword [eax + 4]
test edx, edx
jne 0x41ea1f
mov edx, dword [edi + 0x64]
cmp edx, dword [edi + 0x64]
mov edi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
je 0x41eb0f
mov eax, dword [edx + 0x3c]
mov ecx, dword [edx + 0x38]
mov dword [ebp - 8], eax
mov eax, ecx
or eax, dword [ebp - 8]
je 0x41ea89
mov eax, dword [ebp - 8]
mov dword [esi + 0x18], ecx
mov dword [esi + 0x1c], eax
mov eax, dword [edx + 0x40]
mov ecx, dword [edx + 0x44]
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], ecx
mov eax, dword [edx + 0x48]
mov ecx, dword [edx + 0x4c]
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], ecx
mov dword [edx + 0x38], 0
mov dword [edx + 0x3c], 0
mov dword [edx + 0x40], 0
mov dword [edx + 0x44], 0
mov dword [edx + 0x48], 0
mov dword [edx + 0x4c], 0
mov eax, dword [edx + 0x20]
mov ecx, dword [edx + 0x24]
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], ecx
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 0
mov dword [edx + 0x1c], 0
mov dword [edx + 0x20], 0
mov dword [edx + 0x24], 0
cmp dword [edx + 0x58], 0
jbe 0x41eaed
mov dword [esi + 0x20], ebx
mov eax, ebx
mov dword [esi + 0x24], edi
mov ecx, edi
sub eax, dword [edx + 0x50]
sbb ecx, dword [edx + 0x54]
jne 0x41eadb
test eax, eax
je 0x41eaed
add dword [esi + 0x28], eax
adc dword [esi + 0x2c], ecx
mov dword [edx + 0x38], ebx
mov dword [edx + 0x3c], edi
mov dword [edx + 0x50], ebx
mov dword [edx + 0x54], edi
cmp dword [edx + 0x30], 0
jbe 0x41eb0f
mov ecx, ebx
mov eax, edi
sub ecx, dword [edx + 0x28]
sbb eax, dword [edx + 0x2c]
add dword [esi + 0x30], ecx
adc dword [esi + 0x34], eax
mov dword [edx + 0x10], ebx
mov dword [edx + 0x14], edi
mov dword [edx + 0x28], ebx
mov dword [edx + 0x2c], edi
mov eax, dword [esi + 0x20]
or eax, dword [esi + 0x24]
jne 0x41eb1d
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x421bc9
Capabilities:
Parse pe header

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

Function at 0x42bf3b
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x43e6bc
push 0x43e6b4
push str.FlsAlloc
push 0x1e
call fcn.0042bdbc
mov esi, eax
add esp, 0x10
test esi, esi
je 0x42bf6f
push dword [ebp + 8]
mov ecx, esi
call dword [0x43c1b4]
call esi
jmp 0x42bf75
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x42bfb9
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x43e6cc
push 0x43e6c4
push str.FlsGetValue
push 0x20
call fcn.0042bdbc
mov esi, eax
add esp, 0x10
test esi, esi
je 0x42bff0
push dword [ebp + 8]
mov ecx, esi
call dword [0x43c1b4]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x4310b9
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x44d014]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x431104
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.00431258
test al, al
jne 0x4310fe
sub edx, 2
cmp edx, edi
jne 0x4310e4
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x431126
lea eax, [edi + 2]
cmp edx, eax
je 0x431126
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.00431005
add esp, 0x10
jmp 0x431220
push esi
lea ecx, [ebp - 0x255]
call fcn.00431258
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x431169
push dword [ebp - 0x25c]
jmp 0x431116
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x4311a6
cmp word [ebp - 0x226], 0
je 0x4311c7
cmp word [ebp - 0x226], ax
jne 0x4311a6
cmp word [ebp - 0x224], 0
je 0x4311c7
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.00431005
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x431213
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x431180
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x4311fb
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x431220
push 0x430e35
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.004364a0
add esp, 0x10
jmp 0x4311f0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00420eb4
leave
ret

Function at 0x431cdf
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x431cf0
pop esi
ret
push ebx
push edi
push esi
call fcn.00431ca8
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.0042cb89
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x431d18
push ebx
push esi
push edi
call fcn.00422540
add esp, 0xc
push 0
call fcn.0042bc4f
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x4320dc
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00431d2d
Function at 0x435154
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 + 0x44e9e0]
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 0x435194
cmp byte [ebx], 0xa
jne 0x435194
or byte [eax + edi + 0x28], 4
jmp 0x435199
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x435297
mov al, byte [edx]
cmp al, 0x1a
je 0x435279
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x4351c8
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x4351ed
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x4351f7
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 0x4351aa
jmp 0x435297
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 0x435274
cmp dword [ebp - 0xc], 0
je 0x435274
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x44e9e0]
test byte [eax + edi + 0x28], 0x48
je 0x43524e
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x435239
mov byte [esi], dl
jmp 0x43524a
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x44e9e0]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x435297
cmp byte [ebp - 1], 0xa
jne 0x43525d
cmp esi, ebx
jne 0x43525d
mov byte [esi], 0xa
jmp 0x435296
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.004350c4
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x435297
mov byte [esi], 0xd
jmp 0x435296
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x44e9e0]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x435293
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x435297
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4352a0
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 + 0x44e9e0]
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 0x4352e3
cmp word [esi], dx
jne 0x4352e3
or byte [edi + eax + 0x28], 4
jmp 0x4352e8
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 0x43543b
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 0x43541b
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x43532a
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x435360
cmp eax, edx
jae 0x43536c
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 0x435302
jmp 0x43543b
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 0x435417
cmp dword [ebp - 0x14], 0
je 0x435417
mov eax, dword [ebx*4 + 0x44e9e0]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x4353ef
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x4353b8
mov word [esi], cx
jmp 0x4353eb
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x44e9e0]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x44e9e0]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x44e9e0]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x43543b
pop ebx
cmp word [ebp - 4], bx
jne 0x435400
cmp esi, dword [ebp + 0xc]
jne 0x435400
mov word [esi], bx
jmp 0x435438
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.004350c4
add esp, 0x10
cmp word [ebp - 4], bx
je 0x43543b
push 0xd
jmp 0x435434
mov ecx, dword [ebx*4 + 0x44e9e0]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x435432
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x43543b
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 0x437ae5
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.00437a61
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x437c5d
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x437c5d
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x437c0c
jg 0x437b3e
test eax, eax
je 0x437c02
push 1
push 0x1000
call fcn.0042bbf2
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x437b64
mov eax, dword [ebp + 0x14]
push 0xc
pop edi
mov byte [eax + 0x1c], 1
mov dword [eax + 0x18], edi
jmp 0x437bf9
push 0x8000
push ebx
call fcn.00429605
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 0x437b90
jg 0x437b8b
cmp ecx, 0x1000
jb 0x437b90
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.0042fc3d
add esp, 0x10
cmp eax, 0xffffffff
je 0x437bd5
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 0x437b8b
jl 0x437bbc
test ecx, ecx
jne 0x437b7d
push dword [ebp - 0xc]
push ebx
call fcn.00429605
push esi
call fcn.0042bc4f
add esp, 0xc
xor edi, edi
jmp 0x437c6e
cmp byte [edi + 0x24], 0
je 0x437bec
cmp dword [edi + 0x20], 5
jne 0x437bec
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x437bf7
mov edi, dword [edi + 0x18]
jmp 0x437bf9
xor edi, edi
push esi
call fcn.0042bc4f
pop ecx
jmp 0x437c6e
test ecx, ecx
jg 0x437bce
jl 0x437c0c
test eax, eax
jae 0x437bce
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.004350c4
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x437c2f
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x437bce
jmp 0x437c66
push ebx
call fcn.0042e42f
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x437bce
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 0x437c6e
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x437c6b
mov edi, dword [edi + 0x18]
jmp 0x437c6e
push 0x16
pop edi
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.004350c4
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x439630
Capabilities:
Parse pe header

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

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1b000]
push edi
or ebp, 0xffffffff
jmp 0x49ba22
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x49ba29
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x49ba18
mov eax, 1
add ebx, ebx
jne 0x49ba3b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x49ba30
jne 0x49ba4c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x49ba30
xor ecx, ecx
sub eax, 3
jb 0x49ba60
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x49bad2
mov ebp, eax
add ebx, ebx
jne 0x49ba6b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x49ba78
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x49ba9c
inc ecx
add ebx, ebx
jne 0x49ba88
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x49ba7d
jne 0x49ba99
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x49ba7d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x49babc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x49baad
jmp 0x49ba1e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x49babc
add edi, ecx
jmp 0x49ba1e
pop esi
lea edi, [esi + 0x99000]
mov eax, dword [edi]
or eax, eax
je 0x49bb1b
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x9b000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x9b058]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x49bad9
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x9b060]
or eax, eax
je 0x49bb15
mov dword [ebx], eax
add ebx, 4
jmp 0x49baf6
call dword [esi + 0x9b05c]
mov ebp, dword [esi + 0x9b064]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1d7]
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 0x49bb4f
sub esp, 0xffffff80
jmp section.UPX0
Function at 0x401000
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x486ee0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
lea ecx, [ebp - 0xc]
mov dword [ebp - 0x70], edx
mov dword [ebp - 0x6c], ebx
call fcn.00401726
test eax, eax
je 0x401044
push 0x10
push str.Luxion_Keyshot_v11.0___Keygen
push str.Cannot_retrieve_MAC_address
push esi
call dword [sym.imp.USER32.dll_MessageBoxA]
or eax, 0xffffffff
jmp 0x40110a
push 0x48c
call fcn.00447b25
mov edi, eax
pop ecx
test edi, edi
jne 0x401063
push 0x10
push str.Luxion_Keyshot_v11.0___Keygen
push str.malloc___error
jmp 0x401035
push 0x48c
push ebx
push edi
call fcn.004490c0
add esp, 0xc
lea eax, [ebp - 0xc]
push eax
lea edx, [ebp - 0x68]
mov ecx, edi
call fcn.0040129e
pop ecx
test eax, eax
je 0x4010a3
push 0x10
push str.Luxion_Keyshot_v11.0___Keygen
push str.Problem_occured_during_license_generation
push esi
call dword [sym.imp.USER32.dll_MessageBoxA]
push edi
call fcn.00447aed
or eax, 0xffffffff
jmp 0x401109
push 0x4843ac
push dword [ebp - 0x70]
lea eax, [ebp - 0x6c]
push eax
call fcn.00447c90
add esp, 0xc
test eax, eax
je 0x4010d3
push 0x10
push str.Luxion_Keyshot_v11.0___Keygen
push str.Cannot_write_keyfile_
push esi
call dword [sym.imp.USER32.dll_MessageBoxA]
or ebx, 0xffffffff
jmp 0x401101
push dword [ebp - 0x6c]
push 0x48c
push 1
push edi
call fcn.00447e81
push dword [ebp - 0x6c]
call fcn.00447f6b
add esp, 0x14
push 0x40
push str.Luxion_Keyshot_v11.0___Keygen
push str.Keyfile_successfully_written_
push esi
call dword [sym.imp.USER32.dll_MessageBoxA]
push edi
call fcn.00447aed
mov eax, ebx
pop ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00447ade
leave
ret
Function at 0x449b92
Capabilities:
Encode data using xor

Disassembly:
sub ebx, dword [eax]
sub eax, 0x2cde992e
or byte [eax], bl
ficomp word [esi - 0x5b]
aaa
clc
push 0x20cdf279
jne 0x449c19
sub byte [eax - 0x77712193], ah
in eax, 0xe8
mov byte [ebp - 0x51a95378], bl
lodsb al, byte [esi]
push esi
scasb al, byte es:[edi]
cmp eax, 0x3b475877
and dword [edi + eax*8], ecx
sub dword [esi - 0x3115c0eb], esp
fdiv qword [ebx - 0x47]
xor esp, ebx
sub dword [eax + 0x7c092b3a], edi
sbb byte [eax - 0x7a], ch
or bh, byte [ecx - 0x41]
add ch, al
invalid
lds ecx, [edi - 0x14a4b46b]
adc byte [ecx + 0x18], dl
mov fs, ebx
or al, 0x35
pop esi
fdiv dword [edi + ebp*2 - 0x482143fd]
cmp al, cl
fld qword [eax + 0x18]
cmp al, 0xd6
push esp
clc
je 0x449bb3
push cs
dec esi
inc edi
rcl byte [0x85762362], cl
inc esi
or ch, byte [ecx - 0x53]
mov edi, 0x689864b8
fld dword [esi]
cmp byte [ebx], al
shr byte [edi + 0x51e448], cl
lodsd eax, dword [esi]
cld
cmp al, 0x25
cmpsb byte [esi], byte es:[edi]
sub dl, dh
jmp 0x449bd6
bnd jmp 0x449bd6

Function at 0x5253e6
Capabilities:
Encode data using xor

Disassembly:
pop es
dec ebp
mov bl, 0x33
mov es, word [edx]
hlt
jno 0x5253d8
sbb cl, cl
jb 0x5253e1
out dx, al
arpl word [esi + 0x45], dx
push esi
inc ebp
xor ch, byte [ebx]
inc eax
sbb esp, dword [esi - 0x58]

Function at 0x56e7de
Capabilities:
Encode data using xor

Disassembly:
cmp al, 0x43
in eax, 0xd4
invalid
pop esi
not dword [ebx + 0x23]
invalid
jae 0x56e854
and al, 0xa6
jae 0x56e85d
jge 0x56e783
invalid
Function at 0x402a64
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404170
test esi, esi
jne 0x402a9a
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00404260
jmp 0x402ab8
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402978
mov edi, eax
test esi, esi
je 0x402ab8
cmp dword [ebx], 0
je 0x402ab8
dec esi
jmp 0x402aa1
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x402d94
Capabilities:
Generate random numbers using the delphi lcg

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

Function at 0x40321c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x48c024]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4032b4
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403294
xor eax, eax
push ebp
push 0x40328d
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 0x4032d0
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 0x403294
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x48c024]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x48c024], ax
mov esp, ebp
pop ebp
ret

Function at 0x403f70
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x48e048], 0
je 0x403fd1
cmp word [0x48e21c], 0xd7b2
jne 0x403f99
cmp dword [0x48e224], 0
jbe 0x403f99
mov eax, 0x48e218
call dword [0x48e234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x48c070
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 0x403ff8
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x48c034], 0
jne 0x403fed
push 0
push 0x48c068
push 0x48c070
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x404124
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.00402704
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x48e049], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x4040ec
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc