Function at 0x45a1b0
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4c9490
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x4ffeb0]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ffeb0]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x24], eax
mov eax, dword [ecx + 0x10]
xor ebx, ebx
cmp eax, ebx
jne 0x45a3ce
mov ebp, dword [ecx + 4]
mov ecx, dword [ecx + 8]
cmp ecx, 0x20
jl 0x45a219
cmp dword [ebp], 0x6c7a6d61
jne 0x45a219
cmp dword [ebp + 4], 1
jbe 0x45a223
lea eax, [ebx + 0x66]
jmp 0x45a3ce
mov eax, 0x65
jmp 0x45a3ce
mov edx, dword [ebp + 0xc]
lea eax, [edx + 0x20]
cmp eax, ecx
je 0x45a237
mov eax, 0x67
jmp 0x45a3ce
lea eax, [ebp + 0x20]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x28], eax
mov byte [esp + 0x30], bl
mov dword [esp + 0x50], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], ebx
mov byte [esp + 0x1c], 0
mov byte [esp + 0x50], 1
mov edi, dword [ebp + 8]
lea esi, [esp + 0x14]
call fcn.0045a020
mov ecx, esi
lea eax, [esp + 0x28]
call fcn.0045a0e0
mov esi, eax
cmp esi, ebx
je 0x45a298
cmp byte [esp + 0x1c], 0
je 0x45a291
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x45a291
push eax
call fcn.004a2e1b
add esp, 4
mov eax, esi
jmp 0x45a3ce
mov ecx, dword [esp + 0x18]
cmp ecx, dword [ebp + 8]
je 0x45a2c3
cmp byte [esp + 0x1c], 0
je 0x45a2b9
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x45a2b9
push eax
call fcn.004a2e1b
add esp, 4
mov eax, 0x69
jmp 0x45a3ce
mov esi, dword [esp + 0x14]
lea edx, [esp + 0x34]
xor eax, eax
push edx
push ecx
push esi
mov byte [esp + 0x40], 0
mov dword [esp + 0x41], eax
mov dword [esp + 0x45], eax
mov dword [esp + 0x49], eax
mov word [esp + 0x4d], ax
mov byte [esp + 0x4f], al
call fcn.00495c50
lea eax, [ebp + 0x10]
lea edx, [esp + 0x40]
add esp, 0xc
mov ecx, 0x10
sub edx, eax
mov edi, dword [edx + eax]
cmp edi, dword [eax]
jne 0x45a351
sub ecx, 4
add eax, 4
cmp ecx, 4
jae 0x45a300
mov eax, dword [esp + 0x24]
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x45a36c
cmp byte [esp + 0x1c], 0
je 0x45a347
cmp esi, ebx
je 0x45a347
push esi
call fcn.004a2e1b
add esp, 4
mov eax, 0x6b
jmp 0x45a3ce
cmp byte [esp + 0x1c], 0
je 0x45a365
cmp esi, ebx
je 0x45a365
push esi
call fcn.004a2e1b
add esp, 4
mov eax, 0x68
jmp 0x45a3ce
mov ebp, dword [esp + 0x18]
push 0
lea ecx, [esp + 0x24]
push ecx
push ebp
push esi
mov dword [esp + 0x30], ebx
push edi
xor bl, bl
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x45a390
cmp dword [esp + 0x20], ebp
je 0x45a392
mov bl, 1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
je 0x45a3b8
cmp byte [esp + 0x1c], 0
je 0x45a3b1
test esi, esi
je 0x45a3b1
push esi
call fcn.004a2e1b
add esp, 4
mov eax, 0x6c
jmp 0x45a3ce
cmp byte [esp + 0x1c], 0
je 0x45a3cc
test esi, esi
je 0x45a3cc
push esi
call fcn.004a2e1b
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.004a0e91
add esp, 0x40
ret 4