joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4421a5
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x50
mov eax, dword [0x517490]
xor eax, esp
mov dword [esp + 0x4c], eax
push ebx
push esi
mov esi, dword [esp + 0x60]
mov ebx, ecx
push edi
push esi
mov dword [esp + 0x10], ebx
call fcn.004418fe
mov edi, eax
test edi, edi
je 0x44228c
test esi, esi
jle 0x4421db
mov word [ebx + 0x84], si
mov eax, dword [edi + 0x24]
xor esi, esi
sub eax, dword [edi + 0x20]
push ebp
push 0x18
cdq
pop ecx
idiv ecx
test eax, eax
je 0x442216
mov ecx, dword [edi + 0x20]
mov ebp, dword [esp + 0x64]
add ecx, 4
push 0x18
pop ebx
cmp dword [ecx], ebp
je 0x44220f
mov eax, dword [edi + 0x24]
inc esi
sub eax, dword [edi + 0x20]
add ecx, ebx
cdq
idiv ebx
cmp esi, eax
jb 0x4421fb
mov ebx, dword [esp + 0x10]
push 0x18
pop ecx
and dword [ebx + 0x80], 0
xor eax, eax
and dword [ebx + 0x88], 0
inc eax
mov dword [ebx + 0x70], eax
mov word [ebx + 0x86], ax
mov eax, dword [edi + 0x24]
sub eax, dword [edi + 0x20]
cdq
idiv ecx
cmp esi, eax
jae 0x4422bb
mov eax, dword [edi + 0x20]
imul ecx, esi, 0x18
mov esi, dword [ecx + eax + 0x14]
lea eax, [edi + 0x2c]
push esi
lea ecx, [ebx + 0x70]
mov dword [ebx + 0x8c], 3
mov dword [ebx + 0x7c], eax
call fcn.00441f2b
lea eax, [esi + 1]
mov word [ebx + 0x48], ax
mov ecx, dword [ebx + 0x6c]
push ebx
call fcn.0043fe10
mov ecx, dword [esp + 0x5c]
neg al
pop ebp
pop edi
pop esi
sbb al, al
pop ebx
xor ecx, esp
inc al
call fcn.004b94b6
add esp, 0x50
ret 8
push 8
pop ecx
xor eax, eax
mov dword [esp + 0x10], 0xc
push 9
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
pop ecx
push 0x4f0680
lea eax, [esp + 0x38]
lea esi, [esp + 0x14]
lea edi, [esp + 0x38]
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.004bc767
or dword [ebx + 0x78], 0xffffffff
lea edi, [esp + 0x18]
and dword [ebx + 0x74], 0
lea esi, [esp + 0x14]
and dword [ebx + 0x7c], 0
xor eax, eax
push 8
pop ecx
push 9
mov dword [esp + 0x18], 0xa
rep stosd dword es:[edi], eax
pop ecx
push 0x4f0680
lea eax, [esp + 0x3c]
lea edi, [esp + 0x3c]
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.004bc767
int3
Function at 0x444577
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x1c]
and dword [esp + 8], 0
push ebx
push ebp
xor ebp, ebp
add eax, dword [esp + 0x28]
push esi
push edi
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], eax
mov eax, ebp
xor esi, esi
sar eax, 1
mov dword [esp + 0x10], eax
mov eax, ebp
and eax, 1
xor edi, edi
mov dword [esp + 0x24], eax
mov ebx, eax
lea eax, [esp + 0x10]
push eax
call fcn.00444513
mov eax, dword [esp + 0x20]
pop ecx
sar esi, 8
movzx eax, byte [eax + edi]
movzx ecx, byte [eax + 0x4da8e0]
mov eax, dword [esp + 0x34]
movzx eax, byte [edi + eax]
xor ecx, eax
mov eax, dword [esp + 0x10]
xor eax, 0x1fe00
sar eax, 9
sub ecx, eax
sub ecx, ebx
mov ebx, ecx
movzx eax, bl
shl eax, 0x11
sar ebx, 8
or esi, eax
and ebx, 1
inc edi
cmp edi, 4
jl 0x4445ac
mov ebp, dword [esp + 0x1c]
push 4
mov dword [esp + 0x18], esi
pop esi
lea eax, [esp + 0x10]
push eax
call fcn.00444513
lea eax, [esp + 0x18]
push eax
call fcn.00444551
mov eax, dword [esp + 0x1c]
sar eax, 0x11
pop ecx
add ebx, eax
movzx eax, byte [esi + ebp]
pop ecx
mov ecx, dword [esp + 0x10]
xor ecx, 0x1fe00
sar ecx, 9
add ebx, ecx
movzx ecx, byte [eax + 0x4da8e0]
mov eax, dword [esp + 0x34]
movzx eax, byte [esi + eax]
xor ecx, eax
movzx eax, bl
cmp eax, ecx
jne 0x444657
sar ebx, 8
inc esi
cmp esi, 7
jl 0x444604
mov ebp, dword [esp + 0x20]
cmp esi, 7
jne 0x444702
push 6
pop esi
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x14]
push eax
call fcn.0044449d
pop ecx
pop ecx
dec esi
jne 0x444667
mov esi, dword [esp + 0x10]
mov eax, esi
mov edi, dword [esp + 0x14]
mov edx, edi
sar eax, 9
not eax
sar edx, 0x11
add eax, dword [esp + 0x24]
add edx, eax
mov eax, dword [esp + 0x1c]
and edx, 0xff
movzx eax, byte [eax]
movzx ecx, byte [eax + 0x4da8e0]
mov eax, dword [esp + 0x34]
movzx eax, byte [eax]
xor ecx, eax
cmp edx, ecx
jne 0x444702
mov ebx, dword [esp + 0x30]
inc ebx
test ebx, ebx
jle 0x4446db
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x14]
push eax
call fcn.0044449d
pop ecx
pop ecx
dec ebx
jne 0x4446bf
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
test esi, 0x100
je 0x444702
mov ecx, dword [esp + 0x18]
test edi, 0x200000
je 0x444706
mov eax, dword [esp + 0x38]
inc ecx
mov dword [esp + 0x18], ecx
mov dword [eax], esi
mov eax, dword [esp + 0x3c]
mov dword [eax], edi
jmp 0x444706
mov ecx, dword [esp + 0x18]
inc ebp
mov dword [esp + 0x20], ebp
cmp ebp, 0x40000
jl 0x444595
pop edi
pop esi
pop ebp
mov eax, ecx
pop ebx
add esp, 0x18
ret
Function at 0x4479ec
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x828
mov eax, dword [0x517490]
xor eax, esp
mov dword [esp + 0x824], eax
push ebx
push ebp
mov ebp, dword [esp + 0x83c]
lea eax, [esp + 0x29]
push esi
xor ebx, ebx
mov esi, ecx
push 0x803
push ebx
push eax
mov byte [esp + 0x38], bl
call fcn.004bea90
add esp, 0xc
lea eax, [esp + 0x2c]
lea ecx, [esp + 0xc]
push 1
push 0x804
push eax
push 0xad
call fcn.00447f10
mov edx, eax
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x838]
shl al, 6
push ebx
mov word [edx + 7], 0x802
mov byte [edx + 9], 4
mov byte [edx + 0xa], al
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0xc]
test al, al
je 0x447a9a
push edi
lea edi, [esp + 0x34]
sub edi, ebp
mov eax, ebx
lea esi, [ebx + ebp]
push 5
pop ecx
cdq
idiv ecx
mov ecx, dword [esp + 0x840]
sub ecx, edx
mov cl, byte [ecx + 4]
xor cl, byte [edi + esi]
inc ebx
mov byte [esi], cl
cmp ebx, 0x800
jl 0x447a70
mov al, 1
pop edi
jmp 0x447a9c
xor al, al
mov ecx, dword [esp + 0x830]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004b94b6
add esp, 0x828
ret 0xc

Function at 0x447d9b
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x34
mov eax, dword [0x517490]
xor eax, esp
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x44]
push ebx
push ebp
mov ebp, dword [esp + 0x50]
mov ebx, ecx
push esi
push edi
mov dword [esp + 0x10], eax
lea edi, [esp + 0x35]
xor eax, eax
mov byte [esp + 0x34], 0
stosd dword es:[edi], eax
lea ecx, [esp + 0x14]
push 1
push 0xc
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x3c]
push eax
push 0xa4
call fcn.00447f10
push dword [esp + 0x50]
mov esi, eax
lea eax, [esi + 2]
push eax
call fcn.004a3575
mov eax, dword [esp + 0x50]
pop ecx
shl al, 6
pop ecx
or al, 4
mov byte [esi + 9], 0xc
mov byte [esi + 0xa], al
lea ecx, [esp + 0x14]
mov eax, dword [ebx]
push 0
push ecx
mov ecx, ebx
call dword [eax + 0xc]
test al, al
je 0x447e76
movzx ecx, byte [esp + 0x34]
mov eax, 0x100
imul cx, ax
movzx eax, byte [esp + 0x35]
add cx, ax
movzx eax, cx
add eax, 2
cmp eax, 0xc
jne 0x447e76
test ebp, ebp
je 0x447e44
mov al, byte [esp + 0x38]
shr al, 7
mov byte [ebp], al
mov eax, dword [esp + 0x10]
lea edi, [esp + 0x39]
push 5
sub edi, eax
xor ebx, ebx
pop ebp
lea esi, [eax + ebx]
mov ecx, dword [esp + 0x4c]
mov eax, ebx
cdq
idiv ebp
mov eax, dword [esp + 0x10]
sub ecx, edx
mov cl, byte [ecx + 4]
xor cl, byte [edi + esi]
inc ebx
mov byte [esi], cl
cmp ebx, ebp
jl 0x447e53
mov al, 1
jmp 0x447e78
xor al, al
mov ecx, dword [esp + 0x40]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004b94b6
add esp, 0x34
ret 0x14

Function at 0x448f66
Capabilities:
Get disk information via ioctl

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x517490]
xor eax, ebp
mov dword [ebp - 4], eax
xor edx, edx
lea eax, [ebp - 0x14]
push edx
push eax
push 0xc
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], edx
push eax
push edx
push edx
push 0x2d1080
push dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
xor ecx, ebp
call fcn.004b94b6
mov esp, ebp
pop ebp
ret
Function at 0x448fa7
Capabilities:
Get disk information

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x88
mov eax, dword [0x517490]
xor eax, ebp
mov dword [ebp + 0x70], eax
push ebx
push esi
push 0x10
push 0x235cfe88
push 0x50e44a
call fcn.00402063
push dword [ebp + 0x7c]
push eax
lea eax, [ebp + 0x30]
push eax
call fcn.004ba78c
add esp, 0x18
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esi, eax
xor ebx, ebx
xor edx, edx
mov ecx, ebx
inc edx
shl edx, cl
test esi, edx
je 0x44902b
lea eax, [ebx + 0x41]
mov word [ebp - 0x13], 0x3a
mov byte [ebp - 0x14], al
lea eax, [ebp - 0x10]
push 0x40
push eax
lea eax, [ebp - 0x14]
mov byte [ebp - 0x11], 0
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
test eax, eax
je 0x44902b
lea eax, [ebp + 0x30]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004c03a9
pop ecx
pop ecx
test eax, eax
je 0x449044
inc ebx
cmp ebx, 0x20
jl 0x448fe9
mov al, 0x41
mov ecx, dword [ebp + 0x70]
pop esi
xor ecx, ebp
pop ebx
call fcn.004b94b6
lea esp, [ebp + 0x74]
pop ebp
ret
lea eax, [ebx + 0x41]
jmp 0x449033

Function at 0x44a52f
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x517490]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
test eax, eax
jne 0x44a554
mov al, 1
jmp 0x44a5d8
cmp dword [esi + 0x14], 0x10
jb 0x44a55e
mov ecx, dword [esi]
jmp 0x44a560
mov ecx, esi
push eax
push ecx
push 0xb671c2f7
push 0x374d0e85
push 0xc42449bb
call fcn.00402142
add esp, 0xc
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.004ba78c
mov eax, dword [esi + 0x10]
lea esi, [ebp - 0x108]
add eax, esi
push 0x2f
push eax
call fcn.004bbba0
mov esi, eax
add esp, 0x18
test esi, esi
je 0x44a5cb
push ebx
inc esi
lea eax, [ebp - 0x108]
push 0
push eax
mov bl, byte [esi]
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0x2f
push esi
mov byte [esi], bl
call fcn.004bbba0
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x44a5a3
pop ebx
lea eax, [ebp - 0x108]
push eax
call fcn.0041fa37
pop ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004b94b6
mov esp, ebp
pop ebp
ret 8
Function at 0x44a675
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x250
mov eax, dword [0x517490]
xor eax, esp
mov dword [esp + 0x24c], eax
mov edx, dword [esp + 0x258]
push ebx
mov ebx, dword [esp + 0x258]
push ebp
mov ebp, dword [esp + 0x264]
push esi
push edi
mov edi, ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], ebp
mov ecx, dword [edi + 0x28]
test ecx, ecx
je 0x44a6fa
mov ecx, dword [ecx + 0x5c]
push 0
push ebx
call fcn.0044545d
test eax, eax
je 0x44a778
mov esi, dword [eax]
jmp 0x44a6f4
cmp byte [esi + 0xc], 0
jne 0x44a6f1
push dword [esp + 0x14]
lea ebp, [esi + 0x38]
push ebp
call fcn.0044ac39
pop ecx
pop ecx
cmp al, 1
jne 0x44a6f1
push dword [esp + 0x270]
push ebp
push ebx
push edi
call dword [esp + 0x20]
mov esi, dword [esi + 4]
test esi, esi
jne 0x44a6ca
jmp 0x44a778
lea eax, [edi + 0x10]
cmp dword [eax + 0x14], 0x10
jb 0x44a705
mov eax, dword [eax]
push edx
push ebx
push eax
push 0xd4d9013a
push 0x55e5cd4a
push 0xa68c800c
call fcn.00402142
add esp, 0xc
push eax
lea eax, [esp + 0x168]
push eax
call fcn.004ba78c
add esp, 0x14
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x15c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x44a778
test byte [esp + 0x18], 0x10
jne 0x44a761
push dword [esp + 0x270]
lea eax, [esp + 0x48]
push eax
push ebx
push edi
call ebp
lea eax, [esp + 0x18]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x44a74a
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0x25c]
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004b94b6
add esp, 0x250
ret 0x10
Function at 0x44d12c
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 0x118
mov eax, dword [0x517490]
xor eax, esp
mov dword [esp + 0x114], eax
mov eax, dword [esp + 0x124]
mov edx, dword [esp + 0x120]
push ebx
push ebp
mov ebp, ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x130]
xor ebx, ebx
mov ecx, dword [esp + 0x124]
mov dword [esp + 8], eax
lea eax, [ebp + 0x10]
cmp dword [eax + 0x14], 0x10
push esi
jb 0x44d176
mov eax, dword [eax]
push edx
push ecx
push eax
push 0xe108b0ec
push 0x60347c9c
push 0x935d384e
call fcn.00402142
add esp, 0xc
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.004ba78c
add esp, 0x14
lea eax, [esp + 0x1c]
push ebx
push 0x80
push 3
push ebx
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x44d1c4
xor al, al
jmp 0x44d22f
push edi
lea eax, [esp + 0x14]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x44d1ed
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x44d1ed
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x44d22e
cmp dword [esp + 0x14], ebx
jne 0x44d225
push edi
lea ecx, [ebp + 0x44]
call fcn.0044a882
push ebx
mov ebp, eax
lea eax, [esp + 0x20]
push eax
push edi
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x44d225
cmp dword [esp + 0x1c], edi
jne 0x44d225
mov eax, dword [esp + 0x10]
mov bl, 1
mov dword [eax], edi
mov eax, dword [esp + 0x18]
mov dword [eax], ebp
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
pop edi
mov ecx, dword [esp + 0x120]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004b94b6
add esp, 0x118
ret 0x10
Function at 0x44d7c3
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x11c
mov eax, dword [0x517490]
xor eax, esp
mov dword [esp + 0x118], eax
push ebx
mov ebx, dword [esp + 0x128]
push ebp
mov ebp, dword [esp + 0x130]
push esi
mov esi, dword [esp + 0x12c]
push edi
mov edi, ecx
mov edx, dword [edi + 0x28]
test edx, edx
je 0x44d848
lea ecx, [esp + 0x28]
sub ecx, esi
mov al, byte [esi]
mov byte [ecx + esi], al
inc esi
test al, al
jne 0x44d7ff
mov esi, ebx
mov al, byte [ebx]
inc ebx
test al, al
jne 0x44d80b
lea edi, [esp + 0x28]
sub ebx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x44d819
push dword [esp + 0x13c]
mov ecx, ebx
lea eax, [esp + 0x2c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push ebp
push eax
mov ecx, edx
call fcn.00424a87
jmp 0x44d8c8
push esi
lea eax, [edi + 0x2c]
push eax
call fcn.0044a52f
push ebx
push esi
lea eax, [esp + 0x18]
mov ecx, edi
push eax
call fcn.0044ab42
cmp dword [esp + 0x24], 0x10
lea esi, [esp + 0x10]
push 0xe81bec19
cmovae esi, dword [esp + 0x14]
push 0x6927206d
push 0x9a4e675b
call fcn.00402142
push eax
push esi
call fcn.004bc548
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x44d8a2
push eax
push 1
lea ecx, [esp + 0x18]
call fcn.00403baf
xor al, al
jmp 0x44d8ca
push esi
push dword [esp + 0x140]
push 1
push ebp
call fcn.004bc6e0
push esi
call fcn.004ba4a0
add esp, 0x14
lea ecx, [esp + 0x10]
push 0
push 1
call fcn.00403baf
mov al, 1
mov ecx, dword [esp + 0x128]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004b94b6
add esp, 0x11c
ret 0x10
Function at 0x44eb9b
Capabilities:
Encode data using base64

Disassembly:
push 0xffffffffffffffff
push 0x4d40cb
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x517490]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
push 0x47c1ee9e
push 0x339a1a01
xor ebx, ebx
push 0x141a6225
mov dword [esp + 0x30], ebx
call fcn.0040219e
mov ebp, dword [esp + 0x44]
add esp, 0xc
mov dword [esp + 0x20], eax
mov dword [ebp + 0x14], 0xf
mov dword [ebp + 0x10], ebx
mov byte [ebp], bl
mov eax, dword [esp + 0x40]
mov edi, ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x24], 1
test eax, eax
je 0x44ed4d
push 3
pop esi
mov ecx, dword [esp + 0x3c]
dec eax
mov dword [esp + 0x40], eax
mov al, byte [ecx]
mov byte [esp + edi + 0x18], al
inc edi
mov dl, byte [esp + 0x19]
inc ecx
mov dword [esp + 0x3c], ecx
mov ch, byte [esp + 0x1a]
mov cl, byte [esp + 0x18]
mov byte [esp + 0x17], ch
mov byte [esp + 0x15], dl
mov byte [esp + 0x16], cl
cmp edi, esi
jne 0x44eca7
mov esi, dword [esp + 0x20]
mov al, cl
shr al, 2
and cl, 3
mov byte [esp + 0x1c], al
mov edi, ebx
shl cl, 4
mov al, dl
shr al, 4
add cl, al
mov al, ch
mov byte [esp + 0x1d], cl
mov cl, dl
and cl, 0xf
shr al, 6
shl cl, 2
add cl, al
mov al, ch
and al, 0x3f
mov byte [esp + 0x1e], cl
mov byte [esp + 0x1f], al
movzx eax, byte [esp + edi + 0x1c]
mov ecx, ebp
movzx eax, byte [eax + esi]
push eax
push 1
call fcn.0044f740
inc edi
cmp edi, 4
jl 0x44ec7d
mov dl, byte [esp + 0x15]
mov edi, ebx
mov cl, byte [esp + 0x16]
mov ch, byte [esp + 0x17]
push 3
pop esi
mov eax, dword [esp + 0x40]
test eax, eax
jne 0x44ec11
test edi, edi
je 0x44ed4d
mov eax, edi
cmp edi, esi
jge 0x44ecde
cmp eax, esi
jae 0x44ed65
mov byte [esp + eax + 0x18], bl
inc eax
cmp eax, esi
jl 0x44ecc3
mov ch, byte [esp + 0x1a]
mov dl, byte [esp + 0x19]
mov cl, byte [esp + 0x18]
mov al, cl
and cl, 3
shr al, 2
mov byte [esp + 0x1c], al
mov al, dl
shr al, 4
and dl, 0xf
shl cl, 4
add cl, al
shl dl, 2
mov al, ch
mov byte [esp + 0x1d], cl
shr al, 6
and ch, 0x3f
add dl, al
mov byte [esp + 0x1f], ch
lea eax, [edi + 1]
mov byte [esp + 0x1e], dl
test eax, eax
jle 0x44ed39
lea esi, [edi + 1]
mov ecx, dword [esp + 0x20]
movzx eax, byte [esp + ebx + 0x1c]
movzx eax, byte [eax + ecx]
mov ecx, ebp
push eax
push 1
call fcn.0044f740
inc ebx
cmp ebx, esi
jl 0x44ed1a
push 3
pop esi
cmp edi, esi
jge 0x44ed4d
sub esi, edi
push 0x3d
push 1
mov ecx, ebp
call fcn.0044f740
dec esi
jne 0x44ed3f
mov eax, ebp
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 0xc
call fcn.004b9df5
int3
Function at 0x450bee
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4d4456
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x517490]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, ecx
mov ebp, dword [esp + 0x40]
mov ebx, 0x100
movzx edx, byte [ebp]
movzx eax, byte [ebp + 1]
imul dx, bx
add dx, ax
mov word [edi], dx
movzx ecx, byte [ebp + 2]
movzx eax, byte [ebp + 3]
imul cx, bx
add cx, ax
lea eax, [ebp + 4]
push eax
mov word [edi + 2], cx
call fcn.004063e3
mov dword [edi + 4], eax
lea esi, [ebp + 8]
pop ecx
test eax, eax
je 0x450cc7
xor ebx, ebx
test eax, eax
je 0x450ca9
mov ebp, esi
and dword [esp + 0x20], 0
and dword [esp + 0x24], 0
and dword [esp + 0x28], 0
and dword [esp + 0x38], 0
lea ecx, [esp + 0x1c]
push ebx
push ebp
call fcn.004510c8
add ebx, eax
lea ecx, [edi + 0x34]
lea eax, [esp + 0x1c]
push eax
lea ebp, [ebx + esi]
call fcn.00452800
or dword [esp + 0x38], 0xffffffff
lea ecx, [esp + 0x20]
call fcn.0040a7be
cmp ebx, dword [edi + 4]
jb 0x450c61
mov ebp, dword [esp + 0x40]
push dword [esp + 0x40]
mov eax, dword [edi + 4]
lea ecx, [edi + 8]
add eax, esi
push eax
push esi
push dword [edi + 0xc]
call fcn.00449fb4
add esi, dword [edi + 4]
mov ebx, 0x100
movzx ecx, byte [esi]
movzx eax, byte [esi + 1]
add esi, 2
imul cx, bx
xor ebx, ebx
add cx, ax
xor eax, eax
mov word [edi + 0x14], cx
cmp ax, cx
jae 0x450d0b
push esi
lea ecx, [esp + 0x18]
call fcn.00450f6b
add esi, eax
lea ecx, [edi + 0x18]
lea eax, [esp + 0x14]
push eax
call fcn.004215c0
movzx eax, word [edi + 0x14]
inc ebx
cmp ebx, eax
jb 0x450ce5
mov ebp, dword [esp + 0x40]
movzx ecx, byte [esi]
mov eax, 0x100
imul cx, ax
movzx eax, byte [esi + 1]
xor ebx, ebx
add esi, 2
add cx, ax
xor eax, eax
mov word [edi + 0x24], cx
cmp ax, cx
jae 0x450d79
and dword [esp + 0x24], 0
and dword [esp + 0x28], 0
and dword [esp + 0x2c], 0
push esi
lea ecx, [esp + 0x20]
mov dword [esp + 0x3c], 1
call fcn.00450b9d
add esi, eax
lea ecx, [edi + 0x28]
lea eax, [esp + 0x1c]
push eax
call fcn.00452665
or dword [esp + 0x38], 0xffffffff
lea ecx, [esp + 0x24]
call fcn.0040a7be
movzx ecx, word [edi + 0x24]
inc ebx
cmp ebx, ecx
jb 0x450d2e
mov ebp, dword [esp + 0x40]
sub esi, ebp
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 4
Function at 0x463a18
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push 0x202
call fcn.004bb17d
mov esi, dword [esp + 0x14]
mov ebx, eax
pop ecx
mov ecx, 0x80
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebx + 2]
movsw word es:[edi], word [esi]
mov esi, 0x100
mov edx, esi
mov al, byte [ecx + 0x100]
xor byte [ecx], al
inc ecx
dec edx
jne 0x463a41
push esi
push edx
lea eax, [ebx + 0x102]
push eax
call fcn.004bea90
mov ax, word [esp + 0x20]
add esp, 0xc
mov byte [ebx + 0x201], 1
mov word [ebx], ax
mov al, byte [ebx + 0x201]
pop edi
mov byte [ebx + 0x1ff], al
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x463c07
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebx
push esi
push edi
mov edi, dword [esp + 0x14]
push 0x104
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x5c
pop eax
push eax
push edi
call fcn.004bacf8
mov ebx, dword [sym.imp.USER32.dll_wsprintfW]
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x463c78
push dword [esp + 0x10]
add esi, 2
push esi
call ebx
pop ecx
pop ecx
push 0x2e
pop ecx
lea eax, [esi + eax*2]
mov word [eax], cx
push 0x6b
pop ecx
mov word [eax + 2], cx
push 0x65
pop ecx
mov word [eax + 4], cx
push 0x79
pop ecx
mov word [eax + 6], cx
xor ecx, ecx
push edi
mov word [eax + 8], cx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x463c78
xor eax, eax
inc eax
jmp 0x463d05
push edi
xor esi, esi
push esi
push esi
push 0x801a
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0x463c8e
sub ecx, edx
sar ecx, 1
lea esi, [edi + ecx*2]
cmp esi, edi
je 0x463cb3
push 0x5c
pop eax
cmp word [esi - 2], ax
je 0x463cb3
mov word [esi], ax
add esi, 2
push dword [esp + 0x10]
push esi
call ebx
push 0x5c
lea esi, [esi + eax*2]
pop eax
push dword [esp + 0x18]
mov word [esi], ax
add esi, 2
push esi
call ebx
add esp, 0x10
lea eax, [esi + eax*2]
push 0x2e
pop ecx
mov word [eax], cx
push 0x6b
pop ecx
mov word [eax + 2], cx
push 0x65
pop ecx
mov word [eax + 4], cx
push 0x79
pop ecx
mov word [eax + 6], cx
xor ecx, ecx
push edi
mov word [eax + 8], cx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop edi
pop esi
pop ebx
ret
Function at 0x463d09
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x38
mov eax, dword [0x517490]
xor eax, esp
mov dword [esp + 0x34], eax
and dword [esp + 0x18], 0
and dword [esp + 0x30], 0
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x4c]
push 0x400
mov dword [esp + 0x18], 0x45422023
mov dword [esp + 0x1c], 0x204e4947
mov dword [esp + 0x20], 0x4543494c
mov dword [esp + 0x24], 0x2045534e
mov dword [esp + 0x28], 0x59454b
mov dword [esp + 0x30], 0x4e452023
mov dword [esp + 0x34], 0x494c2044
mov dword [esp + 0x38], 0x534e4543
mov dword [esp + 0x3c], 0x454b2045
mov dword [esp + 0x40], 0x59
call fcn.004bb17d
pop ecx
mov ebx, eax
mov dword [esp + 0x10], 0xbfbbef
movzx eax, word [edi]
lea ecx, [esp + 0x10]
mov ebp, ebx
mov esi, edi
cmp ax, word [ecx]
jne 0x463daa
movzx eax, byte [edi + 2]
cmp al, byte [ecx + 2]
jne 0x463daa
lea esi, [edi + 3]
lea eax, [esp + 0x14]
push eax
push esi
call fcn.004c0230
pop ecx
pop ecx
test eax, eax
je 0x463dd2
lea esi, [eax + 0x13]
lea eax, [esp + 0x2c]
push eax
push esi
call fcn.004c0230
pop ecx
pop ecx
test eax, eax
je 0x463dd2
mov byte [eax], 0
cmp byte [esi], 0
je 0x463e31
push 0xa
push esi
call fcn.004bbba0
pop ecx
pop ecx
test eax, eax
je 0x463ded
mov byte [eax], 0
lea ecx, [eax + 1]
jmp 0x463dfd
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x463df2
sub ecx, edx
add ecx, esi
test ecx, ecx
je 0x463e31
mov al, byte [esi]
cmp al, 0x20
je 0x463e0b
cmp al, 9
jne 0x463e0e
inc esi
jmp 0x463e01
mov al, byte [esi]
cmp al, 0x23
je 0x463e2d
jmp 0x463e29
cmp al, 0xd
je 0x463e26
cmp al, 0x20
je 0x463e26
cmp al, 9
je 0x463e26
mov byte [ebp], al
inc ebp
inc esi
mov al, byte [esi]
test al, al
jne 0x463e16
mov esi, ecx
jmp 0x463dd2
mov byte [ebp], 0
mov ecx, ebx
sub edi, ebx
mov al, byte [ecx]
mov byte [edi + ecx], al
inc ecx
test al, al
jne 0x463e39
push ebx
call fcn.004bb566
pop ecx
mov ecx, dword [esp + 0x44]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004b94b6
add esp, 0x38
ret