Function at 0x44a900
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61d030
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x6efb00]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [0x7ca4d8]
mov ebx, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, dword [edi + 0x48]
test eax, eax
je 0x44a968
cmp byte [edi + 1], 0
je 0x44a968
mov byte [eax + 0x10], 0
mov esi, dword [edi + 0x48]
test esi, esi
je 0x44a968
mov ecx, esi
call fcn.00462b80
mov eax, dword [0x7ca4d8]
test eax, eax
je 0x44a962
dec dword [eax + 0xb4]
push esi
call ebx
add esp, 4
mov dword [edi + 0x48], 0
mov ecx, dword [edi + 0x3c28]
test ecx, ecx
je 0x44a9ac
mov eax, dword [0x7ca4d8]
mov dword [edi + 0x3c24], 0
mov dword [edi + 0x3c20], 0
test eax, eax
je 0x44a99c
dec dword [eax + 0xb4]
push ecx
call ebx
add esp, 4
mov dword [edi + 0x3c28], 0
cmp byte [edi], 0
je 0x44b31d
cmp byte [edi + 0x5a3d], 0
je 0x44aa18
mov esi, dword [edi + 0x20]
test esi, esi
je 0x44aa18
mov eax, dword [0x7ca4d8]
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], 0
mov dword [eax + 0x5a40], 0
call fcn.0045c740
mov edx, 0x6a7258
mov dword [ebp - 0x14], eax
mov ecx, esi
call fcn.004492d0
mov esi, eax
test esi, esi
je 0x44aa18
push esi
push dword [ebp - 0x10]
mov dword [ebp - 0x1c], 0
push 1
push dword [ebp - 0x14]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 0x14
xor esi, esi
cmp dword [edi + 0x5a74], esi
jle 0x44aa5a
xor ecx, ecx
mov dword [ebp - 0x10], ecx
nop word [eax + eax]
mov edx, dword [edi + 0x5a7c]
add edx, ecx
cmp dword [edx + 4], 6
jne 0x44aa4b
mov eax, dword [edx + 0xc]
push edx
push edi
call eax
mov ecx, dword [ebp - 0x10]
add esp, 8
inc esi
add ecx, 0x14
mov dword [ebp - 0x10], ecx
cmp esi, dword [edi + 0x5a74]
jl 0x44aa30
xor edx, edx
lea esi, [edi + 0x3e28]
mov dword [ebp - 0x10], edx
cmp dword [edi + 0x3e20], edx
jle 0x44aabb
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov eax, dword [esi]
mov esi, dword [ecx + eax]
test esi, esi
je 0x44aa9d
mov ecx, esi
call fcn.0044ba10
mov eax, dword [0x7ca4d8]
test eax, eax
je 0x44aa91
dec dword [eax + 0xb4]
push esi
call ebx
mov ecx, dword [ebp - 0x14]
add esp, 4
mov edx, dword [ebp - 0x10]
inc edx
lea esi, [edi + 0x3e28]
add ecx, 4
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], ecx
cmp edx, dword [edi + 0x3e20]
jl 0x44aa72
lea esi, [edi + 0x3e28]
mov ecx, dword [esi]
test ecx, ecx
je 0x44aaf0
mov eax, dword [0x7ca4d8]
mov dword [edi + 0x3e24], 0
mov dword [edi + 0x3e20], 0
test eax, eax
je 0x44aae4
dec dword [eax + 0xb4]
push ecx
call ebx
add esp, 4
mov dword [esi], 0
mov ecx, dword [edi + 0x3e34]
test ecx, ecx
je 0x44ab2d
mov eax, dword [0x7ca4d8]
mov dword [edi + 0x3e30], 0
mov dword [edi + 0x3e2c], 0
test eax, eax
je 0x44ab1d
dec dword [eax + 0xb4]
push ecx
call ebx
add esp, 4
mov dword [edi + 0x3e34], 0
mov ecx, dword [edi + 0x3e40]
test ecx, ecx
je 0x44ab6a
mov eax, dword [0x7ca4d8]
mov dword [edi + 0x3e3c], 0
mov dword [edi + 0x3e38], 0
test eax, eax
je 0x44ab5a
dec dword [eax + 0xb4]
push ecx
call ebx
add esp, 4
mov dword [edi + 0x3e40], 0
mov dword [edi + 0x3e68], 0
mov ecx, dword [edi + 0x3e4c]
test ecx, ecx
je 0x44abb1
mov eax, dword [0x7ca4d8]
mov dword [edi + 0x3e48], 0
mov dword [edi + 0x3e44], 0
test eax, eax
je 0x44aba1
dec dword [eax + 0xb4]
push ecx
call ebx
add esp, 4
mov dword [edi + 0x3e4c], 0
mov ecx, dword [edi + 0x3e58]
test ecx, ecx
je 0x44abee
mov eax, dword [0x7ca4d8]
mov dword [edi + 0x3e54], 0
mov dword [edi + 0x3e50], 0
test eax, eax
je 0x44abde
dec dword [eax + 0xb4]
push ecx
call ebx
add esp, 4
mov dword [edi + 0x3e58], 0
lea ecx, [edi + 0x4580]
mov dword [edi + 0x47ec], 0
mov dword [edi + 0x3e70], 0
mov dword [edi + 0x3e6c], 0
mov dword [edi + 0x3ee4], 0
mov dword [edi + 0x3ed0], 0
mov dword [edi + 0x3e74], 0
call fcn.00446fd0
mov ecx, dword [edi + 0x4784]
test ecx, ecx
je 0x44ac72
mov eax, dword [0x7ca4d8]
mov dword [edi + 0x4780], 0
mov dword [edi + 0x477c], 0
test eax, eax
je 0x44ac62
dec dword [eax + 0xb4]
push ecx
call ebx
add esp, 4
mov dword [edi + 0x4784], 0
mov ecx, dword [edi + 0x4790]
test ecx, ecx
je 0x44acaf
mov eax, dword [0x7ca4d8]
mov dword [edi + 0x478c], 0
mov dword [edi + 0x4788], 0
test eax, eax
je 0x44ac9f
dec dword [eax + 0xb4]
push ecx
call ebx
add esp, 4
mov dword [edi + 0x4790], 0
mov ecx, dword [edi + 0x479c]
test ecx, ecx
je 0x44acec
mov eax, dword [0x7ca4d8]
mov dword [edi + 0x4798], 0
mov dword [edi + 0x4794], 0
test eax, eax
je 0x44acdc
dec dword [eax + 0xb4]
push ecx
call ebx
add esp, 4
mov dword [edi + 0x479c], 0
mov ecx, dword [edi + 0x47cc]
test ecx, ecx
je 0x44ad29
mov eax, dword [0x7ca4d8]
mov dword [edi + 0x47c8], 0
mov dword [edi + 0x47c4], 0
test eax, eax
je 0x44ad19
dec dword [eax + 0xb4]
push ecx
call ebx
add esp, 4
mov dword [edi + 0x47cc], 0
mov ecx, dword [edi + 0x47d8]
test ecx, ecx
je 0x44ad66
mov eax, dword [0x7ca4d8]
mov dword [edi + 0x47d4], 0
mov dword [edi + 0x47d0], 0
test eax, eax
je 0x44ad56
dec dword [eax + 0xb4]
push ecx
call ebx
add esp, 4
mov dword [edi + 0x47d8], 0
xor edx, edx
mov dword [ebp - 0x14], edx
cmp dword [edi + 0x47e0], edx
jle 0x44ae36
xor ecx, ecx
mov dword [ebp - 0x10], ecx
nop dword [eax]
mov eax, dword [edi + 0x47e8]
mov esi, dword [ecx + eax]
test esi, esi
je 0x44ae20
mov dword [ebp - 4], 0
mov eax, dword [esi + 0x30]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x44adc0
mov ecx, eax
call fcn.00446dc0
mov eax, dword [0x7ca4d8]
test eax, eax
je 0x44adb8
dec dword [eax + 0xb4]
push dword [ebp - 0x1c]
call ebx
add esp, 4
mov eax, dword [esi + 0x34]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x44ade8
mov ecx, eax
call fcn.00446dc0
mov eax, dword [0x7ca4d8]
test eax, eax
je 0x44ade0
dec dword [eax + 0xb4]
push dword [ebp - 0x1c]
call ebx
add esp, 4
push 0x45d620
push 2
push 0xc
lea eax, [esi + 0x64]
mov byte [ebp - 4], 1
push eax
call fcn.006196f5
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x7ca4d8]
test eax, eax
je 0x44ae14
dec dword [eax + 0xb4]
push esi
call ebx
mov ecx, dword [ebp - 0x10]
add esp, 4
mov edx, dword [ebp - 0x14]
inc edx
add ecx, 4
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], ecx
cmp edx, dword [edi + 0x47e0]
jl 0x44ad80
mov ecx, dword [edi + 0x47e8]
test ecx, ecx
je 0x44ae73
mov eax, dword [0x7ca4d8]
mov dword [edi + 0x47e4], 0
mov dword [edi + 0x47e0], 0
test eax, eax
je 0x44ae63
dec dword [eax + 0xb4]
push ecx
call ebx
add esp, 4
mov dword [edi + 0x47e8], 0
lea ecx, [edi + 0x4a60]
call fcn.0045d680
mov ecx, dword [edi + 0x4a88]
test ecx, ecx
je 0x44aebb
mov eax, dword [0x7ca4d8]
mov dword [edi + 0x4a84], 0
mov dword [edi + 0x4a80], 0
test eax, eax
je 0x44aeab
dec dword [eax + 0xb4]
push ecx
call ebx
add esp, 4
mov dword [edi + 0x4a88], 0
mov ecx, dword [edi + 0x4a94]
test ecx, ecx
je 0x44aef8
mov eax, dword [0x7ca4d8]
mov dword [edi + 0x4a90], 0
mov dword [edi + 0x4a8c], 0
test eax, eax
je 0x44aee8
dec dword [eax + 0xb4]
push ecx
call ebx
add esp, 4
mov dword [edi + 0x4a94], 0
xor esi, esi
cmp dword [edi + 0x4a04], esi
jle 0x44af4c
xor ecx, ecx
mov dword [ebp - 0x14], ecx
nop word [eax + eax]
mov eax, dword [edi + 0x4a0c]
mov edx, dword [eax + ecx + 0x18]
test edx, edx
je 0x44af36
mov eax, dword [0x7ca4d8]
test eax, eax
je 0x44af2d
dec dword [eax + 0xb4]
push edx
call ebx
mov ecx, dword [ebp - 0x14]
add esp, 4
inc esi
mov dword [ebp - 4], 0xffffffff
add ecx, 0x1c
mov dword [ebp - 0x14], ecx
cmp esi, dword [edi + 0x4a04]
jl 0x44af10
mov ecx, dword [edi + 0x4a0c]
test ecx, ecx
je 0x44af89
mov eax, dword [0x7ca4d8]
mov dword [edi + 0x4a08], 0
mov dword [edi + 0x4a04], 0
test eax, eax
je 0x44af79
dec dword [eax + 0xb4]
push ecx
call ebx
add esp, 4
mov dword [edi + 0x4a0c], 0
lea ecx, [edi + 0x4a24]
call fcn.0045d850
cmp dword [edi + 0x4a18], 0
mov dword [ebp - 0x14], 0
jle 0x44b002
xor ecx, ecx
mov dword [ebp - 0x10], ecx
nop dword [eax]
mov esi, dword [edi + 0x4a20]
add esi, ecx
lea ecx, [esi + 0x10]
mov dword [ebp - 4], 3
call fcn.004621c0
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x44afe3
mov eax, dword [0x7ca4d8]
test eax, eax
je 0x44afdd
dec dword [eax + 0xb4]
push ecx
call ebx
add esp, 4
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
inc eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x68
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], ecx
cmp eax, dword [edi + 0x4a18]
jl 0x44afb0
mov ecx, dword [edi + 0x4a20]
test ecx, ecx
je 0x44b03f
mov eax, dword [0x7ca4d8]
mov dword [edi + 0x4a1c], 0
mov dword [edi + 0x4a18], 0
test eax, eax
je 0x44b02f
dec dword [eax + 0xb4]
push ecx
call ebx
add esp, 4
mov dword [edi + 0x4a20], 0
mov ecx, dword [edi + 0x4a58]
test ecx, ecx
je 0x44b07c
mov eax, dword [0x7ca4d8]
mov dword [edi + 0x4a54], 0
mov dword [edi + 0x4a50], 0
test eax, eax
je 0x44b06c
dec dword [eax + 0xb4]
push ecx
call ebx
add esp, 4
mov dword [edi + 0x4a58], 0
mov ecx, dword [edi + 0x5a0c]
test ecx, ecx
je 0x44b0b9
mov eax, dword [0x7ca4d8]
mov dword [edi + 0x5a08], 0
mov dword [edi + 0x5a04], 0
test eax, eax
je 0x44b0a9
dec dword [eax + 0xb4]
push ecx
call ebx
add esp, 4
mov dword [edi + 0x5a0c], 0
mov ecx, dword [edi + 0x5a18]
test ecx, ecx
je 0x44b0f6
mov eax, dword [0x7ca4d8]
mov dword [edi + 0x5a14], 0
mov dword [edi + 0x5a10], 0
test eax, eax
je 0x44b0e6
dec dword [eax + 0xb4]
push ecx
call ebx
add esp, 4
mov dword [edi + 0x5a18], 0
mov ecx, dword [edi + 0x4ac8]
test ecx, ecx
je 0x44b133
mov eax, dword [0x7ca4d8]
mov dword [edi + 0x4ac4], 0
mov dword [edi + 0x4ac0], 0
test eax, eax
je 0x44b123
dec dword [eax + 0xb4]
push ecx
call ebx
add esp, 4
mov dword [edi + 0x4ac8], 0
mov ecx, dword [edi + 0x4ad4]
test ecx, ecx
je 0x44b170
mov eax, dword [0x7ca4d8]
mov dword [edi + 0x4ad0], 0
mov dword [edi + 0x4acc], 0
test eax, eax
je 0x44b160
dec dword [eax + 0xb4]
push ecx
call ebx
add esp, 4
mov dword [edi + 0x4ad4], 0
mov ecx, dword [edi + 0x4ae0]
test ecx, ecx
je 0x44b1ad
mov eax, dword [0x7ca4d8]
mov dword [edi + 0x4adc], 0
mov dword [edi + 0x4ad8], 0
test eax, eax
je 0x44b19d
dec dword [eax + 0xb4]
push ecx
call ebx
add esp, 4
mov dword [edi + 0x4ae0], 0
mov ecx, dword [edi + 0x5a64]
test ecx, ecx
je 0x44b1ea
mov eax, dword [0x7ca4d8]
mov dword [edi + 0x5a60], 0
mov dword [edi + 0x5a5c], 0
test eax, eax
je 0x44b1da
dec dword [eax + 0xb4]
push ecx
call ebx
add esp, 4
mov dword [edi + 0x5a64], 0
mov ecx, dword [edi + 0x5a58]
test ecx, ecx
je 0x44b227
mov eax, dword [0x7ca4d8]
mov dword [edi + 0x5a54], 0
mov dword [edi + 0x5a50], 0
test eax, eax
je 0x44b217
dec dword [eax + 0xb4]
push ecx
call ebx
add esp, 4
mov dword [edi + 0x5a58], 0
cmp dword [edi + 0x5aa8], 0
je 0x44b259
mov esi, dword [edi + 0x5aa8]
push 1
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
cmp esi, eax
je 0x44b24f
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
mov dword [edi + 0x5aa8], 0
mov ecx, dword [edi + 0x5ab4]
test ecx, ecx
je 0x44b296
mov eax, dword [0x7ca4d8]
mov dword [edi + 0x5ab0], 0
mov dword [edi + 0x5aac], 0
test eax, eax
je 0x44b286
dec dword [eax + 0xb4]
push ecx
call ebx
add esp, 4
mov dword [edi + 0x5ab4], 0
mov ecx, dword [edi + 0x5ae0]
test ecx, ecx
je 0x44b2d3
mov eax, dword [0x7ca4d8]
mov dword [edi + 0x5adc], 0
mov dword [edi + 0x5ad8], 0
test eax, eax
je 0x44b2c3
dec dword [eax + 0xb4]
push ecx
call ebx
add esp, 4
mov dword [edi + 0x5ae0], 0
mov ecx, dword [edi + 0x5aec]
test ecx, ecx
je 0x44b310
mov eax, dword [0x7ca4d8]
mov dword [edi + 0x5ae8], 0
mov dword [edi + 0x5ae4], 0
test eax, eax
je 0x44b300
dec dword [eax + 0xb4]
push ecx
call ebx
add esp, 4
mov dword [edi + 0x5aec], 0
mov dword [edi + 0x5af0], 0
mov byte [edi], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret