Function at 0x450c00
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4d9d86
mov eax, dword fs:[0]
push eax
sub esp, 0x178
mov eax, dword [0x51d260]
xor eax, esp
mov dword [esp + 0x174], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x51d260]
xor eax, esp
push eax
lea eax, [esp + 0x18c]
mov dword fs:[0], eax
xor ebx, ebx
mov ebp, ecx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x84], 0xf
mov dword [esp + 0x80], ebx
mov byte [esp + 0x70], bl
lea ecx, [esp + 0x54]
mov dword [esp + 0x194], ebx
xor esi, esi
mov dword [esp + 0x18], ebx
call fcn.0049bb57
lea eax, [esp + 0x30]
or edi, 0xffffffff
push eax
mov byte [esp + 0x198], 1
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], 2
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], 0x46
mov dword [esp + 0x54], edi
call fcn.004a3202
mov dword [esp + 0x28], eax
and eax, edx
add esp, 4
mov dword [esp + 0x28], edx
cmp eax, edi
jne 0x450cc3
push 0x80070057
call fcn.00403fb0
lea ecx, [esp + 0x30]
push ecx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], 0x12
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], 0x8a
mov dword [esp + 0x54], edi
call fcn.004a3202
mov dword [esp + 0x20], eax
and eax, edx
add esp, 4
mov dword [esp + 0x20], edx
cmp eax, edi
jne 0x450d0c
push 0x80070057
call fcn.00403fb0
push 0xff
lea edx, [esp + 0x8d]
push ebx
push edx
mov byte [esp + 0x94], bl
call fcn.004a0350
add esp, 0xc
mov ecx, ebp
mov dword [ebp + 0x88cf0], ebx
call fcn.0044ec50
add ebp, 0x1338
lea esp, [esp]
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x450d45
sub eax, edx
push eax
push ebp
lea ecx, [esp + 0x74]
call fcn.004018a0
push esi
lea eax, [esp + 0x8c]
push 0x4e1990
push eax
call fcn.004a1520
lea eax, [esp + 0x94]
add esp, 0xc
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x450d80
sub eax, edx
push eax
lea ecx, [esp + 0x8c]
push ecx
lea ecx, [esp + 0x74]
call fcn.004057d0
cmp dword [esp + 0x84], 0x10
mov eax, dword [esp + 0x70]
jae 0x450dad
lea eax, [esp + 0x70]
push ebx
push eax
lea ecx, [esp + 0x5c]
call fcn.0049bbec
mov edi, eax
cmp edi, 1
jne 0x450df8
lea ecx, [esp + 0x54]
call fcn.0049b8f0
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x58]
call fcn.0049ba74
mov ecx, dword [esp + 0x28]
cmp ecx, dword [esp + 0x20]
jg 0x450df8
mov eax, dword [esp + 0x24]
jl 0x450dec
cmp eax, dword [esp + 0x1c]
jae 0x450df8
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x18], esi
lea ecx, [esp + 0x54]
call fcn.0049b80a
cmp edi, ebx
je 0x450e6b
inc esi
cmp esi, 0x32
jl 0x450d40
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x450e14
sub eax, edx
push eax
push ebp
lea ecx, [esp + 0x74]
call fcn.004018a0
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x8c]
push 0x4e1990
push ecx
call fcn.004a1520
lea eax, [esp + 0x94]
add esp, 0xc
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x450e50
sub eax, edx
push eax
lea edx, [esp + 0x8c]
push edx
lea ecx, [esp + 0x74]
call fcn.004057d0
mov eax, dword [esp + 0x70]
mov esi, 0x10
cmp dword [esp + 0x84], esi
jae 0x450e81
lea eax, [esp + 0x70]
push 0x4e1a14
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.004a3a54
mov edx, dword [esp + 0x20]
add esp, 0xc
cmp edx, ebx
je 0x450ee3
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + 0xb1c]
mov ecx, dword [ecx + 0xb14]
push edx
push eax
push 1
push ecx
call fcn.004a3d41
mov ecx, dword [esp + 0x24]
push ecx
call fcn.004a38fd
add esp, 0x14
lea ecx, [esp + 0x54]
mov byte [esp + 0x194], bl
call fcn.0049bb7d
cmp dword [esp + 0x84], esi
jb 0x450f09
mov edx, dword [esp + 0x70]
push edx
jmp 0x450f01
lea ecx, [esp + 0x54]
mov byte [esp + 0x194], bl
call fcn.0049bb7d
cmp dword [esp + 0x84], esi
jb 0x450f09
mov eax, dword [esp + 0x70]
push eax
call fcn.0048f8b2
add esp, 4
mov ecx, dword [esp + 0x18c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x174]
xor ecx, esp
call fcn.004a0abf
add esp, 0x184
ret