joyce8/EMBER2024-capa huggingface dataset:
Function at 0x460760
Capabilities:
Check if file exists
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58ab30
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x5f11e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xor eax, eax
mov dword [ebp - 0x14], 7
push 0xffffffffffffffff
push eax
lea esi, [edi + 0x4c]
mov dword [ebp - 0x18], 0
push esi
lea ecx, [ebp - 0x28]
mov word [ebp - 0x28], ax
call fcn.0044ca80
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.004666c0
xor eax, eax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
call fcn.004664f0
lea eax, [ebp - 0x58]
mov edx, 0x5c5170
push eax
lea ecx, [ebp - 0x70]
call fcn.004636b0
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.0044cba0
mov eax, dword [ebp - 0x5c]
cmp eax, 8
jb 0x460819
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.0044c9a0
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
lea edx, [ebp - 0x40]
mov byte [ebp - 4], 3
mov ecx, esi
call fcn.00466950
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x28]
call fcn.00466750
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
je 0x4608a5
cmp dword [esi + 0x10], 0
je 0x4608a5
cmp dword [ebp - 0x18], 0
je 0x4608a5
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
cmp dword [esi + 0x14], 8
jb 0x46087c
mov esi, dword [esi]
push eax
push esi
call fcn.0051d6ce
add esp, 8
test eax, eax
jne 0x4608a5
lea ecx, [edi + 0x98]
lea eax, [ebp - 0x28]
cmp ecx, eax
je 0x4608a1
push 0xffffffffffffffff
push 0
push eax
call fcn.0044ca80
mov bl, 1
jmp 0x4608a7
xor bl, bl
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x4608bc
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.0044c9a0
xor eax, eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x30], 0
cmp eax, 8
jb 0x4608e5
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.0044c9a0
mov ecx, dword [ebp - 0x14]
xor eax, eax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
cmp ecx, 8
jb 0x46090e
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.0044c9a0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004feb45
mov esp, ebp
pop ebp
ret
Function at 0x4632b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x588556
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x5f11e4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.004feb64
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.00500d30
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x466bc0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov edi, ecx
xor bl, bl
cmp dword [edi + 0x60], 8
lea esi, [edi + 0x4c]
mov dword [ebp - 0x10], edi
jb 0x466bdd
mov eax, dword [esi]
jmp 0x466bdf
mov eax, esi
push 0
push 0x80
push 3
push 0
push 3
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0xc], eax
cmp eax, 0xffffffff
jne 0x466c0b
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp - 0x18]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x466c2a
mov eax, dword [ebp - 0x18]
mov bl, 1
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], eax
jmp 0x466c36
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 8], eax
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
je 0x466caa
cmp dword [ebp - 4], 0
jl 0x466caa
jg 0x466c54
cmp dword [ebp - 8], 0xa00000
jb 0x466caa
mov eax, dword [edi + 0x68]
add edi, 0x68
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x466c67
push eax
call ebx
cmp dword [esi + 0x14], 8
jb 0x466c6f
mov esi, dword [esi]
push 0
push 0x80
push 5
push 0
push 3
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [edi], eax
test eax, eax
je 0x466c97
push eax
call ebx
mov dword [edi], 0
mov ecx, dword [ebp - 0x10]
push edi
mov eax, dword [ecx]
mov eax, dword [eax]
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x466cc0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x466d0e
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi], eax
test eax, eax
jne 0x466d0b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x466d0b
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov dword [esi], eax
cmp dword [esi], 0
mov ecx, dword [ebp + 0x1c]
setne bl
cmp ecx, 8
jb 0x466d26
inc ecx
push ecx
push dword [ebp + 8]
lea ecx, [ebp + 8]
call fcn.0044c9a0
pop esi
mov al, bl
pop ebx
pop ebp
ret 0x18
Function at 0x46a9d0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x310
mov eax, dword [0x5f11e4]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x104
lea eax, [ebp - 0x108]
push 0
push eax
call fcn.00504ee0
lea eax, [ebp - 0x108]
push 0
push eax
call fcn.0045dbf0
push 1
push 0x5c41ec
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.00519d15
push 3
push 0x5c5250
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.00519d15
push 0x208
lea eax, [ebp - 0x310]
push 0
push eax
call fcn.00504ee0
add esp, 0x40
lea eax, [ebp - 0x310]
push 0x104
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x108]
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [ebp - 0x310]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x46aa8d
push 0
lea eax, [ebp - 0x310]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004feb45
mov esp, ebp
pop ebp
ret
Function at 0x4742a0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58c0d8
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x5f11e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov edx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x90], 0x67452301
mov dword [ebp - 0x8c], 0xefcdab89
cmp dword [edx + 0x14], 0x10
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x88], 0x98badcfe
mov dword [ebp - 0x84], 0x10325476
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
jb 0x474316
mov edx, dword [edx]
push eax
lea ecx, [ebp - 0x90]
call fcn.00475560
add esp, 4
lea edx, [ebp - 0x20]
lea ecx, [ebp - 0x90]
call fcn.00475680
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], 0
mov byte [ebp - 0x38], 0
mov dword [ebp - 4], 0
mov ecx, dword [esi + 0x14]
cmp ecx, 0x10
jb 0x474358
mov eax, dword [esi]
jmp 0x47435a
mov eax, esi
lea edx, [ebp - 0x20]
cmp edx, eax
jb 0x474395
cmp ecx, 0x10
jb 0x47436a
mov edx, dword [esi]
jmp 0x47436c
mov edx, esi
mov eax, dword [esi + 0x10]
add eax, edx
lea edx, [ebp - 0x20]
cmp eax, edx
jbe 0x474395
cmp ecx, 0x10
jb 0x474381
mov ecx, dword [esi]
jmp 0x474383
mov ecx, esi
push 0x10
lea eax, [ebp - 0x20]
sub eax, ecx
mov ecx, esi
push eax
push esi
call fcn.00448a10
jmp 0x4743d0
cmp ecx, 0x10
jae 0x4743a6
push dword [esi + 0x10]
mov ecx, esi
push 0x10
call fcn.00445f40
cmp dword [esi + 0x14], 0x10
jb 0x4743b0
mov eax, dword [esi]
jmp 0x4743b2
mov eax, esi
movups xmm0, xmmword [ebp - 0x20]
movups xmmword [eax], xmm0
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], 0x10
jb 0x4743ca
mov eax, dword [esi]
jmp 0x4743cc
mov eax, esi
mov byte [eax + 0x10], 0
lea eax, [ebp - 0x38]
mov ecx, edi
push eax
push esi
call fcn.00474810
mov edi, eax
test edi, edi
je 0x4743e9
push str.Failed_to_Encrypt_checksum.
jmp 0x474411
cmp dword [ebp - 0x24], 0x10
lea ecx, [ebp - 0x38]
mov edx, dword [ebp - 0x28]
cmovae ecx, dword [ebp - 0x38]
push esi
call fcn.00476300
add esp, 4
push esi
call fcn.004741e0
mov edi, eax
test edi, edi
je 0x47441b
push str.Failed_to_scramble_checksum.
push 4
call fcn.0046dba0
add esp, 8
mov eax, dword [ebp - 0x24]
cmp eax, 0x10
jb 0x474430
inc eax
lea ecx, [ebp - 0x38]
push eax
push dword [ebp - 0x38]
call fcn.00445e20
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004feb45
mov esp, ebp
pop ebp
ret 8

Function at 0x475ef0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebx
push esi
mov esi, ecx
xor bh, bh
push edi
xor eax, eax
mov word [esi + 0x100], 0
mov byte [eax + esi], al
inc eax
cmp eax, 0x100
jl 0x475f02
xor edi, edi
nop
mov eax, edi
mov bl, byte [edi + esi]
cdq
idiv dword [esi + 0x204]
movzx eax, byte [edx + esi + 0x102]
add al, bl
add bh, al
movzx ecx, bh
movzx eax, byte [ecx + esi]
mov byte [edi + esi], al
inc edi
mov byte [ecx + esi], bl
cmp edi, 0x100
jl 0x475f10
pop edi
pop esi
pop ebx
ret
Function at 0x475f50
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov ecx, dword [ebp + 8]
push edi
test ecx, ecx
je 0x475fdb
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x475fdb
mov eax, dword [ebp + 0x10]
test eax, eax
jle 0x475fdb
mov dl, byte [esi + 0x101]
sub ecx, edi
push ebx
mov bh, byte [esi + 0x100]
mov byte [ebp + 0xf], dl
mov dword [ebp + 8], ecx
dec eax
lea edi, [edi + 1]
mov dword [ebp + 0x10], eax
inc bh
mov al, byte [ebp + 0xf]
movzx edx, bh
mov bl, byte [edx + esi]
add al, bl
movzx ecx, al
mov byte [ebp + 0xf], al
movzx eax, byte [ecx + esi]
mov byte [edx + esi], al
mov byte [ecx + esi], bl
movzx eax, byte [edx + esi]
mov ecx, dword [ebp + 8]
add al, bl
movzx eax, al
movzx eax, byte [eax + esi]
xor al, byte [ecx + edi - 1]
mov byte [edi - 1], al
mov eax, dword [ebp + 0x10]
test eax, eax
jg 0x475f81
mov dl, byte [ebp + 0xf]
mov al, 1
mov byte [esi + 0x100], bh
pop ebx
pop edi
mov byte [esi + 0x101], dl
pop esi
pop ebp
ret 0xc
pop edi
xor al, al
pop esi
pop ebp
ret 0xc

Function at 0x475ff0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.00475f50
Function at 0x476300
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
mov ebx, edx
cmp dword [edi + 0x14], 0x10
mov dword [edi + 0x10], esi
jb 0x47631d
mov eax, dword [edi]
jmp 0x47631f
mov eax, edi
mov byte [eax], 0
test ecx, ecx
je 0x47647a
test ebx, ebx
je 0x47647a
mov al, byte [ecx]
dec ebx
mov byte [ebp + esi - 8], al
inc ecx
mov ah, byte [ebp - 6]
inc esi
mov dl, byte [ebp - 7]
mov dh, byte [ebp - 8]
mov dword [ebp - 0x10], ecx
mov byte [ebp - 2], ah
mov byte [ebp + 0xb], dl
mov byte [ebp - 1], dh
cmp esi, 3
jne 0x4763b7
mov al, dh
mov cl, dh
shr al, 2
and cl, 3
mov byte [ebp - 0xc], al
mov al, dl
shl cl, 4
shr al, 4
add cl, al
mov al, ah
mov byte [ebp - 0xb], cl
mov cl, dl
and cl, 0xf
shr al, 6
shl cl, 2
add cl, al
mov al, ah
and al, 0x3f
mov byte [ebp - 0xa], cl
mov byte [ebp - 9], al
xor esi, esi
nop word [eax + eax]
movzx eax, byte [ebp + esi - 0xc]
mov ecx, edi
movzx eax, byte [eax + 0x5c00e8]
push eax
push 1
call fcn.00453040
inc esi
cmp esi, 4
jl 0x476390
mov ecx, dword [ebp - 0x10]
xor esi, esi
mov dl, byte [ebp + 0xb]
mov dh, byte [ebp - 1]
test ebx, ebx
jne 0x476332
mov dword [ebp + 8], esi
test esi, esi
je 0x476470
mov eax, esi
cmp esi, 3
jge 0x4763f0
cmp eax, 3
jae 0x476483
mov byte [ebp + eax - 8], 0
inc eax
cmp eax, 3
jl 0x4763d4
mov cl, byte [ebp - 6]
mov dl, byte [ebp - 7]
mov dh, byte [ebp - 8]
jmp 0x4763f3
mov cl, byte [ebp - 2]
mov al, dh
xor ebx, ebx
shr al, 2
and dh, 3
mov byte [ebp - 0xc], al
mov al, dl
shr al, 4
and dl, 0xf
shl dh, 4
add dh, al
shl dl, 2
mov al, cl
mov byte [ebp - 0xb], dh
shr al, 6
and cl, 0x3f
add dl, al
mov byte [ebp - 9], cl
lea eax, [esi + 1]
mov byte [ebp - 0xa], dl
mov dword [ebp - 0x10], eax
test eax, eax
jle 0x47644e
mov esi, eax
nop
movzx eax, byte [ebp + ebx - 0xc]
mov ecx, edi
movzx eax, byte [eax + 0x5c00e8]
push eax
push 1
call fcn.00453040
inc ebx
cmp ebx, esi
jl 0x476430
mov esi, dword [ebp + 8]
cmp esi, 3
jge 0x476470
mov ebx, 3
sub ebx, esi
nop word [eax + eax]
push 0x3d
push 1
mov ecx, edi
call fcn.00453040
sub ebx, 1
jne 0x476460
mov eax, dword [edi + 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.004ff02c
int3

Function at 0x4772f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
test edx, edx
je 0x47734b
push ebx
push esi
push edi
mov edi, 0x5c0358
mov byte [edx], 0xd0
mov ebx, 0x5c0359
lea eax, [edx + 1]
mov ecx, 0x5c035a
sub edi, edx
sub ebx, edx
mov esi, 0x15
sub ecx, edx
mov dword [ebp + 8], ecx
movzx ecx, byte [edi + eax]
lea eax, [eax + 3]
xor cl, byte [edx]
mov byte [eax - 3], cl
movzx ecx, byte [ebx + eax - 3]
xor cl, byte [edx]
mov byte [eax - 2], cl
mov ecx, dword [ebp + 8]
movzx ecx, byte [ecx + eax - 3]
xor cl, byte [edx]
mov byte [eax - 1], cl
sub esi, 1
jne 0x477320
pop edi
pop esi
pop ebx
mov eax, 0x40
pop ebp
ret 4
Function at 0x477360
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
test edx, edx
je 0x4773bb
push ebx
push esi
push edi
mov edi, 0x5c0170
mov byte [edx], 0xbd
mov ebx, 0x5c0171
lea eax, [edx + 1]
mov ecx, 0x5c0172
sub edi, edx
sub ebx, edx
mov esi, 0x15
sub ecx, edx
mov dword [ebp + 8], ecx
movzx ecx, byte [edi + eax]
lea eax, [eax + 3]
xor cl, byte [edx]
mov byte [eax - 3], cl
movzx ecx, byte [ebx + eax - 3]
xor cl, byte [edx]
mov byte [eax - 2], cl
mov ecx, dword [ebp + 8]
movzx ecx, byte [ecx + eax - 3]
xor cl, byte [edx]
mov byte [eax - 1], cl
sub esi, 1
jne 0x477390
pop edi
pop esi
pop ebx
mov eax, 0x40
pop ebp
ret 4

Function at 0x4773d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 8]
test edx, edx
je 0x477448
push ebx
push esi
mov ecx, str.1e210
mov byte [edx], 0x30
sub ecx, edx
lea eax, [edx + 1]
push edi
mov dword [ebp + 8], ecx
mov edi, 0x5c01b0
mov ebx, 0x5c01b1
mov ecx, 0x5c01b3
sub edi, edx
sub ebx, edx
sub ecx, edx
mov esi, 0x56
mov dword [ebp - 4], ecx
nop dword [eax + eax]
movzx ecx, byte [edi + eax]
lea eax, [eax + 4]
xor cl, byte [edx]
mov byte [eax - 4], cl
movzx ecx, byte [ebx + eax - 4]
xor cl, byte [edx]
mov byte [eax - 3], cl
mov ecx, dword [ebp + 8]
movzx ecx, byte [ecx + eax - 4]
xor cl, byte [edx]
mov byte [eax - 2], cl
mov ecx, dword [ebp - 4]
movzx ecx, byte [ecx + eax - 4]
xor cl, byte [edx]
mov byte [eax - 1], cl
sub esi, 1
jne 0x477410
pop edi
pop esi
pop ebx
mov eax, 0x159
mov esp, ebp
pop ebp
ret 4
Function at 0x477490
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x5f11e4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push eax
push 1
mov dword [ebp - 0x18], eax
mov esi, ecx
lea eax, [ebp - 0x14]
push 0xe
push eax
call fcn.00515f81
add esp, 0x10
cmp eax, 1
je 0x4774d5
mov eax, 0xfffffffe
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004feb45
mov esp, ebp
pop ebp
ret 4
mov cl, byte [ebp - 0x14]
mov ch, byte [ebp - 0x13]
mov edx, dword [ebp - 0x12]
mov eax, dword [ebp - 0xa]
mov byte [esi], cl
mov byte [esi + 1], ch
mov dword [esi + 4], edx
mov dword [esi + 0xc], eax
push ebx
mov bx, word [ebp - 0xe]
mov word [esi + 8], bx
push edi
mov di, word [ebp - 0xc]
mov word [esi + 0xa], di
cmp cl, 0x42
jne 0x47763c
cmp ch, 0x4d
jne 0x47763c
test bx, bx
jne 0x47763c
test di, di
jne 0x47763c
cmp edx, 0x36
jbe 0x47763c
cmp edx, 0x1e8480
ja 0x47763c
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x477547
push eax
call fcn.00518a05
add esp, 4
push dword [esi + 4]
call fcn.0051d854
add esp, 4
mov dword [esi + 0x3c], eax
test eax, eax
jne 0x477571
pop edi
pop ebx
mov eax, 0xfffffff9
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004feb45
mov esp, ebp
pop ebp
ret 4
xor edx, edx
mov ecx, dword [esi + 0x3c]
movzx eax, byte [ebp + edx - 0x14]
mov byte [edx + ecx], al
mov ecx, dword [esi + 0x3c]
movzx eax, byte [ebp + edx - 0x13]
mov byte [ecx + edx + 1], al
add edx, 2
cmp edx, 0xe
jl 0x477573
push dword [ebp - 0x18]
mov eax, dword [esi + 4]
sub eax, 0xe
push 1
push eax
mov eax, dword [esi + 0x3c]
add eax, 0xe
push eax
call fcn.00515f81
add esp, 0x10
cmp eax, 1
je 0x4775b7
push dword [esi + 0x3c]
jmp 0x47762d
mov ecx, dword [esi + 0x3c]
mov eax, dword [ecx + 0xe]
mov dword [esi + 0x10], eax
mov eax, dword [ecx + 0x12]
mov dword [esi + 0x14], eax
mov eax, dword [ecx + 0x16]
mov dword [esi + 0x18], eax
movzx eax, word [ecx + 0x1a]
mov dword [esi + 0x1c], eax
cmp dword [esi + 0x1c], 1
movzx eax, word [ecx + 0x1c]
mov dword [esi + 0x20], eax
mov eax, dword [ecx + 0x1e]
mov dword [esi + 0x24], eax
mov eax, dword [ecx + 0x22]
mov dword [esi + 0x28], eax
mov eax, dword [ecx + 0x26]
mov dword [esi + 0x2c], eax
mov eax, dword [ecx + 0x2a]
mov dword [esi + 0x30], eax
mov eax, dword [ecx + 0x2e]
mov dword [esi + 0x34], eax
mov eax, dword [ecx + 0x32]
mov dword [esi + 0x38], eax
jne 0x47762c
cmp dword [esi + 0x24], 0
jne 0x47762c
mov eax, dword [esi + 0x20]
cmp eax, 0x18
je 0x477617
cmp eax, 0x20
jne 0x47762c
pop edi
pop ebx
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004feb45
mov esp, ebp
pop ebp
ret 4
push ecx
call fcn.00518a05
mov dword [esi + 0x3c], 0
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, 0xfffffffe
pop edi
pop ebx
xor ecx, ebp
pop esi
call fcn.004feb45
mov esp, ebp
pop ebp
ret 4
Function at 0x477660
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x5f11e4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edi
mov edx, dword [edi + 0x3c]
test edx, edx
jne 0x477697
lea eax, [edx - 3]
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004feb45
mov esp, ebp
pop ebp
ret 8
push ebx
mov ebx, dword [ebp + 0xc]
test ebx, ebx
jne 0x4776b4
lea eax, [ebx - 4]
pop ebx
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004feb45
mov esp, ebp
pop ebp
ret 8
mov ecx, ebx
push esi
lea esi, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4776c0
mov eax, dword [edi + 0x18]
sub ecx, esi
imul eax, dword [edi + 0x14]
inc ecx
mov dword [ebp - 0x10], ecx
lea eax, [eax + eax*2]
cmp ecx, eax
jbe 0x4776f3
pop esi
pop ebx
mov eax, 0xfffffffb
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004feb45
mov esp, ebp
pop ebp
ret 8
mov eax, dword [edi + 0x20]
xor ecx, ecx
mov edi, dword [edi + 0xc]
xor esi, esi
add edi, edx
shr eax, 3
xor edx, edx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], 0x8040201
mov dword [ebp - 8], 0x80402010
cmp dword [ebp - 0x10], ecx
jbe 0x477766
nop word [eax + eax]
mov al, byte [esi + ebx]
test byte [ebp + edx - 0xc], al
mov al, byte [ecx + edi]
jne 0x477734
test al, 1
je 0x47773d
dec al
jmp 0x47773a
test al, 1
jne 0x47773d
inc al
mov byte [ecx + edi], al
inc ecx
cmp dword [ebp - 0x14], 4
jne 0x477758
mov eax, ecx
and eax, 0x80000003
jns 0x477752
dec eax
or eax, 0xfffffffc
inc eax
cmp eax, 3
jne 0x477758
inc ecx
inc edx
cmp edx, 8
jne 0x477761
xor edx, edx
inc esi
cmp esi, dword [ebp - 0x10]
jb 0x477720
push dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
push 1
push dword [eax + 4]
push dword [eax + 0x3c]
call fcn.0051e084
mov ecx, dword [ebp - 4]
add esp, 0x10
dec eax
neg eax
pop esi
sbb eax, eax
xor ecx, ebp
pop ebx
and eax, 0xfffffffa
pop edi
call fcn.004feb45
mov esp, ebp
pop ebp
ret 8
Function at 0x47abe0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58d190
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x5f11e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 4], 0
xor bl, bl
cmp dword [ebp + 0x18], 0
je 0x47ad2e
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
push 0
cmovae eax, dword [ebp + 8]
push eax
call fcn.00518a0a
add esp, 8
test eax, eax
jne 0x47ac40
mov bl, 1
jmp 0x47ad2e
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
push 2
sub esp, 8
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.00481590
cmp eax, 0xffffffff
je 0x47ad2e
push eax
push 0
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp + 8]
call fcn.00466a70
push eax
lea ecx, [ebp - 0x28]
call fcn.00459580
lea ecx, [ebp - 0x44]
call fcn.0044bd20
sub esp, 0x18
xor eax, eax
mov ecx, esp
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [ebp - 0x28]
push eax
call fcn.0044ca80
mov ecx, esi
call fcn.0047abe0
cmp al, 1
jne 0x47ad19
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
call fcn.0051a5d1
add esp, 4
test eax, eax
jne 0x47acfe
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
push str.Created__S
push 0
push 4
push str.AdobeGCUpdaterCFU
push dword [esi + 4]
call fcn.004a36b0
add esp, 0x18
mov bl, 1
jmp 0x47ad19
push str.Failed_to_Create__S
push 0
push 4
push str.AdobeGCUpdaterCFU
push dword [esi + 4]
call fcn.004a36b0
add esp, 0x14
xor bl, bl
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x47ad2e
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0044c9a0
mov ecx, dword [ebp + 0x1c]
cmp ecx, 8
jb 0x47ad43
inc ecx
push ecx
push dword [ebp + 8]
lea ecx, [ebp + 8]
call fcn.0044c9a0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004feb45
mov esp, ebp
pop ebp
ret 0x18