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

Disassembly:
push ebp
mov ebp, esp
push ebx
lea ebx, [ebp - 0x244]
sub esp, 0x254
mov dword [esp + 4], 0x104
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push edx
push edx
lea edx, [eax - 1]
cmp edx, 0x103
ja 0x408d8f
xor edx, edx
cmp word [ebp + eax*2 - 0x246], 0x5c
sete dl
jmp 0x408d96
xor eax, eax
mov edx, 1
mov ecx, dword [ebp + 8]
add edx, edx
add eax, eax
add edx, 0x40c6a8
add eax, ebx
mov dword [esp + 4], str._s_S.dll
mov dword [esp + 8], edx
mov dword [esp], eax
mov dword [esp + 0xc], ecx
call dword [sym.imp.USER32.dll_wsprintfW]
mov dword [esp], ebx
mov dword [esp + 8], 8
mov dword [esp + 4], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
sub esp, 0xc
mov ebx, dword [ebp - 4]
leave
ret 4

Function at 0x408f64
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x43a424], 0
push ebp
mov ebp, esp
push esi
push ebx
mov edx, dword [ebp + 0xc]
jne 0x408fa1
xor ecx, ecx
mov eax, ecx
mov ebx, 8
mov esi, eax
and eax, 1
neg eax
shr esi, 1
and eax, 0xedb88320
xor eax, esi
dec ebx
jne 0x408f7e
mov dword [ecx*4 + 0x43a420], eax
inc ecx
cmp ecx, 0x100
jne 0x408f77
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
not eax
add ebx, edx
cmp edx, ebx
je 0x408fc4
inc edx
mov cl, byte [edx - 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x43a420]
jmp 0x408fab
pop ebx
not eax
pop esi
pop ebp
ret 0xc

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

Disassembly:
pushal
nop
nop
nop
mov eax, section..rdata
mov ebx, 0x40de38
nop
mov ecx, 0x4027370e
nop
nop
nop
nop
test eax, eax
nop
je 0x43304e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x433024
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x70863ccb
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x4e8790
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x9c000]
push edi
or ebp, 0xffffffff
jmp 0x4e87b2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4e87b9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4e87a8
mov eax, 1
add ebx, ebx
jne 0x4e87cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4e87dc
jne 0x4e87fb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4e87fb
dec eax
add ebx, ebx
jne 0x4e87e8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4e87c0
add ebx, ebx
jne 0x4e87f7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4e884d
xor ecx, ecx
sub eax, 3
jb 0x4e8813
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4e8882
sar eax, 1
mov ebp, eax
jmp 0x4e881e
add ebx, ebx
jne 0x4e881e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4e87ec
inc ecx
add ebx, ebx
jne 0x4e882c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4e87ec
add ebx, ebx
jne 0x4e8839
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4e882e
jne 0x4e884a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4e882e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4e886c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4e885e
jmp 0x4e87ae
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4e886c
add edi, ecx
jmp 0x4e87ae
pop esi
mov edi, esi
mov ecx, 0x2f5b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4e888a
cmp byte [edi], 0x22
jne 0x4e888a
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 0x4e888f
lea edi, [esi + 0xe5000]
mov eax, dword [edi]
or eax, eax
je 0x4e8907
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x10bf40]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x10c044]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4e88bc
mov ecx, edi
jns 0x4e88eb
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 + 0x10c048]
or eax, eax
je 0x4e8901
mov dword [ebx], eax
add ebx, 4
jmp 0x4e88d9
call dword [esi + 0x10c058]
mov ebp, dword [esi + 0x10c04c]
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 0x4e893b
sub esp, 0xffffff80
jmp 0x464e3e
Function at 0x4d2ec4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, ecx
mov word [ebp - 6], dx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004047a0
xor eax, eax
push ebp
push 0x4d2f3c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
mov edx, dword [ebp - 4]
call fcn.00404344
mov eax, dword [ebp - 4]
call fcn.004045b0
mov esi, eax
test esi, esi
jle 0x4d2f26
mov ebx, 1
mov eax, edi
call fcn.00404808
movzx edx, word [ebp - 6]
shr edx, 8
mov ecx, dword [ebp - 4]
xor dl, byte [ecx + ebx - 1]
mov byte [eax + ebx - 1], dl
inc ebx
dec esi
jne 0x4d2f09
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d2f43
lea eax, [ebp - 4]
call fcn.004042f0
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 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 0x508400
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
jmp 0x50841a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x508421
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x508410
mov eax, 1
add ebx, ebx
jne 0x508433
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x508428
jne 0x508444
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x508428
xor ecx, ecx
sub eax, 3
jb 0x508458
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x5084ca
mov ebp, eax
add ebx, ebx
jne 0x508463
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x508470
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x508494
inc ecx
add ebx, ebx
jne 0x508480
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x508475
jne 0x508491
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x508475
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x5084b4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x5084a5
jmp 0x508416
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x5084b4
add edi, ecx
jmp 0x508416
pop esi
mov edi, esi
mov ecx, 0x18
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x5084d2
cmp byte [edi], 1
jne 0x5084d2
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 0x5084d7
lea edi, [esi + 0x6000]
mov eax, dword [edi]
or eax, eax
je 0x50854f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xa678]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xa6f0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x508504
mov ecx, edi
jns 0x508533
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 + 0xa6f8]
or eax, eax
je 0x508549
mov dword [ebx], eax
add ebx, 4
jmp 0x508521
call dword [esi + 0xa6f4]
mov ebp, dword [esi + 0xa6fc]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ff]
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 0x508583
sub esp, 0xffffff80
jmp 0x501cf0

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 0x404400
Capabilities:
Get process image filename

Disassembly:
sub esp, 0x20c
mov eax, dword [0x41301c]
xor eax, esp
mov dword [esp + 0x208], eax
cmp dword [0x4145c4], 0
jne 0x40442c
call fcn.00403fb0
mov dword [0x4145c4], 1
mov eax, dword [esp + 0x210]
push esi
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x4044ea
push 0x206
lea ecx, [esp + 0xa]
push 0
push ecx
mov word [esp + 0x10], 0
call fcn.004045c0
add esp, 0xc
push 0x104
lea edx, [esp + 8]
push edx
push esi
call sub.PSAPI.DLL_GetProcessImageFileNameW
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esp + 4]
push 0x5c
push eax
call fcn.00404d56
add esp, 8
test eax, eax
je 0x4044ea
mov ecx, str.HControl.exe
add eax, 2
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4044c6
test dx, dx
je 0x4044c2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4044c6
add eax, 4
add ecx, 4
test dx, dx
jne 0x4044a0
xor eax, eax
jmp 0x4044cb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4044ea
mov eax, 1
pop esi
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.004045a9
add esp, 0x20c
ret
mov ecx, dword [esp + 0x20c]
pop esi
xor ecx, esp
xor eax, eax
call fcn.004045a9
add esp, 0x20c
ret

Function at 0x404510
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
push esi
lea eax, [esp + 4]
push eax
push 0x20019
push 0
push str.SOFTWAREASUSATK_Package
push 0x80000002
mov esi, 3
mov dword [esp + 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4045a2
lea ecx, [esp + 8]
push ecx
mov ecx, dword [esp + 8]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
push 0
push str.ActiveProcessId
push ecx
mov dword [esp + 0x20], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x404597
push edi
mov edi, dword [esp + 0x10]
cmp edi, 0xffffffff
jne 0x40457d
lea esi, [eax + 2]
jmp 0x40458c
push edi
call fcn.00404400
add esp, 4
test eax, eax
je 0x40458c
xor esi, esi
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x404596
mov dword [eax], edi
pop edi
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10
ret

Function at 0x4045a9
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41301c]
jne 0x4045b3
repz ret
jmp fcn.004053ee

Function at 0x40ad71
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x40adac
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x40ad93
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x40ada4
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x40adae
inc edi
add eax, 0x28
cmp edi, esi
jb 0x40ad89
xor eax, eax
pop edi
pop esi
ret
Function at 0x40b356
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax + 4], ebx
jne 0x40b2d6
cmp dword [eax + 0xc], ebx
je 0x40b379
mov edi, dword [eax + 0xc]
add edi, esi
push edi
call dword [ebp - 0xc0]
mov dword [ebp + 0xc], eax
call fcn.0040ad31
pop ecx
cld
mov cl, 0x59
cmp dword [ebp + 0xc], ebx
jne 0x40b305
push edi
call dword [ebp - 0xb8]
cmp eax, ebx
mov dword [ebp + 0xc], eax
je 0x40b520
invalid
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 0x10]
mov eax, dword [eax]
cmp eax, ebx
lea edi, [ecx + esi]
jne 0x40b319
mov dword [ebp + 0x10], edi
jmp 0x40b31e
add eax, esi
mov dword [ebp + 0x10], eax
call fcn.0040ad31
out 0xe7, eax
loope 0x40b2f7
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
cmp eax, ebx
je 0x40b367
test eax, 0x80000000
lea ecx, [eax + esi]
je 0x40b342
and eax, 0xffff
push eax
jmp 0x40b346
add ecx, 2
push ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040acf6
add esp, 0xc
cmp edi, ebx
mov dword [edi], eax
je 0x40b520
add edi, 4
add dword [ebp + 0x10], 4
jmp 0x40b327
add dword [ebp - 0x44], 0x14
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp - 0x44]
jmp 0x40b2c8
call fcn.0040ad31
rcl byte [edx]
insb byte es:[edi], dx
movsb byte es:[edi], byte [esi]
mov eax, dword [edi + 0xa0]
cmp eax, ebx
je 0x40b3e5
add eax, esi
cmp dword [eax], ebx
je 0x40b3e5
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x40b3e0
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x40b3ca
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x40b3d2
cmp edx, ebx
jne 0x40b520
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x40b3a1
add eax, dword [eax + 4]
jmp 0x40b38e
mov dword [ebp + 0xc], ebx
jmp 0x40b3f0
Function at 0x40b450
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x40b408
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x40b426
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x40b484
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x40b46b
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x40b474
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x40b47e
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x40b460
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x40b3ea
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x40b4d1
dec eax
je 0x40b4c8
sub eax, 3
je 0x40b4bf
mov dword [ebp - 4], 0x40
jmp 0x40b4ee
mov dword [ebp - 4], 4
jmp 0x40b4d4
mov dword [ebp - 4], 0x20
jmp 0x40b4d4
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x40b520
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x40b4a0
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.0040ad31
jl 0x40b4b1
and ax, 0x75ff
adc al, 0x6a
add dword [esi - 1], edx
xlatb
mov eax, esi
jmp 0x40b52c
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40b8b9
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add esp, 0xc
mov dword [ebp - 0x67c], eax
and byte [ebp - 0x524], 0
and byte [ebp - 0x523], 0
mov byte [ebp - 0x522], 0x15
and byte [ebp - 0x521], 0
mov byte [ebp - 0x520], 0xa2
mov byte [ebp - 0x51f], 0x8f
mov byte [ebp - 0x51e], 0x8b
mov byte [ebp - 0x51d], 0x9a
mov byte [ebp - 0x51c], 0xac
mov byte [ebp - 0x51b], 0x98
mov byte [ebp - 0x51a], 0x8f
mov byte [ebp - 0x519], 0x8f
mov byte [ebp - 0x518], 0xea
lea eax, [ebp - 0x524]
push eax
call fcn.0040ad41
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0040acf6
add esp, 0xc
mov dword [ebp - 0x39c], eax
call fcn.0040ad31
insd dword es:[edi], dx
jno 0x40b9a4
lea eax, [eax - 0x5135b]
inc dword [eax]
and byte [ebp - 0x513], 0
mov byte [ebp - 0x512], 0xe3
and byte [ebp - 0x511], 0
mov byte [ebp - 0x510], 0x5b
mov byte [ebp - 0x50f], 0x79
mov byte [ebp - 0x50e], 0x68
mov byte [ebp - 0x50d], 0x5a
mov byte [ebp - 0x50c], 0x75
mov byte [ebp - 0x50b], 0x70
mov byte [ebp - 0x50a], 0x79
mov byte [ebp - 0x509], 0x4f
mov byte [ebp - 0x508], 0x75
mov byte [ebp - 0x507], 0x66
mov byte [ebp - 0x506], 0x79
mov byte [ebp - 0x505], 0x1c
lea eax, [ebp - 0x514]
push eax
call fcn.0040ad41
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0040acf6
add esp, 0xc
mov dword [ebp - 0x33c], eax
call fcn.0040ad31
invalid
test ecx, edi
cli
invalid

Function at 0x40bbf6
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x22f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x12c], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x12b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x654], 0
push 0x40
pop ecx
xor eax, eax
invalid
invalid
lodsd eax, dword [esi]

Function at 0x40c195
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc dword [eax]
and byte [ebp - 0x72b], 0
mov byte [ebp - 0x72a], 0xc2
and byte [ebp - 0x729], 0
mov byte [ebp - 0x728], 0x6b
mov byte [ebp - 0x727], 0x54
mov byte [ebp - 0x726], 0x4f
mov byte [ebp - 0x725], 0x49
mov byte [ebp - 0x724], 0x48
mov byte [ebp - 0x723], 0x5c
mov byte [ebp - 0x722], 0x51
mov byte [ebp - 0x721], 0x6d
mov byte [ebp - 0x720], 0x4f
mov byte [ebp - 0x71f], 0x52
mov byte [ebp - 0x71e], 0x49
mov byte [ebp - 0x71d], 0x58
mov byte [ebp - 0x71c], 0x5e
mov byte [ebp - 0x71b], 0x49
mov byte [ebp - 0x71a], 0x3d
call fcn.0040ad31
pop edi
rol dword [edi], 0x83
lea eax, [ebp - 0x72c]
push eax
call fcn.0040ad41
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
invalid
invalid
invalid
Function at 0x405100
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
cmp dword [0x54e4cc], 0
mov al, cl
push ebx
push esi
push edi
mov byte [esp + 0xf], al
jne 0x40512d
test al, al
je 0x40534b
push 0
push str.General_I_O_error_during_saving__Is_the_file_in_use_
jmp 0x40533c
mov edi, dword [0x789c40]
mov ebx, dword [0x789c44]
push 0x4ddaa0
push dword [0x54e4d0]
call fcn.004891f7
mov esi, eax
add esp, 8
test esi, esi
je 0x405194
push esi
test ebx, ebx
je 0x40515f
push ebx
call fcn.004892cb
jmp 0x405166
push 0x20
call fcn.00488db7
add esp, 8
push esi
push 0xa
call fcn.00488db7
add esp, 8
push esi
test edi, edi
je 0x405181
push edi
call fcn.004892cb
jmp 0x405188
push 0x20
call fcn.00488db7
add esp, 8
push esi
call fcn.00488f38
add esp, 4
cmp byte [0x552470], 0
je 0x405212
cmp dword [0x50aec0], 0
je 0x405212
cmp byte [0x50add6], 0
je 0x405212
cmp dword [0x50aec0], 0
je 0x405212
mov ecx, dword [0x50aec0]
call fcn.0047b3f0
test eax, eax
je 0x405212
mov ecx, dword [0x552474]
call fcn.0041f770
mov esi, eax
test esi, esi
je 0x405212
push 0x4ddaa0
push dword [0x54e4d4]
call fcn.004891f7
mov edi, eax
add esp, 8
test edi, edi
jne 0x4051f9
push esi
call fcn.00488d73
jmp 0x40520f
push edi
push esi
call fcn.004892cb
push esi
call fcn.00488d73
add esp, 0xc
push edi
call fcn.00488f38
add esp, 4
push 0x4ddc1c
push dword [0x54e4cc]
call fcn.004891f7
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x40532e
mov ecx, 0x55273c
call fcn.00404420
mov ecx, 0x5525a1
mov dword [0x55285b], eax
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x405246
sub ecx, edx
mov byte [0x5525a0], cl
mov ecx, 0x5525f2
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x405260
sub ecx, edx
mov byte [0x5525f1], cl
mov ecx, 0x552643
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x405277
sub ecx, edx
mov byte [0x552642], cl
mov ecx, 0x552694
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x405290
sub ecx, edx
mov byte [0x552693], cl
mov ecx, 0x5526e5
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4052a7
movups xmm0, xmmword [0x4ec720]
sub ecx, edx
mov esi, 0x5524c0
mov byte [0x5526e4], cl
mov edi, 0x4f60a0
movups xmmword [0x552510], xmm0
mov ecx, 0x1b2
movups xmm0, xmmword [0x4ec730]
movups xmmword [0x552520], xmm0
movups xmm0, xmmword [0x4ec740]
movups xmmword [0x552530], xmm0
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
mov al, cl
shl al, 3
sub al, cl
xor byte [ecx + 0x4f60a0], al
inc ecx
cmp ecx, 0x6c8
jl 0x4052f3
push ebx
push 0x6c8
push 1
push 0x4f60a0
call fcn.0048a02c
push ebx
mov esi, eax
call fcn.00488f38
add esp, 0x14
cmp esi, 0x6c8
je 0x405354
cmp byte [esp + 0xf], 0
je 0x40534b
push 0
push str.General_I_O_error_during_config_saving__Is_the_file_in_use_
push str.System_message
push 0
call fcn.00440fc0
add esp, 0x10
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x409b00
Capabilities:
Check if file exists

Disassembly:
push edi
test ecx, ecx
je 0x409b2b
call fcn.00445e00
mov edi, eax
test edi, edi
je 0x409b2b
push esi
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push edi
mov esi, eax
call fcn.00488d73
add esp, 4
test esi, esi
setne al
pop esi
pop edi
ret
xor al, al
pop edi
ret

Function at 0x409b30
Capabilities:
Get disk information

Disassembly:
mov eax, dword [0x54e3ac]
mov edx, 0x6f
mov ecx, dword [0x54e3c0]
add eax, 0x12078
nop word [eax + eax]
mov dword [eax], ecx
lea eax, [eax + 0x9e0]
mov dword [eax - 0x9dc], ecx
mov dword [eax - 0x9d8], ecx
mov dword [eax - 0x9d4], ecx
mov dword [eax - 0x9d0], ecx
mov dword [eax - 0x9cc], ecx
mov dword [eax - 0x9c8], ecx
mov dword [eax - 0x9c4], ecx
mov dword [eax - 0x9c0], ecx
mov dword [eax - 0x9bc], ecx
mov dword [eax - 0x9b8], ecx
mov dword [eax - 0x9b4], ecx
mov dword [eax - 0x9b0], ecx
mov dword [eax - 0x9ac], ecx
mov dword [eax - 0x9a8], ecx
mov dword [eax - 0x9a4], ecx
mov dword [eax - 0x9a0], ecx
mov dword [eax - 0x99c], ecx
mov dword [eax - 0x998], ecx
mov dword [eax - 0x994], ecx
mov dword [eax - 0x990], ecx
mov dword [eax - 0x98c], ecx
mov dword [eax - 0x988], ecx
mov dword [eax - 0x984], ecx
mov dword [eax - 0x980], ecx
mov dword [eax - 0x97c], ecx
mov dword [eax - 0x978], ecx
mov dword [eax - 0x974], ecx
mov dword [eax - 0x970], ecx
mov dword [eax - 0x96c], ecx
mov dword [eax - 0x968], ecx
sub edx, 1
jne 0x409b50
push esi
push edi
mov dword [0x4f6094], edx
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esi, dword [0x4f6094]
xor edx, edx
mov ecx, 1
test eax, ecx
je 0x409c41
mov dword [esi*4 + 0x4f6790], edx
inc esi
cmp esi, 8
je 0x409c49
inc edx
rol ecx, 1
cmp edx, 0x20
jb 0x409c30
mov dword [0x4f6094], esi
xor ecx, ecx
lea eax, [ecx + 0xfe]
inc ecx
movzx eax, ax
lea eax, [eax + eax*4]
mov byte [eax*8 + 0x4e8f1c], 0
mov byte [eax*8 + 0x4e8f1e], 0
cmp cx, 8
jb 0x409c51
xor edi, edi
test esi, esi
je 0x409cc8
xor edx, edx
nop dword [eax]
mov eax, dword [edx*4 + 0x4f6790]
lea ecx, [eax*2 + 0x4eca98]
add ecx, eax
lea eax, [edx + edx*4]
mov dword [eax*8 + 0x4eb6bc], ecx
lea eax, [edi + 0xfe]
movzx eax, ax
lea eax, [eax + eax*4]
lea ecx, [eax*8 + 0x4e8f00]
mov byte [eax*8 + 0x4e8f1e], 1
cmp byte [ecx + 0x1e], 0
je 0x409cc0
call fcn.0042d9a0
inc edi
movzx edx, di
cmp edx, esi
jb 0x409c80
pop edi
pop esi
ret