Function at 0x4b5360
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d1e17
mov eax, dword fs:[0]
push eax
sub esp, 0x164
mov eax, dword [0x4f4f98]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov dword [ebp - 0x16c], eax
lea eax, [ebp - 0x16c]
push eax
lea eax, [ebp - 0x13c]
mov dword [ebp - 0x168], edx
push eax
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__localtime64_s]
add esp, 0xc
test eax, eax
je 0x4b540c
xor eax, eax
mov dword [ebp - 0x70], 0
push eax
push 0x4d5da0
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
call fcn.004b3de0
jmp 0x4b5424
push str._m_d__H
lea eax, [ebp - 0x13c]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.004ae3d0
add esp, 0xc
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 2
push eax
call fcn.0048a790
mov esi, eax
add esp, 4
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x4b54a5
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4b5473
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4b5469
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b54d1
push edx
push ecx
call fcn.004be864
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 edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x4b54e1
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4b54d7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4b54d7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004be864
add esp, 8
lea eax, [ebp - 0x58]
push 0x2e
push eax
call fcn.0049f1f0
mov esi, eax
add esp, 8
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x4b5560
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4b552e
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4b5524
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b558c
push edx
push ecx
call fcn.004be864
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 edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x4b559c
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4b5592
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4b5592
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004be864
add esp, 8
push 0x5c
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.004987a0
push str.Temp
push eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 3
push eax
call fcn.0045ebd0
mov esi, eax
add esp, 0x18
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x4b5636
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4b5604
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4b55fa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b56b0
push edx
push ecx
call fcn.004be864
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 edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x4b566c
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4b5662
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b56b0
push edx
push ecx
call fcn.004be864
add esp, 8
mov edx, 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 edx, 8
jb 0x4b56c0
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4b56b6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4b56b6
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004be864
add esp, 8
push 0x5c
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.004987a0
push str.Temp
push eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 4
push eax
call fcn.0045ebd0
mov esi, eax
add esp, 0x18
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x4b575a
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4b5728
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4b571e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b57d4
push edx
push ecx
call fcn.004be864
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 edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x4b5790
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4b5786
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b57d4
push edx
push ecx
call fcn.004be864
add esp, 8
mov edx, 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 edx, 8
jb 0x4b57e4
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4b57da
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4b57da
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004be864
add esp, 8
push 0x5c
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.004987a0
push str.DbgDump
push eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 5
push eax
call fcn.0045ebd0
mov esi, eax
add esp, 0x18
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x4b587e
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4b584c
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4b5842
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b58f8
push edx
push ecx
call fcn.004be864
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 edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x4b58b4
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4b58aa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b58f8
push edx
push ecx
call fcn.004be864
add esp, 8
mov edx, 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 edx, 8
jb 0x4b5908
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4b58fe
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4b58fe
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004be864
add esp, 8
push 0x5c
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.004987a0
mov esi, eax
add esp, 0xc
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x4b598b
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4b5959
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4b594f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b59b7
push edx
push ecx
call fcn.004be864
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 edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x4b59c7
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4b59bd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4b59bd
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004be864
add esp, 8
cmp byte [0x4f4f0a], 0
mov edi, 0x7ffffffe
je 0x4b5a67
mov ecx, dword [ebp - 0x18]
mov eax, edi
sub eax, ecx
cmp eax, 4
jb 0x4b62fc
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 4
cmovae eax, dword [ebp - 0x28]
push str..txt
push ecx
push eax
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x168]
lea ecx, [ebp - 0x40]
call fcn.004616e0
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push 0xa
cmovae eax, dword [ebp - 0x40]
push eax
mov byte [ebp - 4], 6
call fcn.0049e1e0
mov edx, dword [ebp - 0x2c]
add esp, 8
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x4b5a67
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4b5a5d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b5ce0
push edx
push ecx
call fcn.004be864
add esp, 8
push 0x5c
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.004987a0
push 0x4d71e4
push eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 7
push eax
call fcn.0045ebd0
mov esi, eax
add esp, 0x18
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x4b5b01
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4b5acf
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4b5ac5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b5b7b
push edx
push ecx
call fcn.004be864
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 edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x4b5b37
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4b5b2d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b5b7b
push edx
push ecx
call fcn.004be864
add esp, 8
mov edx, 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 edx, 8
jb 0x4b5b8b
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4b5b81
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4b5b81
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004be864
add esp, 8
lea eax, [ebp - 0x28]
push eax
call fcn.00478e40
push 0x5c
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.004987a0
mov esi, eax
add esp, 0x10
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x4b5c17
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4b5be5
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4b5bdb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b5c43
push edx
push ecx
call fcn.004be864
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 edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x4b5c53
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4b5c49
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4b5c49
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004be864
add esp, 8
cmp byte [0x4f4f0a], 0
je 0x4b5cf0
mov ecx, dword [ebp - 0x18]
mov eax, edi
sub eax, ecx
cmp eax, 4
jb 0x4b62fc
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 4
cmovae eax, dword [ebp - 0x28]
push str..txt
push ecx
push eax
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x168]
lea ecx, [ebp - 0x40]
call fcn.004616e0
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push 0xa
cmovae eax, dword [ebp - 0x40]
push eax
mov byte [ebp - 4], 8
call fcn.0049e1e0
mov edx, dword [ebp - 0x2c]
add esp, 8
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x4b5cf0
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4b5ce6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4b5ce6
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004be864
add esp, 8
push 0x5c
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.004987a0
add esp, 0xc
cmp dword [ebp - 0x5c], 8
lea ecx, [ebp - 0x70]
push dword [ebp - 0x60]
cmovae ecx, dword [ebp - 0x70]
push ecx
mov ecx, eax
mov byte [ebp - 4], 9
call fcn.004b3ac0
mov dword [ebp - 0x40], 0
xor ecx, ecx
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
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], 0xa
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0045ebd0
mov esi, eax
add esp, 0xc
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x4b5de6
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4b5db4
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4b5daa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b5eb5
push edx
push ecx
call fcn.004be864
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 edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x4b5e20
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4b5e16
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b5eb5
push edx
push ecx
call fcn.004be864
add esp, 8
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov byte [ebp - 4], 9
cmp edx, 8
jb 0x4b5e6e
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4b5e64
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b5eb5
push edx
push ecx
call fcn.004be864
add esp, 8
mov edx, dword [ebp - 0x74]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x4b5ec5
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4b5ebb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4b5ebb
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004be864
add esp, 8
mov eax, dword [ebp - 0x5c]
mov byte [0x4f4f0a], 0
mov byte [ebp - 4], 1
cmp eax, 8
jb 0x4b5ee5
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.004b42c0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0xa
cmovae eax, dword [ebp - 0x28]
push 0x4d71ec
push eax
call fcn.00497d30
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4b5f54
mov ecx, dword [ebp - 0x18]
sub edi, ecx
cmp edi, 0xf
jb 0x4b6301
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push ecx
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp - 0xe8]
push eax
push 0xf
push str.Cant_open_ab
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x168]
call fcn.004616e0
lea ecx, [ebp - 0xe8]
call fcn.004b3870
mov byte [ebp - 0x161], 0
jmp 0x4b62aa
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x160]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00462460
cmp dword [ebp - 0x140], 0
mov edi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
jne 0x4b6285
push 2
mov dword [ebp - 0x40], 0
lea ecx, [ebp - 0x40]
push 0x4d7214
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.004b3b30
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0x170]
push eax
call fcn.004afc20
mov edx, dword [ebp - 0x2c]
add esp, 8
mov byte [ebp - 4], 1
cmp edx, 0x10
jb 0x4b5ff7
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4b5fed
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4b5fed
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004be864
add esp, 8
mov eax, dword [ebp - 0x16c]
mov ecx, dword [ebp - 0x170]
sub eax, ecx
push esi
push eax
push 1
push ecx
call edi
add esp, 0x10
lea ecx, [ebp - 0x170]
call fcn.00465180
lea eax, [ebp - 0xd0]
push eax
call fcn.0048e7c0
push 0x4d6ff0
push eax
lea eax, [ebp - 0xe8]
mov byte [ebp - 4], 0xc
push eax
call fcn.0045ebd0
add esp, 0x10
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 0xe
call fcn.004b3870
lea eax, [ebp - 0xb8]
push eax
call fcn.0048a790
push 0x4d6ff0
push eax
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 0xf
push eax
call fcn.0045ebd0
add esp, 0x10
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 0x11
call fcn.004b3870
lea eax, [ebp - 0xa0]
push eax
call fcn.0047ac20
push 0x4d6ff0
push eax
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 0x12
push eax
call fcn.0045ebd0
add esp, 0x10
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0x14
call fcn.004b3870
lea eax, [ebp - 0x88]
push 0
push eax
call fcn.0048e2e0
push 0x4d6ff0
push eax
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 0x15
push eax
call fcn.0045ebd0
add esp, 0x14
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0x17
call fcn.004b3870
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0xe8]
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.0045ec40
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 0x18
push ecx
push eax
lea eax, [ebp - 0x100]
push eax
call fcn.0045eb70
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0x19
push ecx
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0045eb70
add esp, 0x24
lea ecx, [ebp - 0x100]
call fcn.004b3870
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 0x1c
call fcn.004b3870
push 0x4d7218
sub esp, 0x18
lea eax, [ebp - 0x40]
mov ecx, esp
push eax
call fcn.004613e0
lea eax, [ebp - 0x58]
push eax
call fcn.004acd20
push 0
mov byte [ebp - 4], 0x1d
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov dword [ebp - 0x16c], eax
lea eax, [ebp - 0x16c]
push 0x4d7040
push eax
lea eax, [ebp - 0x88]
mov dword [ebp - 0x168], edx
push eax
call fcn.004ae540
push 0x4d6d8c
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 0x1e
push eax
lea eax, [ebp - 0x130]
push eax
call fcn.0045ebd0
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x1f
push ecx
push eax
lea eax, [ebp - 0x100]
push eax
call fcn.0045eb70
add esp, 0x48
push 0x4d6ff0
push eax
lea eax, [ebp - 0x118]
mov byte [ebp - 4], 0x20
push eax
call fcn.0045ebd0
add esp, 0xc
lea ecx, [ebp - 0x58]
push eax
call fcn.004660d0
lea ecx, [ebp - 0x118]
call fcn.004b3870
lea ecx, [ebp - 0x100]
call fcn.004b3870
lea ecx, [ebp - 0x130]
call fcn.004b3870
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0x1d
call fcn.004b3870
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.004afce0
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x64]
sub eax, ecx
push esi
push eax
push 1
push ecx
call edi
add esp, 0x18
lea ecx, [ebp - 0x64]
call fcn.00465180
lea ecx, [ebp - 0x58]
call fcn.004b3870
lea ecx, [ebp - 0x40]
call fcn.004b3870
lea ecx, [ebp - 0xa0]
call fcn.004b3870
lea ecx, [ebp - 0xb8]
call fcn.004b3870
lea ecx, [ebp - 0xd0]
call fcn.004b3870
lea ecx, [ebp - 0xe8]
call fcn.004b3870
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
sub eax, ecx
je 0x4b6299
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 - 0x161], 1
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x4b62bf
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004b42c0
xor eax, eax
mov dword [ebp - 0x18], 0
lea ecx, [ebp + 8]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00465180
mov al, byte [ebp - 0x161]
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.004bee1d
mov esp, ebp
pop ebp
ret
call fcn.004b3960
call fcn.004b3960
int3