joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40889b
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [section..data]
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 0x4088e6
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.00408ab8
test al, al
jne 0x4088e0
sub edx, 2
cmp edx, edi
jne 0x4088c6
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x408908
lea eax, [edi + 2]
cmp edx, eax
je 0x408908
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.004087e7
add esp, 0x10
jmp 0x408a02
push esi
lea ecx, [ebp - 0x255]
call fcn.00408ab8
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 0x40894b
push dword [ebp - 0x25c]
jmp 0x4088f8
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 0x408988
cmp word [ebp - 0x226], 0
je 0x4089a9
cmp word [ebp - 0x226], ax
jne 0x408988
cmp word [ebp - 0x224], 0
je 0x4089a9
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.004087e7
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x4089f5
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x408962
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x4089dd
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x408a02
push 0x408617
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.0040cf50
add esp, 0x10
jmp 0x4089d2
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.00401754
leave
ret

Function at 0x40a88a
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41222c
push 0x412224
push 0x410c14
push 0x1f
call fcn.0040a7c5
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40a8be
push dword [ebp + 8]
mov ecx, esi
call dword [0x410150]
call esi
jmp 0x40a8c4
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x40a908
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41223c
push 0x412234
push 0x410c38
push 0x21
call fcn.0040a7c5
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40a93f
push dword [ebp + 8]
mov ecx, esi
call dword [0x410150]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x40a947
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x412244
push 0x41223c
push 0x410c4c
push 0x22
call fcn.0040a7c5
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40a981
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x410150]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]

Function at 0x40c68d
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
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 + 0x418160]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x40c6cd
cmp byte [ebx], 0xa
jne 0x40c6cd
or byte [edi + eax + 0x28], 4
jmp 0x40c6d2
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
mov dword [ebp - 8], eax
cmp ebx, ecx
jae 0x40c7d1
mov dl, byte [eax]
cmp dl, 0x1a
je 0x40c7b4
inc eax
cmp dl, 0xd
je 0x40c6fe
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x40c724
cmp eax, ecx
jae 0x40c732
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add dword [ebp - 8], eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
inc edx
add esi, edx
cmp eax, ecx
jb 0x40c6e6
jmp 0x40c7d1
push 0
lea eax, [ebp - 0x10]
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 0x40c7af
cmp dword [ebp - 0x10], 0
je 0x40c7af
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x418160]
test byte [eax + edi + 0x28], 0x48
je 0x40c789
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x40c774
mov byte [esi], dl
jmp 0x40c785
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x418160]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x40c7d1
cmp byte [ebp - 1], 0xa
jne 0x40c798
cmp esi, ebx
jne 0x40c798
mov byte [esi], 0xa
jmp 0x40c7d0
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0040c486
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x40c7d1
mov byte [esi], 0xd
jmp 0x40c7d0
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x418160]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x40c7ce
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x40c7d1
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x40c7da
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x418160]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x40c820
cmp word [ebx], dx
jne 0x40c820
or byte [eax + edi + 0x28], 4
jmp 0x40c825
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x40c988
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x40c968
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x40c866
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x40c89c
cmp eax, edx
jae 0x40c8aa
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
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 - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x40c841
jmp 0x40c988
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x40c963
cmp dword [ebp - 0x18], 0
je 0x40c963
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x418160]
test byte [eax + edi + 0x28], 0x48
je 0x40c939
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x40c8fd
mov word [esi], cx
jmp 0x40c934
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x418160]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x418160]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x418160]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x40c988
pop eax
cmp word [ebp - 4], ax
jne 0x40c949
cmp esi, ebx
jne 0x40c949
mov word [esi], ax
jmp 0x40c985
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0040c486
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x40c988
push 0xd
pop eax
jmp 0x40c944
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x418160]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x40c982
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x40c988
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x40dad5
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]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.0040da51
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x40dc44
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x40dc44
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x40dbf9
jg 0x40db31
test eax, eax
je 0x40dbef
push 1
push 0x1000
call fcn.004085ba
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x40db54
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x40dbe6
push 0x8000
push ebx
call fcn.00405797
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x40db7d
jg 0x40db78
cmp ecx, 0x1000
jb 0x40db7d
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.00407ee2
add esp, 0x10
cmp eax, 0xffffffff
je 0x40dbc2
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 0x40db78
jl 0x40dba9
test ecx, ecx
jne 0x40db6a
push dword [ebp - 0xc]
push ebx
call fcn.00405797
push esi
call fcn.00406a7a
add esp, 0xc
xor ebx, ebx
jmp 0x40dc52
cmp byte [edi + 0x24], 0
je 0x40dbd9
cmp dword [edi + 0x20], 5
jne 0x40dbd9
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x40dbe4
mov ebx, dword [edi + 0x18]
jmp 0x40dbe6
xor ebx, ebx
push esi
call fcn.00406a7a
pop ecx
jmp 0x40dc52
test ecx, ecx
jg 0x40dbbb
jl 0x40dbf9
test eax, eax
jae 0x40dbbb
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0040c486
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x40dc19
cmp byte [edi + 0x1c], 0
je 0x40dbbb
jmp 0x40dc4a
push ebx
call fcn.00409add
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x40dbbb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x40dc52
cmp byte [edi + 0x1c], 0
je 0x40dc4f
mov ebx, dword [edi + 0x18]
jmp 0x40dc52
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.0040c486
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40fc70
Capabilities:
Parse pe header

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

Disassembly:
pushal
nop
nop
call 0x43300c
nop
pop eax
nop
nop
nop
nop
nop
add eax, reloc.kernel32.dll_LocalFree
sub eax, 0x40a009
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x433030
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404399

Function at 0x409607
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.00404f19
and dword [ebp - 4], 0
cmp dword [str._W], 0
mov ebx, eax
jne 0x4096b8
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x409769
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x409769
push eax
call fcn.00404ea7
mov dword [esp], str.GetActiveWindow
push edi
mov dword [str._W], eax
call esi
push eax
call fcn.00404ea7
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x412994], eax
call esi
push eax
call fcn.00404ea7
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x412998], eax
call esi
push eax
call fcn.00404ea7
pop ecx
mov dword [0x4129a0], eax
test eax, eax
je 0x4096b8
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404ea7
pop ecx
mov dword [0x41299c], eax
mov eax, dword [0x41299c]
cmp eax, ebx
je 0x409710
cmp dword [0x4129a0], ebx
je 0x409710
push eax
call fcn.00404f22
push dword [0x4129a0]
mov esi, eax
call fcn.00404f22
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x409710
test edi, edi
je 0x409710
call esi
test eax, eax
je 0x409707
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x409707
test byte [ebp - 0xc], 1
jne 0x409710
or dword [ebp + 0x10], 0x200000
jmp 0x409749
mov eax, dword [0x412994]
cmp eax, ebx
je 0x409749
push eax
call fcn.00404f22
pop ecx
test eax, eax
je 0x409749
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x409749
mov eax, dword [0x412998]
cmp eax, ebx
je 0x409749
push eax
call fcn.00404f22
pop ecx
test eax, eax
je 0x409749
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [str._W]
call fcn.00404f22
pop ecx
test eax, eax
je 0x409769
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40976b
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40d673
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x40d6a4
call fcn.00403763
mov dword [eax], esi
call fcn.00403750
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.004036e8
add esp, 0x14
push 0x16
pop eax
jmp 0x40d6f9
test dword [ebp + 0xc], 0xfffffff9
jne 0x40d680
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x40d6d1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00403776
pop ecx
call fcn.00403750
mov eax, dword [eax]
jmp 0x40d6f9
test al, 0x10
jne 0x40d6f7
test al, 1
je 0x40d6f7
test byte [ebp + 0xc], 2
je 0x40d6f7
call fcn.00403763
mov dword [eax], 5
call fcn.00403750
mov dword [eax], 0xd
jmp 0x40d6c8
xor eax, eax
pop esi
pop ebp
ret
Function at 0x467e00
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x46000]
push edi
or ebp, 0xffffffff
jmp 0x467e22
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x467e29
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x467e18
mov eax, 1
add ebx, ebx
jne 0x467e3b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x467e4c
jne 0x467e6b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x467e6b
dec eax
add ebx, ebx
jne 0x467e58
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x467e30
add ebx, ebx
jne 0x467e67
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x467ebd
xor ecx, ecx
sub eax, 3
jb 0x467e83
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x467ef2
sar eax, 1
mov ebp, eax
jmp 0x467e8e
add ebx, ebx
jne 0x467e8e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x467e5c
inc ecx
add ebx, ebx
jne 0x467e9c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x467e5c
add ebx, ebx
jne 0x467ea9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x467e9e
jne 0x467eba
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x467e9e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x467edc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x467ece
jmp 0x467e1e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x467edc
add edi, ecx
jmp 0x467e1e
pop esi
mov edi, esi
mov ecx, 0x1c8e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x467efa
cmp byte [edi], 9
jne 0x467efa
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 0x467eff
lea edi, [esi + 0x64000]
mov eax, dword [edi]
or eax, eax
je 0x467f77
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x6aa48]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x6ab24]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x467f2c
mov ecx, edi
jns 0x467f5b
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 + 0x6ab28]
or eax, eax
je 0x467f71
mov dword [ebx], eax
add ebx, 4
jmp 0x467f49
call dword [esi + 0x6ab38]
mov ebp, dword [esi + 0x6ab2c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x467fab
sub esp, 0xffffff80
jmp 0x418874
Function at 0x1004c83
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
push 4
pop eax
call fcn.01002df0
mov ebx, esp
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x1004ce9
mov edi, dword [ebp - 0x1c]
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [0x10062b8]
mov esi, dword [ebp - 0x40]
mov ecx, eax
dec ecx
neg ecx
sbb ecx, ecx
lea edx, [esi - 1]
and ecx, 0x103
not edx
and edx, ebx
inc ecx
sub edx, esi
dec eax
neg eax
sbb eax, eax
and eax, 0xfffffff1
add eax, 0x11
imul eax, esi
add eax, edi
cmp edx, eax
jae 0x1004ced
xor eax, eax
jmp 0x1004cfa
lea eax, [ebp - 4]
push eax
push ecx
push esi
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x50]
pop edi
pop esi
pop ebx
leave
ret

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, 0x39840866
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43304e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x433024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
mov ecx, 0x33420e26
nop
test eax, eax
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43306c
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x414de6
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
xor dword [eax], edi
mov ebx, esi
add eax, 4
or ebx, ebx
sub ebx, edx
dec esi
cmp eax, ecx
jne fcn.00414de6
sub ebx, 0x37a62944
ret

Function at 0x414de4
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
xor dword [edx], ebx
sub edi, 0x6205484e
add edx, 4
dec eax
cmp edx, ecx
jne fcn.00414de4
add edi, eax
ret
Function at 0x100061d5
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
sub esp, 0x14
push ebx
push esi
push edi
push dword [0x100151dc]
xor edi, edi
mov ebx, ecx
and dword [eax], edi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, dword [ebp + 0xc]
test dword [eax + 0x44], 0x1000000
je 0x1000621b
mov edx, 0x10003080
xor ecx, ecx
mov eax, dword [esi + ecx*4]
cmp eax, dword [edx + ecx*4]
jne 0x1000621b
inc ecx
cmp ecx, 4
jne 0x10006208
mov esi, 0x10003090
mov ecx, esi
mov dword [ebp - 8], esi
call fcn.10007a9a
mov dword [ebp - 0xc], eax
shr eax, 0x10
mov dword [ebp - 0x10], eax
test ax, ax
je 0x10006249
push esi
mov ecx, ebx
call fcn.10005dac
test eax, eax
jne 0x10006249
mov eax, 0x8007000e
jmp 0x10006341
mov esi, dword [0x100156d0]
mov ecx, esi
push 1
push 0x24
push dword [ebp + 8]
call dword [0x10016308]
call esi
mov edx, dword [eax + 0x1c]
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x14], ecx
test dl, 2
je 0x10006273
mov eax, dword [eax]
test dl, 0x10
je 0x10006290
cmp dword [ebp - 0xc], edi
jne 0x10006290
mov esi, dword [ebp + 8]
push esi
call fcn.10006348
mov eax, dword [ebp + 0x10]
mov dword [eax], esi
jmp 0x1000632e
mov esi, dword [eax]
lea ecx, [ebp - 4]
push ecx
push dword [ebp - 8]
mov ecx, dword [esi]
push eax
call dword [0x10016308]
call dword [esi]
mov edi, eax
test edi, edi
js 0x1000632e
cmp dword [ebp - 4], 0
je 0x10006329
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x100062cb
mov al, byte [ecx + 4]
and al, 2
movzx eax, al
neg eax
sbb eax, eax
not eax
and ecx, eax
lea eax, [ebp - 0x14]
mov dword [ebx + 8], 2
push eax
push dword [ebp - 0xc]
push ecx
push dword [ebp - 4]
mov ecx, ebx
push 0
call fcn.10020e6e
test eax, eax
je 0x1000630b
test byte [ebp - 0x14], 3
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
je 0x10006310
cmp word [ebp - 0x10], 0
je 0x10006310
push eax
mov ecx, ebx
call fcn.100063c3
mov edi, 0x80004002
jmp 0x10006310
mov edi, 0x8007000e
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x10016308]
call esi
and dword [ebx + 8], 0
jmp 0x1000632e
mov edi, 0x80004002
cmp word [ebp - 0x10], 0
je 0x1000633f
push dword [ebp + 0xc]
mov ecx, ebx
call fcn.10005dda
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 0xc