Function at 0x4534b0
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4bfda0
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x4f4de0]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4f4de0]
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 0x4536ce
mov ebp, dword [ecx + 4]
mov ecx, dword [ecx + 8]
cmp ecx, 0x20
jl 0x453519
cmp dword [ebp], 0x6c7a6d61
jne 0x453519
cmp dword [ebp + 4], 1
jbe 0x453523
lea eax, [ebx + 0x66]
jmp 0x4536ce
mov eax, 0x65
jmp 0x4536ce
mov edx, dword [ebp + 0xc]
lea eax, [edx + 0x20]
cmp eax, ecx
je 0x453537
mov eax, 0x67
jmp 0x4536ce
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.00453320
mov ecx, esi
lea eax, [esp + 0x28]
call fcn.004533e0
mov esi, eax
cmp esi, ebx
je 0x453598
cmp byte [esp + 0x1c], 0
je 0x453591
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x453591
push eax
call fcn.0049961b
add esp, 4
mov eax, esi
jmp 0x4536ce
mov ecx, dword [esp + 0x18]
cmp ecx, dword [ebp + 8]
je 0x4535c3
cmp byte [esp + 0x1c], 0
je 0x4535b9
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x4535b9
push eax
call fcn.0049961b
add esp, 4
mov eax, 0x69
jmp 0x4536ce
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.0048e4d9
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 0x453651
sub ecx, 4
add eax, 4
cmp ecx, 4
jae 0x453600
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 0x45366c
cmp byte [esp + 0x1c], 0
je 0x453647
cmp esi, ebx
je 0x453647
push esi
call fcn.0049961b
add esp, 4
mov eax, 0x6b
jmp 0x4536ce
cmp byte [esp + 0x1c], 0
je 0x453665
cmp esi, ebx
je 0x453665
push esi
call fcn.0049961b
add esp, 4
mov eax, 0x68
jmp 0x4536ce
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 0x453690
cmp dword [esp + 0x20], ebp
je 0x453692
mov bl, 1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
je 0x4536b8
cmp byte [esp + 0x1c], 0
je 0x4536b1
test esi, esi
je 0x4536b1
push esi
call fcn.0049961b
add esp, 4
mov eax, 0x6c
jmp 0x4536ce
cmp byte [esp + 0x1c], 0
je 0x4536cc
test esi, esi
je 0x4536cc
push esi
call fcn.0049961b
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.00497941
add esp, 0x40
ret 4