joyce8/EMBER2024-capa huggingface dataset:
Function at 0x656238
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x638
lea eax, [ebp - 0x220]
push esi
xor esi, esi
push esi
push 0x25
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x656272
mov ecx, esi
movzx eax, word [ecx + 0x74b71c]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x222], ax
test ax, ax
jne 0x65625b
push 0x14
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.004715ac
test al, al
jne 0x6562a1
mov ecx, esi
movzx eax, word [ecx + 0x74b71c]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x222], ax
test ax, ax
jne 0x65628a
mov ecx, 0x105
lea eax, [ebp - 0x42c]
push ecx
push eax
push esi
push esi
lea eax, [ebp - 4]
push eax
push ecx
lea eax, [ebp - 0x638]
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.DLL_GetVolumeInformationW]
neg eax
pop esi
sbb eax, eax
and eax, dword [ebp - 4]
leave
ret

Function at 0x66c2c5
Capabilities:
Terminate process

Disassembly:
push 0x14
push 0x790790
call fcn.0066cb60
push 1
call fcn.0066bb8e
pop ecx
test al, al
je 0x66c2af
xor bl, bl
mov byte [ebp - 0x19], bl
and dword [ebp - 4], 0
call fcn.0066bb5c
mov byte [ebp - 0x24], al
mov eax, dword [0x7fd1c8]
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x66c2af
test eax, eax
jne 0x66c1d3
mov dword [0x7fd1c8], ecx
push 0x6d6b4c
push 0x6d6b20
call fcn.0068bfe9
pop ecx
pop ecx
test eax, eax
je 0x66c1b6
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x66c29f
push 0x6d6b1c
push 0x6d5b70
call fcn.0068bf8d
pop ecx
pop ecx
mov dword [0x7fd1c8], 2
jmp 0x66c1d8
mov bl, cl
mov byte [ebp - 0x19], bl
push dword [ebp - 0x24]
call fcn.0066bce2
pop ecx
call fcn.0066cec2
mov esi, eax
xor edi, edi
cmp dword [esi], edi
je 0x66c209
push esi
call fcn.0066bc4e
pop ecx
test al, al
je 0x66c209
mov esi, dword [esi]
push edi
push 2
push edi
mov ecx, esi
call dword [0x6d5b6c]
call esi
call fcn.0066cec8
mov esi, eax
cmp dword [esi], edi
je 0x66c227
push esi
call fcn.0066bc4e
pop ecx
test al, al
je 0x66c227
push dword [esi]
call fcn.0067e59d
pop ecx
call fcn.0066cceb
movzx esi, ax
call fcn.0068bf3a
push esi
push eax
push edi
push 0x400000
call main
mov esi, eax
call fcn.0066cd21
test al, al
je 0x66c2b6
test bl, bl
jne 0x66c255
call fcn.0067e578
push edi
push 1
call fcn.0066bcff
pop ecx
pop ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x66c29f
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
push 7
call fcn.0066cbd0
push esi
call fcn.0067e5d5
push dword [ebp - 0x20]
call fcn.0067e587
int3
call fcn.0066ce1b
jmp 0x66c149

Function at 0x68fc2e
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0068f8f1

Function at 0x68fc39
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0068fa72

Function at 0x69726b
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00696bd9

Function at 0x697276
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00696e14
Function at 0x6a548e
Capabilities:
Encode data using base64

Disassembly:
mov eax, 0x6b58fa
call fcn.0066bd6c
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 0x10]
test esi, esi
jne 0x6a54c5
call fcn.006a543f
mov esi, dword [ebp + 8]
xor ebx, ebx
push eax
mov ecx, esi
mov dword [esi], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
call fcn.00410204
mov eax, esi
jmp 0x6a568e
push edi
push 3
mov eax, esi
mov dword [ebp - 0x18], 0xf
xor edx, edx
xor ebx, ebx
pop edi
div edi
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
xor edx, edx
mov dword [ebp - 4], ebx
lea eax, [esi + 2]
div edi
mov eax, esi
lea ecx, [ebp - 0x2c]
sub eax, edx
xor edx, edx
add eax, 2
div edi
shl eax, 2
push eax
call fcn.004255f4
mov ecx, dword [ebp - 0x14]
xor edx, edx
sub esi, ecx
mov eax, esi
mov esi, dword [ebp + 0xc]
div edi
mov edi, eax
test edi, edi
je 0x6a5598
movzx ecx, byte [esi]
shr ecx, 2
movzx eax, byte [ecx + 0x75aa60]
lea ecx, [ebp - 0x2c]
push eax
call fcn.00423835
mov cl, byte [esi]
mov al, byte [esi + 1]
and cl, 3
shr al, 4
shl cl, 4
add cl, al
movzx eax, cl
lea ecx, [ebp - 0x2c]
movzx eax, byte [eax + 0x75aa60]
push eax
call fcn.00423835
mov cl, byte [esi + 1]
mov al, byte [esi + 2]
and cl, 0xf
shr al, 6
shl cl, 2
add cl, al
movzx eax, cl
lea ecx, [ebp - 0x2c]
movzx eax, byte [eax + 0x75aa60]
push eax
call fcn.00423835
movzx eax, byte [esi + 2]
lea ecx, [ebp - 0x2c]
and eax, 0x3f
movzx eax, byte [eax + 0x75aa60]
push eax
call fcn.00423835
add esi, 3
sub edi, 1
jne 0x6a5519
mov ecx, dword [ebp - 0x14]
pop edi
test ecx, ecx
je 0x6a564a
mov byte [ebp - 0x10], bl
mov al, bl
mov byte [ebp + 0xf], al
mov byte [ebp - 0xf], al
mov byte [ebp + 0x13], al
mov byte [ebp - 0xe], al
test cl, cl
je 0x6a55d6
movzx eax, cl
push eax
lea eax, [ebp - 0x10]
push esi
push eax
call fcn.0066d9b0
mov al, byte [ebp - 0xe]
add esp, 0xc
mov bl, byte [ebp - 0x10]
mov byte [ebp + 0x13], al
mov al, byte [ebp - 0xf]
mov byte [ebp + 0xf], al
movzx eax, bl
lea ecx, [ebp - 0x2c]
shr eax, 2
movzx eax, byte [eax + 0x75aa60]
push eax
call fcn.00423835
mov al, byte [ebp + 0xf]
lea ecx, [ebp - 0x2c]
and bl, 3
shr al, 4
shl bl, 4
add bl, al
movzx eax, bl
movzx eax, byte [eax + 0x75aa60]
push eax
call fcn.00423835
cmp dword [ebp - 0x14], 2
jne 0x6a5631
mov al, byte [ebp + 0xf]
mov cl, byte [ebp + 0x13]
and al, 0xf
shl al, 2
shr cl, 6
add al, cl
movzx eax, al
mov al, byte [eax + 0x75aa60]
mov byte [ebp + 0xc], al
jmp 0x6a5635
mov byte [ebp + 0xc], 0x3d
push dword [ebp + 0xc]
lea ecx, [ebp - 0x2c]
call fcn.00423835
push 0x3d
lea ecx, [ebp - 0x2c]
call fcn.00423835
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x2c]
push eax
call fcn.0040feff
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x6a568b
mov ecx, dword [ebp - 0x2c]
inc eax
mov dword [ebp + 0xc], eax
mov dword [ebp + 0x10], ecx
cmp eax, 0x1000
jb 0x6a5682
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 0x10]
push eax
call fcn.0042741e
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push eax
push ecx
call fcn.0066bb0a
pop ecx
pop ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc
Function at 0x6ab984
Capabilities:
Get disk information

Disassembly:
mov eax, 0x6af712
call fcn.0066bd6c
sub esp, 0x230
push ebx
push esi
push 0x41
pop eax
push 0x3a
mov word [ebp - 0x18], ax
xor esi, esi
pop eax
mov word [ebp - 0x16], ax
push 0x5c
pop eax
mov word [ebp - 0x14], ax
xor eax, eax
mov dword [ebp - 4], esi
mov word [ebp - 0x12], ax
call dword [sym.imp.KERNEL32.DLL_GetLogicalDrives]
mov ebx, eax
test ebx, ebx
je 0x6abac4
push edi
mov edi, esi
test bl, 1
je 0x6aba6d
lea eax, [edi + 0x41]
mov word [ebp - 0x18], ax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.DLL_GetDriveTypeW]
cmp eax, 2
jne 0x6aba6d
push 0x104
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.DLL_GetVolumeNameForVolumeMountPointW]
test eax, eax
je 0x6aba6d
lea eax, [ebp - 0x23c]
mov dword [ebp - 0x34], esi
push eax
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], 7
call fcn.00427613
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x34]
call fcn.004368cc
test al, al
jne 0x6aba7b
mov eax, dword [ebp - 0x20]
cmp eax, 8
jb 0x6aba6d
mov ecx, dword [ebp - 0x34]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], ecx
cmp eax, 0x1000
jb 0x6aba64
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0042741e
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
push eax
push ecx
call fcn.0066bb0a
pop ecx
pop ecx
shr ebx, 1
inc edi
cmp edi, 0x1a
jl 0x6ab9c9
jmp 0x6abac3
mov ecx, dword [ebp + 0x20]
mov ax, word [ebp - 0x18]
mov word [ecx], ax
mov eax, dword [ebp - 0x20]
cmp eax, 8
jb 0x6abac0
mov ecx, dword [ebp - 0x34]
lea eax, [eax*2 + 2]
mov dword [ebp + 0x20], eax
mov dword [ebp - 0x10], ecx
cmp eax, 0x1000
jb 0x6abab7
lea eax, [ebp + 0x20]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0042741e
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp - 0x10]
push eax
push ecx
call fcn.0066bb0a
pop ecx
pop ecx
xor esi, esi
inc esi
pop edi
lea ecx, [ebp + 8]
call fcn.0042756c
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x1c

Function at 0x6abec2
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push esi
mov esi, ecx
cmp dword [esi + 0x110], 2
jne 0x6abf43
lea eax, [esi + 0xf0]
cmp dword [eax + 0x14], 8
jb 0x6abee2
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x30]
push str._s:_
push eax
call fcn.004646d1
add esp, 0xc
lea eax, [ebp - 0x30]
cmp dword [ebp - 0x1c], 8
jb 0x6abf00
mov eax, dword [ebp - 0x30]
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x18]
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_GetDiskFreeSpaceExW]
test eax, eax
je 0x6abf2b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov dword [esi + 0x108], eax
mov dword [esi + 0x10c], ecx
jmp 0x6abf39
and dword [esi + 0x108], 0
and dword [esi + 0x10c], 0
lea ecx, [ebp - 0x30]
call fcn.0042756c
jmp 0x6abf51
and dword [esi + 0x108], 0
and dword [esi + 0x10c], 0
pop esi
leave
ret
Function at 0x40adc0
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1014
call fcn.00404730
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], 0
mov eax, dword [0x4170bc]
cmp ebx, eax
jae 0x40adfb
mov eax, ebx
and eax, 0x1f
mov edx, ebx
sar edx, 5
mov edx, dword [edx*4 + 0x4170c0]
test byte [edx + eax*8 + 4], 1
jne 0x40ae0d
mov dword [0x415c84], 9
or eax, 0xffffffff
jmp 0x40af32
push 1
push 0
push ebx
call fcn.00409fd0
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp eax, 0xffffffff
je 0x40ae37
push 2
push 0
push ebx
call fcn.00409fd0
add esp, 0xc
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
jne 0x40ae3f
or eax, 0xffffffff
jmp 0x40af32
mov eax, dword [ebp + 0xc]
mov esi, eax
sub esi, dword [ebp - 8]
test esi, esi
jle 0x40aee4
lea edx, [ebp - 0x1010]
mov ecx, 0x1000
xor eax, eax
push edi
mov edi, edx
rep stosb byte es:[edi], al
pop edi
mov eax, edx
push 0x8000
push ebx
call fcn.0040b330
add esp, 8
mov dword [ebp - 0x10], eax
mov eax, esi
cmp eax, 0x1000
jb 0x40ae8a
mov dword [ebp - 0x1014], 0x1000
jmp 0x40ae92
mov eax, esi
mov dword [ebp - 0x1014], eax
mov eax, dword [ebp - 0x1014]
push eax
lea eax, [ebp - 0x1010]
push eax
push ebx
call fcn.004086d0
add esp, 0xc
mov edi, eax
cmp eax, 0xffffffff
jne 0x40aecb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x40aec5
mov dword [0x415c84], 0xd
or dword [ebp - 4], 0xffffffff
jmp 0x40aed5
mov eax, esi
sub eax, edi
mov esi, eax
test eax, eax
jg 0x40ae75
mov eax, dword [ebp - 0x10]
push eax
push ebx
call fcn.0040b330
add esp, 8
jmp 0x40af20
test esi, esi
jge 0x40af20
push 0
mov eax, dword [ebp + 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
push ebx
call fcn.00408b00
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
setne al
and eax, 1
dec eax
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
jne 0x40af20
mov dword [0x415c84], 0xd
push 0
mov eax, dword [ebp - 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x403d6f
sub eax, 0x403d15
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
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43001e
popal
nop
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
pop eax
nop
nop
add eax, 0x403ac5
nop
nop
sub eax, 0x403a6b
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x42e030
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp loc.00401219
Function at 0x464500
Capabilities:
Encode data using xor

Disassembly:
xchg edx, eax
and dword [ebx - 0x43], edi
lcall 0xb81d, 0xf0817a1b
inc ebp
fist dword [esi + 0x64]
or al, bh
mov bh, 0x91
mov dl, dl
sbb dword [esi - 0x3f393f07], 0x7ae447bf
sub eax, 0x9069beb6
inc ecx
ret
test al, 0xc6
jge 0x4644d5
lodsd eax, dword [esi]
mov bl, 0xba
mov eax, 0xd61bcc64
ror dword [ecx + 1], 0x23
cld
fmul dword [edx + edx*8 - 0x14b0a438]
cmp edx, ecx
aas
xchg byte [edi - 0x43], al
rcr eax, 1
xor dword [edx - 0x31220f55], esi
xor eax, 0x7f9754b
loopne 0x464508
int3
mov ebx, 0xdba6d540
or eax, 0xc3861d00
pop eax
push cs
stosd dword es:[edi], eax
hlt

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 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

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

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..rdata
nop
mov ebx, 0x407ef8
nop
mov ecx, 0x1cf229ae
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x42e024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42cd70
mov ecx, 0x30b75cc0
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x40adc0
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1014
call fcn.00404730
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], 0
mov eax, dword [0x4170bc]
cmp ebx, eax
jae 0x40adfb
mov eax, ebx
and eax, 0x1f
mov edx, ebx
sar edx, 5
mov edx, dword [edx*4 + 0x4170c0]
test byte [edx + eax*8 + 4], 1
jne 0x40ae0d
mov dword [0x415c84], 9
or eax, 0xffffffff
jmp 0x40af32
push 1
push 0
push ebx
call fcn.00409fd0
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp eax, 0xffffffff
je 0x40ae37
push 2
push 0
push ebx
call fcn.00409fd0
add esp, 0xc
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
jne 0x40ae3f
or eax, 0xffffffff
jmp 0x40af32
mov eax, dword [ebp + 0xc]
mov esi, eax
sub esi, dword [ebp - 8]
test esi, esi
jle 0x40aee4
lea edx, [ebp - 0x1010]
mov ecx, 0x1000
xor eax, eax
push edi
mov edi, edx
rep stosb byte es:[edi], al
pop edi
mov eax, edx
push 0x8000
push ebx
call fcn.0040b330
add esp, 8
mov dword [ebp - 0x10], eax
mov eax, esi
cmp eax, 0x1000
jb 0x40ae8a
mov dword [ebp - 0x1014], 0x1000
jmp 0x40ae92
mov eax, esi
mov dword [ebp - 0x1014], eax
mov eax, dword [ebp - 0x1014]
push eax
lea eax, [ebp - 0x1010]
push eax
push ebx
call fcn.004086d0
add esp, 0xc
mov edi, eax
cmp eax, 0xffffffff
jne 0x40aecb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x40aec5
mov dword [0x415c84], 0xd
or dword [ebp - 4], 0xffffffff
jmp 0x40aed5
mov eax, esi
sub eax, edi
mov esi, eax
test eax, eax
jg 0x40ae75
mov eax, dword [ebp - 0x10]
push eax
push ebx
call fcn.0040b330
add esp, 8
jmp 0x40af20
test esi, esi
jge 0x40af20
push 0
mov eax, dword [ebp + 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
push ebx
call fcn.00408b00
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
setne al
and eax, 1
dec eax
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
jne 0x40af20
mov dword [0x415c84], 0xd
push 0
mov eax, dword [ebp - 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x40729f
sub eax, 0x407245
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x432030
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43201e
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x401a09
Capabilities:
Hide graphical window

Disassembly:
mov ecx, 0xfffffffe
jmp fcn.00401641

Function at 0x414ac0
Capabilities:
Encode data using xor

Disassembly:
mov byte [0xf2be0de8], al
mov cl, 0xb9
cmp edi, esi
pushal
sub byte [eax + 0x12e82335], 1
mov dword [edx - 0x4761f643], edx
nop
push ebx
cmpsd dword [esi], dword es:[edi]
push ss
xchg dword [esi + 0x61], ecx
or byte [edx], bh
neg ebx
in al, dx
cwde
mov ch, 0x61
push eax
dec eax
xchg edi, eax
and al, ch
nop
cmpsd dword [esi], dword es:[edi]
sahf
pop ss
xchg dword [edi], ebx
cmp dl, byte [edi]
xchg dword [eax], ecx
fprem
sbb byte [esi + 0x71a90061], dh
sahf
pop ss
mov cl, 0x34
popal
xor al, 0x61
call 0xe8a3427f
js 0x414b00
popal
call 0xe8a34287
js 0x414b19
sahf
pop ss
xchg edi, esi
popal
call 0x17df5393
or byte [esi + 0x61f78717], bl
sahf
pop ss
xchg edi, esi
popal
mul dword [ecx - 0x18]
js 0x414b18
call 0xe8a3429b
mul dword [ecx - 0x18]
popal
call 0xe8a3429f
js 0x414b20
js 0x414b1c
popal
call 0x6ba342a3
xchg esp, eax
repe cmpsb byte [esi], byte es:[edi]
in al, dx
pop esp
sbb ecx, ecx
popal
imul edx, dword [ebx + esi*8 + 0x1b5ceca6], 0xffffffc9
stosb byte es:[edi], al
js 0x414b33
lcall 0x78a9, 0x11f710a7
mov ecx, 0x75a05026
pop ebx
outsb dx, byte [esi]
ret

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 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..rsrc
nop
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x433072
nop
mov ebx, 0x40de38
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
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
pop eax
mov esi, 0x59e71766
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x433060
nop
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4330d2
nop
mov ebx, 0x4304d8
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
div edi
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x35570dfe
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x4330c0
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x432000
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x24c95c35
nop
nop
test eax, eax
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x432024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f314
nop
mov ecx, 0x389f33de
nop
nop
test eax, eax
nop
nop
nop
je 0x432084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219

Function at 0x4659a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x457015
lea edi, [esi - 0x56015]
push edi
or ebp, 0xffffffff
jmp 0x4659c2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4659c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4659b8
mov eax, 1
add ebx, ebx
jne 0x4659db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4659d0
jne 0x4659ec
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4659d0
xor ecx, ecx
sub eax, 3
jb 0x465a00
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x465a72
mov ebp, eax
add ebx, ebx
jne 0x465a0b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x465a18
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x465a3c
inc ecx
add ebx, ebx
jne 0x465a28
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x465a1d
jne 0x465a39
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x465a1d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x465a5c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x465a4d
jmp 0x4659be
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x465a5c
add edi, ecx
jmp 0x4659be
pop esi
mov edi, esi
mov ecx, 0x33e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x465a7a
cmp byte [edi], 0
jne 0x465a7a
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 0x465a7f
lea edi, [esi + 0x63000]
mov eax, dword [edi]
or eax, eax
je 0x465aee
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x651f0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x65254]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x465aac
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x65258]
or eax, eax
je 0x465ae8
mov dword [ebx], eax
add ebx, 4
jmp 0x465ac9
call dword [esi + 0x6525c]
popal
jmp 0x40da18