Function at 0x4a8c97
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x30
push ecx
push edi
mov eax, 0xcccccccc
lea edi, [esp + 8]
mov ecx, 0xc
rep stosd dword es:[edi], eax
pop edi
pop ecx
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp - 0x30]
cmp byte [eax + 0x3c], 0
jne 0x4a8baf
mov al, 0
lea esp, [ebp - 4]
pop esi
pop ebp
ret
mov eax, dword [ebp - 0x30]
cmp word [eax + 0x2c], 0x12c
jne 0x4a8bd9
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0x30]
push eax
call dword [0x4ea6d8]
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0x30]
push eax
call dword [0x4ea5f4]
jmp 0x4a8dca
mov eax, dword [ebp - 0x30]
cmp word [eax + 0x2c], 0x12d
jne 0x4a8c03
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0x30]
push eax
call dword [0x4ea6dc]
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0x30]
push eax
call dword [0x4ea5f4]
jmp 0x4a8dca
mov eax, dword [ebp - 0x30]
cmp word [eax + 0x2c], 0x15e
je 0x4a8c27
push 0x471
push str.FolderItemImpWin32.cpp
push 4
push 0x83
call fcn.0044a750
add esp, 0x10
mov eax, dword [ebp - 0x30]
mov edx, dword [eax + 0x38]
mov ecx, edx
mov esi, dword [ecx]
mov ecx, edx
call dword [esi + 0x18]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x4a8c4e
mov eax, dword [ebp - 0x30]
mov byte [eax + 0x3c], 0
mov al, 0
lea esp, [ebp - 4]
pop esi
pop ebp
ret
push dword [ebp - 0x2c]
call dword [0x4ea6e8]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], 0xe
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x28]
movzx edx, word [eax + 0xe]
dec edx
cmp edx, 7
ja case.0x4a8c75.3
jmp dword [edx*4 + 0x4d807c]
mov dword [ebp - 0x20], 8
jmp case.0x4a8c75.3
mov dword [ebp - 0x20], 0x10
jmp case.0x4a8c75.3
mov dword [ebp - 0x20], 0x40
jmp case.0x4a8c75.3
mov dword [ebp - 0x20], 0x400
mov word [ebp - 0x18], 0x4d42
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
add edx, dword [eax]
add edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x28]
add edx, dword [eax + 0x14]
mov dword [ebp - 0x16], edx
mov word [ebp - 0x12], 0
mov word [ebp - 0x10], 0
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
add edx, dword [eax]
add edx, dword [ebp - 0x20]
mov dword [ebp - 0xe], edx
mov eax, dword [ebp - 0x30]
mov edx, dword [eax + 0x38]
mov ecx, edx
mov esi, dword [ecx]
mov ecx, edx
call dword [esi + 0x40]
mov ecx, dword [ebp - 0x28]
mov dword [ecx + 0x18], eax
mov eax, dword [ebp - 0x30]
mov edx, dword [eax + 0x38]
mov ecx, edx
mov esi, dword [ecx]
mov ecx, edx
call dword [esi + 0x44]
mov ecx, dword [ebp - 0x28]
mov dword [ecx + 0x1c], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x1c], eax
push 0
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0x34]
push eax
call dword [0x4ea718]
cmp eax, 0
jne 0x4a8d30
mov eax, dword [ebp - 0x30]
mov byte [eax + 0x3c], 0
mov al, 0
lea esp, [ebp - 4]
pop esi
pop ebp
ret
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 8]
je 0x4a8d47
mov eax, dword [ebp - 0x30]
mov byte [eax + 0x3c], 0
mov al, 0
lea esp, [ebp - 4]
pop esi
pop ebp
ret
mov edx, dword [ebp - 0x16]
sub edx, dword [ebp - 8]
mov dword [ebp - 0x1c], edx
push 0
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x1c]
push dword [ebp - 0x28]
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0x34]
push eax
call dword [0x4ea718]
cmp eax, 0
jne 0x4a8d7d
mov eax, dword [ebp - 0x30]
mov byte [eax + 0x3c], 0
mov al, 0
lea esp, [ebp - 4]
pop esi
pop ebp
ret
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 8]
je 0x4a8d94
mov eax, dword [ebp - 0x30]
mov byte [eax + 0x3c], 0
mov al, 0
lea esp, [ebp - 4]
pop esi
pop ebp
ret
push dword [ebp - 0x2c]
call dword [0x4ea6f0]
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0x34]
push eax
call dword [0x4ea71c]
push dword [ebp - 0x2c]
call dword [0x4ea6ec]
mov eax, dword [ebp - 0x30]
mov edx, dword [eax + 0x38]
cmp edx, 0
je 0x4a8dca
push 1
mov ecx, edx
mov esi, dword [ecx]
mov ecx, edx
call dword [esi]
mov edx, eax
mov eax, dword [ebp - 0x30]
mov al, byte [eax + 0x3c]
lea esp, [ebp - 4]
pop esi
pop ebp
ret