Function at 0x4dc320
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52af5c
mov eax, dword fs:[0]
push eax
sub esp, 0x384
mov eax, dword [0x5644a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x370], ecx
push 8
call dword [sym.imp.Dump.dll_if_dump]
add esp, 4
test eax, eax
je 0x4dc3b6
push str._boot_task_check_json_filefile_length_1_
lea ecx, [ebp - 0xbc]
call fcn.0040e500
mov dword [ebp - 0x374], eax
mov eax, dword [ebp - 0x374]
mov dword [ebp - 0x378], eax
mov dword [ebp - 4], 0
lea ecx, [ebp + 0x10]
push ecx
mov ecx, dword [ebp - 0x378]
call fcn.004367b0
push eax
push 8
call dword [sym.imp.Dump.dll_dump]
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xbc]
call fcn.0040c9f0
xor edx, edx
jne 0x4dc351
cmp dword [ebp + 0xc], 0
je 0x4dc3d5
cmp dword [ebp + 0x10], 0
jbe 0x4dc3d5
mov ecx, dword [ebp + 8]
call fcn.00402cb0
movzx eax, al
test eax, eax
je 0x4dc3dd
or eax, 0xffffffff
jmp 0x4dc9fa
mov ecx, dword [ebp + 0x14]
push ecx
push 0
push 0
mov ecx, dword [ebp - 0x370]
call fcn.004dc010
push 0x28
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
lea ecx, [eax + edx - 0x28]
push ecx
lea ecx, [ebp - 0x248]
call fcn.00424f70
mov dword [ebp - 4], 1
push 0x49546e
lea edx, [ebp - 0x344]
push edx
lea ecx, [ebp - 0x248]
call fcn.0042ada0
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x348]
push ecx
lea ecx, [ebp - 0x248]
call fcn.0042a850
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x34c]
push eax
lea ecx, [ebp - 0x248]
call fcn.0042ada0
mov ecx, dword [eax]
push ecx
lea edx, [ebp - 0x350]
push edx
call fcn.0045e060
add esp, 0x14
mov byte [ebp - 0x2e0], 0
xor eax, eax
mov dword [ebp - 0x2df], eax
mov dword [ebp - 0x2db], eax
mov dword [ebp - 0x2d7], eax
mov dword [ebp - 0x2d3], eax
mov word [ebp - 0x2cf], ax
mov byte [ebp - 0x2cd], al
lea ecx, [ebp - 0x2cc]
call fcn.004299e0
mov ecx, dword [ebp + 0x10]
sub ecx, 0x28
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x2cc]
call fcn.004be090
lea ecx, [ebp - 0x2cc]
call fcn.004be010
push 0x14
lea eax, [ebp - 0x2e0]
push eax
lea ecx, [ebp - 0x2cc]
call fcn.004be0c0
push 0x14
lea ecx, [ebp - 0x2e0]
push ecx
lea ecx, [ebp - 0x338]
call fcn.00424f70
mov byte [ebp - 4], 2
push 0x14
lea ecx, [ebp - 0x338]
call fcn.00402b10
push eax
lea edx, [ebp - 0x26c]
push edx
call fcn.0050dee0
add esp, 0xc
mov byte [ebp - 4], 3
lea eax, [ebp - 0x26c]
push eax
lea ecx, [ebp - 0xd8]
push ecx
call fcn.0051f360
add esp, 8
mov dword [ebp - 0x37c], eax
mov edx, dword [ebp - 0x37c]
mov dword [ebp - 0x380], edx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x380]
push eax
lea ecx, [ebp - 0x248]
call fcn.0041b7b0
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0x351], al
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xd8]
call fcn.00402ab0
movzx ecx, byte [ebp - 0x351]
test ecx, ecx
je 0x4dc648
mov edx, dword [ebp + 0x14]
push edx
push 2
push 0
mov ecx, dword [ebp - 0x370]
call fcn.004dc010
push 8
call dword [sym.imp.Dump.dll_if_dump]
add esp, 4
test eax, eax
je 0x4dc5da
push str.check_json_file_fail
lea ecx, [ebp - 0x184]
call fcn.0040e500
mov dword [ebp - 0x384], eax
mov eax, dword [ebp - 0x384]
mov dword [ebp - 0x388], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x388]
push ecx
push 8
call dword [sym.imp.Dump.dll_dump]
add esp, 8
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x184]
call fcn.0040c9f0
xor edx, edx
jne 0x4dc584
push 0
push 1
mov eax, dword [ebp - 0x370]
mov ecx, dword [eax + 0xd8]
mov edx, dword [ebp - 0x370]
mov eax, dword [edx + 0xd8]
mov edx, dword [ecx]
mov ecx, eax
mov eax, dword [edx + 0x28]
call eax
mov dword [ebp - 0x358], 0xffffffff
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x26c]
call fcn.00402c30
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x338]
call fcn.00402ab0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x248]
call fcn.00402ab0
mov eax, dword [ebp - 0x358]
jmp 0x4dc9fa
push 8
call dword [sym.imp.Dump.dll_if_dump]
add esp, 4
test eax, eax
je 0x4dc69e
push str.check_json_file_ok
lea ecx, [ebp - 0x22c]
call fcn.0040e500
mov dword [ebp - 0x38c], eax
mov ecx, dword [ebp - 0x38c]
mov dword [ebp - 0x390], ecx
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x390]
push edx
push 8
call dword [sym.imp.Dump.dll_dump]
add esp, 8
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x22c]
call fcn.0040c9f0
xor eax, eax
jne 0x4dc648
push str..json_backup
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x318]
push edx
call fcn.004523b0
add esp, 0xc
mov byte [ebp - 4], 7
push 0x5404f4
lea ecx, [ebp - 0x318]
call fcn.0040acf0
push eax
call fcn.00495129
add esp, 8
mov dword [ebp - 0x33c], eax
cmp dword [ebp - 0x33c], 0
jne 0x4dc73a
mov dword [ebp - 0x35c], 0xffffffff
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x318]
call fcn.00402c30
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x26c]
call fcn.00402c30
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x338]
call fcn.00402ab0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x248]
call fcn.00402ab0
mov eax, dword [ebp - 0x35c]
jmp 0x4dc9fa
push 0x5404fc
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x2fc]
push ecx
call fcn.004523b0
add esp, 0xc
mov byte [ebp - 4], 8
push 0x540508
lea ecx, [ebp - 0x2fc]
call fcn.0040acf0
push eax
call fcn.00495129
add esp, 8
mov dword [ebp - 0x340], eax
cmp dword [ebp - 0x340], 0
jne 0x4dc7e1
mov dword [ebp - 0x360], 0xffffffff
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x2fc]
call fcn.00402c30
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x318]
call fcn.00402c30
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x26c]
call fcn.00402c30
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x338]
call fcn.00402ab0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x248]
call fcn.00402ab0
mov eax, dword [ebp - 0x360]
jmp 0x4dc9fa
mov dword [ebp - 0x24c], 0x28
mov edx, dword [ebp + 0x10]
sub edx, dword [ebp - 0x24c]
push edx
call fcn.0048e173
add esp, 4
mov dword [ebp - 0x364], eax
mov eax, dword [ebp - 0x364]
mov dword [ebp - 0x250], eax
cmp dword [ebp - 0x250], 0
jne 0x4dc87b
mov dword [ebp - 0x368], 0xffffffff
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x2fc]
call fcn.00402c30
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x318]
call fcn.00402c30
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x26c]
call fcn.00402c30
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x338]
call fcn.00402ab0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x248]
call fcn.00402ab0
mov eax, dword [ebp - 0x368]
jmp 0x4dc9fa
mov ecx, dword [ebp + 0x10]
sub ecx, dword [ebp - 0x24c]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 0x10]
sub eax, dword [ebp - 0x24c]
push eax
mov ecx, dword [ebp - 0x250]
push ecx
call fcn.00491940
add esp, 0x10
mov edx, dword [ebp - 0x340]
push edx
mov eax, dword [ebp + 0x10]
sub eax, dword [ebp - 0x24c]
push eax
push 1
mov ecx, dword [ebp - 0x250]
push ecx
call fcn.004952de
add esp, 0x10
mov dword [ebp - 0x31c], eax
mov edx, dword [ebp - 0x340]
push edx
call fcn.0049500f
add esp, 4
mov eax, dword [ebp - 0x340]
push eax
call fcn.00493537
add esp, 4
mov ecx, dword [ebp - 0x33c]
push ecx
mov edx, dword [ebp + 0x10]
push edx
push 1
mov eax, dword [ebp + 0xc]
push eax
call fcn.004952de
add esp, 0x10
mov dword [ebp - 0x31c], eax
mov ecx, dword [ebp - 0x33c]
push ecx
call fcn.0049500f
add esp, 4
mov edx, dword [ebp - 0x33c]
push edx
call fcn.00493537
add esp, 4
lea eax, [ebp - 0x2fc]
push eax
mov ecx, dword [ebp - 0x370]
add ecx, 0x64
call fcn.00402c90
push 1
push 1
mov ecx, dword [ebp - 0x370]
mov edx, dword [ecx + 0xd8]
mov eax, dword [ebp - 0x370]
mov ecx, dword [eax + 0xd8]
mov edx, dword [edx]
mov eax, dword [edx + 0x28]
call eax
mov ecx, dword [ebp - 0x370]
mov byte [ecx + 0x46], 1
mov edx, dword [ebp - 0x370]
movzx eax, byte [edx + 0xb8]
test eax, eax
je 0x4dc984
mov ecx, dword [ebp - 0x370]
mov byte [ecx + 0x44], 1
jmp 0x4dc99c
mov edx, dword [ebp - 0x370]
movzx eax, byte [edx + 0x45]
test eax, eax
je 0x4dc99c
mov ecx, dword [ebp - 0x370]
mov byte [ecx + 0x44], 1
mov dword [ebp - 0x36c], 0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x2fc]
call fcn.00402c30
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x318]
call fcn.00402c30
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x26c]
call fcn.00402c30
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x338]
call fcn.00402ab0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x248]
call fcn.00402ab0
mov eax, dword [ebp - 0x36c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00490d41
mov esp, ebp
pop ebp
ret 0x10