Function at 0x4b58f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dda83
mov eax, dword fs:[0]
push eax
sub esp, 0x178
mov eax, dword [0x501fc0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, 1
mov dword [ebp - 0x180], edi
xorps xmm0, xmm0
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 1
push str._m_d__H
push eax
call fcn.004983b0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 2
push eax
call fcn.0048aeb0
mov esi, eax
add esp, 0xc
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x4b59dd
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x4b59ab
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4b59a1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b5a09
push ecx
push edx
call fcn.004bf0c8
add esp, 8
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
mov ecx, dword [ebp - 0x2c]
cmp ecx, 7
jbe 0x4b5a19
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4b5a0f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4b5a0f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004bf0c8
add esp, 8
lea eax, [ebp - 0x40]
push 0x2e
push eax
call fcn.0049f5b0
mov esi, eax
add esp, 8
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x4b5a98
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x4b5a66
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4b5a5c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b5ac4
push ecx
push edx
call fcn.004bf0c8
add esp, 8
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
mov ecx, dword [ebp - 0x2c]
cmp ecx, 7
jbe 0x4b5ad4
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4b5aca
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4b5aca
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004bf0c8
add esp, 8
push 0x5c
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00498f20
push str.Temp
push eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 3
push eax
call fcn.0045ec30
mov esi, eax
add esp, 0x18
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x4b5b6e
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x4b5b3c
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4b5b32
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b5be8
push ecx
push edx
call fcn.004bf0c8
add esp, 8
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
mov ecx, dword [ebp - 0x2c]
cmp ecx, 7
jbe 0x4b5ba4
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4b5b9a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b5be8
push ecx
push edx
call fcn.004bf0c8
add esp, 8
mov ecx, dword [ebp - 0x44]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 2
cmp ecx, 7
jbe 0x4b5bf8
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4b5bee
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4b5bee
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004bf0c8
add esp, 8
push 0x5c
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00498f20
push str.Temp
push eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 4
push eax
call fcn.0045ec30
mov esi, eax
add esp, 0x18
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x4b5c92
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x4b5c60
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4b5c56
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b5d0c
push ecx
push edx
call fcn.004bf0c8
add esp, 8
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
mov ecx, dword [ebp - 0x2c]
cmp ecx, 7
jbe 0x4b5cc8
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4b5cbe
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b5d0c
push ecx
push edx
call fcn.004bf0c8
add esp, 8
mov ecx, dword [ebp - 0x44]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 2
cmp ecx, 7
jbe 0x4b5d1c
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4b5d12
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4b5d12
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004bf0c8
add esp, 8
push 0x5c
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00498f20
push str.DbgDump
push eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 5
push eax
call fcn.0045ec30
mov esi, eax
add esp, 0x18
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x4b5db6
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x4b5d84
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4b5d7a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b5e30
push ecx
push edx
call fcn.004bf0c8
add esp, 8
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
mov ecx, dword [ebp - 0x2c]
cmp ecx, 7
jbe 0x4b5dec
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4b5de2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b5e30
push ecx
push edx
call fcn.004bf0c8
add esp, 8
mov ecx, dword [ebp - 0x44]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 2
cmp ecx, 7
jbe 0x4b5e40
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4b5e36
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4b5e36
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004bf0c8
add esp, 8
push 0x5c
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00498f20
mov esi, eax
add esp, 0xc
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x4b5ec3
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x4b5e91
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4b5e87
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b5eef
push ecx
push edx
call fcn.004bf0c8
add esp, 8
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
mov ecx, dword [ebp - 0x2c]
cmp ecx, 7
jbe 0x4b5eff
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4b5ef5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4b5ef5
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004bf0c8
add esp, 8
cmp byte [0x501efa], 0
je 0x4b5f6c
mov ecx, dword [ebp - 0x18]
mov eax, 0x7ffffffe
sub eax, ecx
cmp eax, 4
jb 0x4b6840
cmp dword [ebp - 0x14], 7
lea eax, [ebp - 0x28]
push 4
cmova eax, dword [ebp - 0x28]
push str..txt
push ecx
push eax
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x180]
lea ecx, [ebp - 0x40]
call fcn.00461a90
mov edi, 5
cmp dword [ebp - 0x2c], 7
lea eax, [ebp - 0x40]
push 0xa
cmova eax, dword [ebp - 0x40]
push eax
mov byte [ebp - 4], 6
call fcn.0049e520
add esp, 8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.004b4420
push 0x5c
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00498f20
push 0x4e3234
push eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 7
push eax
call fcn.0045ec30
mov esi, eax
add esp, 0x18
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x4b6006
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x4b5fd4
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4b5fca
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b6080
push ecx
push edx
call fcn.004bf0c8
add esp, 8
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
mov ecx, dword [ebp - 0x2c]
cmp ecx, 7
jbe 0x4b603c
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4b6032
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b6080
push ecx
push edx
call fcn.004bf0c8
add esp, 8
mov ecx, dword [ebp - 0x44]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 2
cmp ecx, 7
jbe 0x4b6090
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4b6086
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4b6086
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004bf0c8
add esp, 8
lea eax, [ebp - 0x28]
push eax
call fcn.004796a0
push 0x5c
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00498f20
mov esi, eax
add esp, 0x10
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x4b611c
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x4b60ea
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4b60e0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b6148
push ecx
push edx
call fcn.004bf0c8
add esp, 8
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
mov ecx, dword [ebp - 0x2c]
cmp ecx, 7
jbe 0x4b6158
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4b614e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4b614e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004bf0c8
add esp, 8
cmp byte [0x501efa], 0
je 0x4b61c3
mov ecx, dword [ebp - 0x18]
mov eax, 0x7ffffffe
sub eax, ecx
cmp eax, 4
jb 0x4b6840
cmp dword [ebp - 0x14], 7
lea eax, [ebp - 0x28]
push 4
cmova eax, dword [ebp - 0x28]
push str..txt
push ecx
push eax
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x180]
lea ecx, [ebp - 0x40]
call fcn.00461a90
or edi, 8
cmp dword [ebp - 0x2c], 7
lea eax, [ebp - 0x40]
push 0xa
cmova eax, dword [ebp - 0x40]
push eax
mov byte [ebp - 4], 8
call fcn.0049e520
add esp, 8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.004b4420
cmp dword [ebp - 0x14], 7
lea eax, [ebp - 0x28]
mov esi, dword [ebp - 0x18]
xorps xmm0, xmm0
cmova eax, dword [ebp - 0x28]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x180], eax
movups xmmword [ebp - 0x58], xmm0
cmp esi, 0x7ffffffe
ja 0x4b6845
cmp esi, 7
ja 0x4b6211
mov ecx, 7
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x44], ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x58], xmm0
jmp 0x4b6270
mov eax, esi
or eax, 7
cmp eax, 0x7ffffffe
jbe 0x4b6224
mov eax, 0x7ffffffe
jmp 0x4b622e
mov ecx, 0xa
cmp eax, ecx
cmovb eax, ecx
mov dword [ebp - 0x184], eax
lea eax, [ebp - 0x184]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0045f300
mov ecx, dword [ebp - 0x184]
mov dword [ebp - 0x44], ecx
lea ecx, [esi*2 + 2]
push ecx
push dword [ebp - 0x180]
mov dword [ebp - 0x58], eax
push eax
mov dword [ebp - 0x48], esi
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [ebp - 0x44]
add esp, 0x14
mov esi, dword [ebp - 0x48]
or edi, 1
mov byte [ebp - 4], 9
mov dword [ebp - 0x180], edi
test esi, esi
je 0x4b62db
lea edx, [esi - 1]
cmp esi, edx
jbe 0x4b684a
mov edi, dword [ebp - 0x58]
lea eax, [ebp - 0x58]
cmp ecx, 7
cmova eax, edi
movzx eax, word [eax + edx*2]
cmp eax, 0x5c
je 0x4b62db
cmp eax, 0x2f
je 0x4b62db
cmp esi, ecx
jae 0x4b62c2
lea eax, [esi + 1]
cmp ecx, 7
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x58]
cmova eax, edi
mov dword [eax + esi*2], 0x5c
jmp 0x4b62db
push 0x5c
mov byte [ebp - 0x184], 0
lea ecx, [ebp - 0x58]
push dword [ebp - 0x184]
push 1
call fcn.00460aa0
cmp dword [ebp - 0x5c], 7
lea eax, [ebp - 0x70]
push dword [ebp - 0x60]
cmova eax, dword [ebp - 0x70]
lea ecx, [ebp - 0x58]
push eax
mov dword [ebp - 4], 0xa
call fcn.004b4550
mov dword [ebp - 0x30], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x2c], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x40], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x30], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
push str..txt
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.0045ec30
mov esi, eax
add esp, 0xc
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x4b63a1
mov eax, dword [ebp - 0x14]
cmp eax, 7
jbe 0x4b636f
push eax
push dword [ebp - 0x28]
lea eax, [ebp - 0x28]
push eax
call fcn.004b41f0
add esp, 0xc
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
lea ecx, [ebp - 0xa0]
call fcn.004b4420
mov eax, dword [ebp - 0x2c]
cmp eax, 7
jbe 0x4b63c4
push eax
push dword [ebp - 0x40]
lea eax, [ebp - 0x40]
push eax
call fcn.004b41f0
add esp, 0xc
mov ecx, dword [ebp - 0x44]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 2
cmp ecx, 7
jbe 0x4b6418
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4b640e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4b640e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004bf0c8
add esp, 8
mov ecx, dword [ebp - 0x5c]
mov byte [0x501efa], 0
mov byte [ebp - 4], 1
cmp ecx, 7
jbe 0x4b645d
mov edx, dword [ebp - 0x70]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4b6453
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b680f
push ecx
push edx
call fcn.004bf0c8
add esp, 8
cmp dword [ebp - 0x14], 7
lea eax, [ebp - 0x28]
push 0xa
cmova eax, dword [ebp - 0x28]
push 0x4e323c
push eax
call fcn.00498490
mov esi, eax
add esp, 0xc
lea eax, [ebp - 0x28]
test esi, esi
jne 0x4b64ad
push eax
lea eax, [ebp - 0xa0]
push str.Cant_open_ab
push eax
call fcn.0045ee50
add esp, 0xc
lea ecx, [ebp - 0xa0]
call fcn.004b4420
mov byte [ebp - 0x179], 0
jmp 0x4b679f
cmp dword [ebp - 0x14], 7
lea ecx, [ebp - 0x178]
cmova eax, dword [ebp - 0x28]
push eax
call fcn.00462860
cmp dword [ebp - 0x158], 0
mov edi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
jne 0x4b677a
xorps xmm0, xmm0
mov dword [ebp - 0x60], 2
movups xmmword [ebp - 0x70], xmm0
mov eax, 0xfeff
mov dword [ebp - 0x5c], 0xf
mov word [ebp - 0x70], ax
mov byte [ebp - 0x6e], 0
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.004b0820
add esp, 8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x70]
call fcn.004656e0
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x4c]
sub eax, ecx
push esi
push eax
push 1
push ecx
call edi
add esp, 0x10
lea ecx, [ebp - 0x4c]
call fcn.004657e0
lea eax, [ebp - 0x88]
push eax
call fcn.0048ef10
push 0x4e3040
push eax
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 0xd
push eax
call fcn.0045ec30
add esp, 0x10
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0xf
call fcn.004b4420
lea eax, [ebp - 0xb8]
push eax
call fcn.0048aeb0
push 0x4e3040
push eax
lea eax, [ebp - 0x118]
mov byte [ebp - 4], 0x10
push eax
call fcn.0045ec30
add esp, 0x10
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 0x12
call fcn.004b4420
lea eax, [ebp - 0x88]
push eax
call fcn.0047b2a0
push 0x4e3040
push eax
lea eax, [ebp - 0x100]
mov byte [ebp - 4], 0x13
push eax
call fcn.0045ec30
add esp, 0x10
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0x15
call fcn.004b4420
lea eax, [ebp - 0xb8]
push 0
push eax
call fcn.0048eb70
push 0x4e3040
push eax
lea eax, [ebp - 0xe8]
mov byte [ebp - 4], 0x16
push eax
call fcn.0045ec30
add esp, 0x14
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 0x18
call fcn.004b4420
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0xd0]
push eax
call fcn.0045ed30
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 0x19
push ecx
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.0045ebd0
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 0x1a
push ecx
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0045ebd0
add esp, 0x24
lea ecx, [ebp - 0x88]
call fcn.004b4420
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 0x1d
call fcn.004b4420
push 0x4e3264
sub esp, 0x18
lea eax, [ebp - 0x40]
mov ecx, esp
push eax
call fcn.004617b0
lea eax, [ebp - 0x70]
push eax
call fcn.004ad800
lea eax, [ebp - 0x130]
mov byte [ebp - 4], 0x1e
push 0x4e3090
push eax
call fcn.004983b0
push 0x4e2ddc
push eax
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 0x1f
push eax
call fcn.0045ec30
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x20
push ecx
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.0045ebd0
add esp, 0x40
push 0x4e3040
push eax
mov byte [ebp - 4], 0x21
lea eax, [ebp - 0xd0]
push eax
call fcn.0045ec30
add esp, 0xc
lea ecx, [ebp - 0x70]
push eax
call fcn.004665a0
lea ecx, [ebp - 0xd0]
call fcn.004b4420
lea ecx, [ebp - 0xb8]
call fcn.004b4420
lea ecx, [ebp - 0x88]
call fcn.004b4420
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 0x1e
call fcn.004b4420
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.004b08e0
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x4c]
sub eax, ecx
push esi
push eax
push 1
push ecx
call edi
add esp, 0x18
lea ecx, [ebp - 0x4c]
call fcn.004657e0
lea ecx, [ebp - 0x70]
call fcn.004b4420
lea ecx, [ebp - 0x40]
call fcn.004b4420
lea ecx, [ebp - 0xe8]
call fcn.004b4420
lea ecx, [ebp - 0x100]
call fcn.004b4420
lea ecx, [ebp - 0x118]
call fcn.004b4420
lea ecx, [ebp - 0xa0]
call fcn.004b4420
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
sub eax, ecx
je 0x4b678e
push esi
push eax
push 1
push ecx
call edi
add esp, 0x10
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
mov byte [ebp - 0x179], 1
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x4b67d5
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4b67cb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b680f
push ecx
push edx
call fcn.004bf0c8
add esp, 8
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
test ecx, ecx
je 0x4b681f
mov edx, dword [ebp + 0x10]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x4b6815
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4b6815
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004bf0c8
add esp, 8
mov al, byte [ebp - 0x179]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004bf563
mov esp, ebp
pop ebp
ret
call fcn.004b4480
call fcn.004b4480
call fcn.004b44c0
int3