Function at 0x4537d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x519d5d
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x55b098]
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
mov dword [ebp - 0x210], edi
mov byte [ebp - 0x1e4], 0x2b
mov al, 0x6d
xor al, byte [ebp - 0x1e4]
mov dl, 0x73
mov byte [ebp - 0x1e3], al
mov dh, 0x43
mov al, byte [ebp - 0x1e4]
mov bl, 0x77
xor dl, al
mov byte [ebp - 0x1da], 0
xor dh, al
mov byte [ebp - 0x1e2], dl
mov byte [ebp - 0x1dd], dh
xor bl, al
mov ah, 0x4d
mov byte [ebp - 0x1d5], 0x59
xor ah, al
mov byte [ebp - 0x1e1], bl
mov cl, 0x53
mov byte [ebp - 0x1e0], ah
xor cl, al
mov byte [ebp - 0x1da], 0
mov ch, 5
mov byte [ebp - 0x1df], cl
xor ch, al
mov bh, 0x4f
xor bh, al
mov byte [ebp - 0x1de], ch
mov al, byte [ebp - 0x1d5]
sub esp, 0x18
xor al, byte [ebp - 0x1e4]
mov edx, esp
mov byte [ebp - 0x1dc], bh
mov byte [ebp - 0x1db], al
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [edx + 0x14], 0xf
cmp dword [edx + 0x14], 0x10
mov dword [edx + 0x10], 0
jb 0x4538b9
mov eax, dword [edx]
jmp 0x4538bb
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x1e3], 0
jne 0x4538cb
xor ecx, ecx
jmp 0x4538dd
lea ecx, [ebp - 0x1e3]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4538d4
sub ecx, esi
push ecx
lea eax, [ebp - 0x1e3]
mov ecx, edx
push eax
call fcn.004488b0
call fcn.004519f0
push 0x550a9c
mov ecx, edi
call fcn.004511a0
mov ecx, dword [edi + 0xc]
mov eax, 0x92492493
sub ecx, dword [edi + 8]
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x454209
xor eax, eax
mov byte [ebp - 0x1e4], 3
mov dword [ebp - 0x20c], eax
mov cl, 0x5b
mov al, 0x45
mov byte [ebp - 0x1d5], 0x71
xor al, byte [ebp - 0x1e4]
mov dl, 0x5f
mov byte [ebp - 0x1e3], al
mov ah, 0x7b
mov al, byte [ebp - 0x1e4]
mov ch, 0x2d
xor cl, al
mov byte [ebp - 0x1da], 0
xor dl, al
mov dword [ebp - 0x1c], 0
xor ah, al
mov byte [ebp - 0x1e2], cl
xor ch, al
mov byte [ebp - 0x1df], ah
mov dh, 0x6b
mov byte [ebp - 0x1e1], dl
xor dh, al
mov byte [ebp - 0x1de], ch
mov bl, 0x65
mov byte [ebp - 0x1dd], dh
xor bl, al
mov byte [ebp - 0x1da], 0
mov bh, 0x67
mov byte [ebp - 0x1e0], bl
xor bh, al
mov al, byte [ebp - 0x1d5]
xor al, byte [ebp - 0x1e4]
mov byte [ebp - 0x1db], al
lea eax, [edi + 4]
push eax
lea eax, [ebp - 0x1e3]
mov byte [ebp - 0x1dc], bh
push eax
call fcn.00450ed0
mov dword [edi], eax
mov cl, 0x39
mov byte [ebp - 0x1f8], 0x61
mov dl, 0x3d
mov ch, 0x4f
mov byte [ebp - 0x1d5], 0x13
mov eax, dword [eax]
mov dh, 9
mov dword [ebp - 0x1c], eax
mov bl, 7
mov al, 0x27
mov byte [ebp - 0x1ee], 0
xor al, byte [ebp - 0x1f8]
mov ah, 0x19
mov byte [ebp - 0x1f7], al
mov bh, 5
mov al, byte [ebp - 0x1f8]
xor cl, al
mov byte [ebp - 0x1ee], 0
xor dl, al
mov byte [ebp - 0x1f6], cl
xor bl, al
mov byte [ebp - 0x1f5], dl
xor ah, al
mov byte [ebp - 0x1f4], bl
xor ch, al
mov byte [ebp - 0x1f3], ah
xor dh, al
mov byte [ebp - 0x1f2], ch
xor bh, al
mov byte [ebp - 0x1f1], dh
mov al, byte [ebp - 0x1d5]
xor al, byte [ebp - 0x1f8]
mov byte [ebp - 0x1ef], al
lea eax, [ebp - 0x1f7]
push 0x550a98
push eax
mov byte [ebp - 0x1f0], bh
call fcn.004f8d38
add esp, 8
mov dword [ebp - 0x1ec], eax
mov ah, 0x17
mov byte [ebp - 0x1d5], 0x32
mov byte [ebp - 0x1e5], ah
mov cl, 0x2c
mov ah, byte [ebp - 0x1d5]
mov dl, 0x28
mov byte [ebp - 0x1e4], 0x74
mov bl, 0x12
xor ah, byte [ebp - 0x1e4]
mov ch, 0xc
xor cl, byte [ebp - 0x1e4]
mov dh, 0x5a
mov byte [ebp - 0x1d5], ah
mov bh, 7
mov byte [ebp - 0x1e3], ah
mov al, 6
mov ah, byte [ebp - 0x1e5]
mov byte [ebp - 0x1e2], cl
mov cl, byte [ebp - 0x1e4]
xor dl, cl
mov byte [ebp - 0x1da], 0
xor bl, cl
mov byte [ebp - 0x1e1], dl
xor ch, cl
mov byte [ebp - 0x1e0], bl
xor dh, cl
mov byte [ebp - 0x1df], ch
xor bh, cl
mov byte [ebp - 0x1de], dh
xor al, cl
mov byte [ebp - 0x1dd], bh
xor ah, cl
mov byte [ebp - 0x1dc], al
cmp byte [ebp - 0x1d5], 0
mov byte [ebp - 0x1db], ah
mov byte [ebp - 0x1da], 0
mov dword [ebp - 0x214], 0xf
mov dword [ebp - 0x218], 0
mov byte [ebp - 0x228], 0
jne 0x453b2e
xor ecx, ecx
jmp 0x453b40
lea ecx, [ebp - 0x1e3]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x453b37
sub ecx, edx
push ecx
lea eax, [ebp - 0x1e3]
push eax
lea ecx, [ebp - 0x228]
call fcn.004488b0
cmp dword [ebp - 0x214], 0x10
lea ecx, [ebp - 0x68]
lea eax, [ebp - 0x228]
cmovae eax, dword [ebp - 0x228]
push ecx
push eax
call fcn.004f7fff
xor esi, esi
add esp, 8
test eax, eax
mov eax, dword [ebp - 0x214]
cmove esi, dword [ebp - 0x54]
cmp eax, 0x10
jb 0x453b9a
inc eax
lea ecx, [ebp - 0x228]
push eax
push dword [ebp - 0x228]
call fcn.00448ce0
mov dword [ebp - 0x18], esi
mov esi, dword [edi + 8]
mov edi, dword [edi + 0xc]
mov dword [ebp - 0x14], 0
cmp esi, edi
je 0x4541da
mov dword [ebp - 0x208], 0x64
nop dword [eax]
push 0xffffffffffffffff
push 0
push esi
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x40], 0xf
mov dword [ebp - 0x44], 0
mov byte [ebp - 0x54], 0
call fcn.004489b0
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 4], 0
lea eax, [ebp - 0x54]
cmp dword [ebp - 0x40], 0x10
mov dh, 0x61
mov byte [ebp - 0x1e4], 0x44
mov bl, 0x7a
cmovae eax, dword [ebp - 0x54]
mov ch, 0x1f
push eax
mov al, 0x69
mov byte [ebp - 0x1da], 0
mov dl, al
mov byte [ebp - 0x1e5], 0x19
mov cl, al
mov byte [ebp - 0x1da], 0
xor al, byte [ebp - 0x1e4]
mov ah, 0x64
mov byte [ebp - 0x1e3], al
mov bh, 0x37
mov al, byte [ebp - 0x1e4]
sub esp, 0x18
xor dl, al
xor dh, al
mov byte [ebp - 0x1e1], dl
xor cl, al
mov byte [ebp - 0x1dd], dh
xor bl, al
xor ah, al
mov byte [ebp - 0x1e2], cl
xor ch, al
mov byte [ebp - 0x1e0], bl
xor bh, al
mov byte [ebp - 0x1df], ah
mov al, byte [ebp - 0x1e5]
mov edx, esp
xor al, byte [ebp - 0x1e4]
mov byte [ebp - 0x1de], ch
mov byte [ebp - 0x1dc], bh
mov byte [ebp - 0x1db], al
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [edx + 0x14], 0xf
cmp dword [edx + 0x14], 0x10
mov dword [edx + 0x10], 0
jb 0x453cab
mov eax, dword [edx]
jmp 0x453cad
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x1e3], 0
jne 0x453cbd
xor ecx, ecx
jmp 0x453ccf
lea ecx, [ebp - 0x1e3]
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x453cc6
sub ecx, ebx
push ecx
lea eax, [ebp - 0x1e3]
mov ecx, edx
push eax
call fcn.004488b0
lea eax, [ebp - 0x240]
push eax
call fcn.00450b90
mov ecx, dword [0x56e460]
add esp, 0x20
add ecx, 0x26c
mov byte [ebp - 4], 1
lea eax, [ebp - 0x240]
cmp ecx, eax
je 0x453d11
push 0xffffffffffffffff
push 0
push eax
call fcn.004489b0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x22c]
cmp eax, 0x10
jb 0x453d33
inc eax
lea ecx, [ebp - 0x240]
push eax
push dword [ebp - 0x240]
call fcn.00448ce0
mov ebx, dword [ebp - 0x210]
mov eax, 0x92492493
mov ecx, dword [ebx + 0xc]
sub ecx, dword [ebx + 8]
imul ecx
mov eax, dword [ebp - 0x208]
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
xor edx, edx
div ecx
mov ecx, eax
call fcn.00454bc0
mov eax, dword [0x56e460]
cvttsd2si ecx, xmm0
mov byte [eax + 0x284], cl
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00451040
sub esp, 0x18
mov byte [ebp - 4], 2
mov ecx, esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 0xf
cmp dword [ecx + 0x14], 0x10
mov dword [ecx + 0x10], 0
jb 0x453db4
mov eax, dword [ecx]
jmp 0x453db6
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0x34]
push 0
push eax
call fcn.004489b0
push dword [ebx + 4]
push dword [ebx]
call fcn.00450e20
mov dword [ebp - 0x1d4], eax
test eax, eax
je 0x453e2f
mov ecx, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x1ec]
add ecx, eax
push 0
push ecx
push ebx
call fcn.004f8b79
add esp, 0xc
lea eax, [ebp - 0x18]
push ebx
push 1
push 4
push eax
call fcn.004f82c1
mov ecx, dword [ebp - 0x1d4]
mov eax, dword [ebp - 0x24]
add ecx, 4
push 0
add eax, ecx
push eax
push ebx
call fcn.004f8b79
add esp, 0x1c
lea eax, [ebp - 0x14]
push ebx
push 1
push 4
push eax
call fcn.004f82c1
add esp, 0x10
jmp 0x453edf
mov eax, dword [ebp - 0x24]
push eax
mov dword [ebp - 0x1d4], eax
call fcn.004f8de7
add esp, 4
lea ebx, [ebp - 0x34]
cmp dword [ebp - 0x20], 0x10
cmovae ebx, dword [ebp - 0x34]
push 2
push 0
push dword [ebp - 0x1ec]
call fcn.004f8b79
add esp, 0xc
lea eax, [ebp - 0x1d4]
push dword [ebp - 0x1ec]
push 1
push 4
push eax
call fcn.004f82c1
push 2
push 0
push dword [ebp - 0x1ec]
call fcn.004f8b79
add esp, 0x1c
push dword [ebp - 0x1ec]
push dword [ebp - 0x1d4]
push 1
push ebx
call fcn.004f82c1
mov ebx, dword [ebp - 0x1ec]
push 2
push 0
push ebx
call fcn.004f8b79
add esp, 0x1c
lea eax, [ebp - 0x18]
push ebx
push 1
push 4
push eax
call fcn.004f82c1
push 2
push 0
push ebx
call fcn.004f8b79
add esp, 0x1c
lea eax, [ebp - 0x14]
push ebx
push 1
push 4
push eax
call fcn.004f82c1
add esp, 0x10
inc dword [ebp - 0x20c]
push 0xb0
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.004f0ad0
mov byte [ebp - 0x204], 0x10
mov al, 0x56
xor al, byte [ebp - 0x204]
mov cl, 0x48
mov byte [ebp - 0x203], al
mov dl, 0x4c
mov al, byte [ebp - 0x204]
mov ah, 0x68
xor cl, al
mov byte [ebp - 0x1e5], 0x73
xor dl, al
mov byte [ebp - 0x202], cl
xor ah, al
mov byte [ebp - 0x1fa], 0
mov ch, 0x3e
mov byte [ebp - 0x1ff], ah
xor ch, al
mov byte [ebp - 0x201], dl
mov dh, 0x63
mov byte [ebp - 0x1fe], ch
xor dh, al
mov byte [ebp - 0x1fa], 0
mov bl, 0x76
mov byte [ebp - 0x1fd], dh
xor bl, al
lea ecx, [ebp - 0x118]
mov bh, 0x62
mov byte [ebp - 0x200], bl
xor bh, al
add esp, 4
mov al, byte [ebp - 0x1e5]
xor al, byte [ebp - 0x204]
mov byte [ebp - 0x1fb], al
lea eax, [ebp - 0x203]
push 0x28
push eax
mov byte [ebp - 0x1fc], bh
call fcn.00454270
push 0xb8
lea eax, [ebp - 0x1d0]
mov byte [ebp - 4], 3
push 0
push eax
call fcn.004f0ad0
cmp dword [ebp - 0x40], 0x10
lea eax, [ebp - 0x54]
lea ecx, [ebp - 0x1d0]
cmovae eax, dword [ebp - 0x54]
add esp, 4
push 0x20
push eax
call fcn.00454380
lea eax, [ebp - 0x1c0]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x118]
call fcn.00454490
lea ecx, [ebp - 0x114]
call fcn.0044e060
test eax, eax
jne 0x454014
mov eax, dword [ebp - 0x118]
lea ecx, [ebp - 0x118]
push 0
mov eax, dword [eax + 4]
add ecx, eax
mov edx, dword [ecx + 0xc]
or edx, 2
mov eax, edx
or eax, 4
cmp dword [ecx + 0x38], 0
cmovne eax, edx
push eax
call fcn.00449aa0
lea ecx, [ebp - 0x1c0]
call fcn.0044e060
test eax, eax
jne 0x45404e
mov eax, dword [ebp - 0x1d0]
lea ecx, [ebp - 0x1d0]
push 0
mov eax, dword [eax + 4]
add ecx, eax
mov edx, dword [ecx + 0xc]
or edx, 2
mov eax, edx
or eax, 4
cmp dword [ecx + 0x38], 0
cmovne eax, edx
push eax
call fcn.00449aa0
cmp dword [ebp - 0x40], 0x10
lea eax, [ebp - 0x54]
cmovae eax, dword [ebp - 0x54]
push eax
call fcn.004f7078
mov eax, dword [ebp - 0x14]
add esp, 4
add dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1d0]
add dword [ebp - 0x208], 0x64
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x1d0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x1d4], eax
lea ecx, [ebp - 0x1c0]
call fcn.0044bdb0
mov eax, dword [ebp - 0x1d0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_istream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x1d0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ebp + ecx - 0x1d4], eax
lea eax, [ebp - 0x160]
mov byte [ebp - 4], 5
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.004d668f
mov eax, dword [ebp - 0x118]
add esp, 4
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ofstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x118]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x11c], eax
lea ecx, [ebp - 0x114]
call fcn.0044bdb0
mov eax, dword [ebp - 0x118]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x118]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x11c], eax
lea eax, [ebp - 0xb0]
mov byte [ebp - 4], 6
push eax
mov dword [ebp - 0xb0], vtable.std::ios_base.0
call fcn.004d668f
mov eax, dword [ebp - 0x20]
add esp, 4
cmp eax, 0x10
jb 0x454170
inc eax
lea ecx, [ebp - 0x34]
push eax
push dword [ebp - 0x34]
call fcn.00448ce0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x20], 0xf
mov dword [ebp - 0x24], 0
mov byte [ebp - 0x34], 0
cmp eax, 0x10
jb 0x45419e
inc eax
lea ecx, [ebp - 0x54]
push eax
push dword [ebp - 0x54]
call fcn.00448ce0
add esi, 0x1c
cmp esi, edi
jne 0x453bc0
mov eax, dword [ebp - 0x20c]
test eax, eax
je 0x4541da
mov ebx, dword [ebp - 0x1ec]
add dword [ebp - 0x1c], eax
push 0
push 0
push ebx
call fcn.004f8b79
add esp, 0xc
lea eax, [ebp - 0x1c]
push ebx
push 1
push 4
push eax
call fcn.004f82c1
add esp, 0x10
push dword [ebp - 0x1ec]
call fcn.004f6fed
mov esi, dword [ebp - 0x210]
add esp, 4
push dword [ebp - 0x210]
mov edx, dword [esi + 0xc]
push ecx
mov ecx, dword [esi + 8]
call fcn.00454c00
mov eax, dword [esi + 8]
add esp, 8
mov dword [esi + 0xc], eax
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.004d7d33
mov esp, ebp
pop ebp
ret