Function at 0x4292b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4aac70
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x4c900c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x4c9c24]
mov edi, eax
mov ecx, dword [edi + 0x48]
test ecx, ecx
je 0x4292fd
cmp byte [edi + 1], 0
je 0x4292fd
mov byte [ecx + 0x10], 0
mov ecx, dword [edi + 0x48]
call fcn.00441100
mov eax, dword [0x4c9c24]
mov ebx, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov dword [edi + 0x48], 0
mov ecx, dword [edi + 0x3c04]
test ecx, ecx
je 0x429347
mov dword [edi + 0x3c00], 0
mov dword [edi + 0x3bfc], 0
test eax, eax
je 0x429332
dec dword [eax + 0xb0]
push ecx
call ebx
mov eax, dword [0x4c9c24]
add esp, 4
mov dword [edi + 0x3c04], 0
cmp byte [edi], 0
je 0x429c51
cmp byte [edi + 0x5a0d], 0
je 0x4293ae
mov esi, dword [edi + 0x20]
test esi, esi
je 0x4293ae
lea ecx, [ebp - 0x10]
mov dword [eax + 0x5a10], 0
mov dword [ebp - 0x10], 0
call fcn.0043ef40
mov edx, 0x4b9ba4
mov dword [ebp - 0x14], eax
mov ecx, esi
call fcn.00425960
mov esi, eax
test esi, esi
je 0x4293ae
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
mov edx, 6
mov ecx, edi
call fcn.00429c70
xor esi, esi
cmp dword [edi + 0x3df0], esi
jle 0x4293fb
mov eax, dword [edi + 0x3df8]
mov eax, dword [eax + esi*4]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4293f2
mov ecx, eax
call fcn.0042a450
mov eax, dword [0x4c9c24]
test eax, eax
je 0x4293ea
dec dword [eax + 0xb0]
push dword [ebp - 0x14]
call ebx
add esp, 4
inc esi
cmp esi, dword [edi + 0x3df0]
jl 0x4293c4
mov ecx, dword [edi + 0x3df8]
test ecx, ecx
je 0x429438
mov eax, dword [0x4c9c24]
mov dword [edi + 0x3df4], 0
mov dword [edi + 0x3df0], 0
test eax, eax
je 0x429428
dec dword [eax + 0xb0]
push ecx
call ebx
add esp, 4
mov dword [edi + 0x3df8], 0
mov ecx, dword [edi + 0x3e04]
test ecx, ecx
je 0x429475
mov eax, dword [0x4c9c24]
mov dword [edi + 0x3e00], 0
mov dword [edi + 0x3dfc], 0
test eax, eax
je 0x429465
dec dword [eax + 0xb0]
push ecx
call ebx
add esp, 4
mov dword [edi + 0x3e04], 0
mov ecx, dword [edi + 0x3e10]
test ecx, ecx
je 0x4294b2
mov eax, dword [0x4c9c24]
mov dword [edi + 0x3e0c], 0
mov dword [edi + 0x3e08], 0
test eax, eax
je 0x4294a2
dec dword [eax + 0xb0]
push ecx
call ebx
add esp, 4
mov dword [edi + 0x3e10], 0
mov dword [edi + 0x3e38], 0
mov ecx, dword [edi + 0x3e1c]
test ecx, ecx
je 0x4294f9
mov eax, dword [0x4c9c24]
mov dword [edi + 0x3e18], 0
mov dword [edi + 0x3e14], 0
test eax, eax
je 0x4294e9
dec dword [eax + 0xb0]
push ecx
call ebx
add esp, 4
mov dword [edi + 0x3e1c], 0
mov ecx, dword [edi + 0x3e28]
test ecx, ecx
je 0x429536
mov eax, dword [0x4c9c24]
mov dword [edi + 0x3e24], 0
mov dword [edi + 0x3e20], 0
test eax, eax
je 0x429526
dec dword [eax + 0xb0]
push ecx
call ebx
add esp, 4
mov dword [edi + 0x3e28], 0
lea ecx, [edi + 0x4550]
mov dword [edi + 0x47b8], 0
mov dword [edi + 0x3e40], 0
mov dword [edi + 0x3e3c], 0
mov dword [edi + 0x3eb4], 0
mov dword [edi + 0x3ea0], 0
mov dword [edi + 0x3e44], 0
call fcn.004232e0
mov ecx, dword [edi + 0x4750]
test ecx, ecx
je 0x4295ba
mov eax, dword [0x4c9c24]
mov dword [edi + 0x474c], 0
mov dword [edi + 0x4748], 0
test eax, eax
je 0x4295aa
dec dword [eax + 0xb0]
push ecx
call ebx
add esp, 4
mov dword [edi + 0x4750], 0
mov ecx, dword [edi + 0x475c]
test ecx, ecx
je 0x4295f7
mov eax, dword [0x4c9c24]
mov dword [edi + 0x4758], 0
mov dword [edi + 0x4754], 0
test eax, eax
je 0x4295e7
dec dword [eax + 0xb0]
push ecx
call ebx
add esp, 4
mov dword [edi + 0x475c], 0
mov ecx, dword [edi + 0x4768]
test ecx, ecx
je 0x429634
mov eax, dword [0x4c9c24]
mov dword [edi + 0x4764], 0
mov dword [edi + 0x4760], 0
test eax, eax
je 0x429624
dec dword [eax + 0xb0]
push ecx
call ebx
add esp, 4
mov dword [edi + 0x4768], 0
mov ecx, dword [edi + 0x4798]
test ecx, ecx
je 0x429671
mov eax, dword [0x4c9c24]
mov dword [edi + 0x4794], 0
mov dword [edi + 0x4790], 0
test eax, eax
je 0x429661
dec dword [eax + 0xb0]
push ecx
call ebx
add esp, 4
mov dword [edi + 0x4798], 0
mov ecx, dword [edi + 0x47a4]
test ecx, ecx
je 0x4296ae
mov eax, dword [0x4c9c24]
mov dword [edi + 0x47a0], 0
mov dword [edi + 0x479c], 0
test eax, eax
je 0x42969e
dec dword [eax + 0xb0]
push ecx
call ebx
add esp, 4
mov dword [edi + 0x47a4], 0
xor ecx, ecx
mov dword [ebp - 0x10], ecx
cmp dword [edi + 0x47ac], ecx
jle 0x42976d
nop
mov eax, dword [edi + 0x47b4]
mov esi, dword [eax + ecx*4]
test esi, esi
je 0x42975d
mov dword [ebp - 4], 0
mov eax, dword [esi + 0x30]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x429700
mov ecx, eax
call fcn.00422f90
mov eax, dword [0x4c9c24]
test eax, eax
je 0x4296f8
dec dword [eax + 0xb0]
push dword [ebp - 0x14]
call ebx
add esp, 4
mov eax, dword [esi + 0x34]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x429728
mov ecx, eax
call fcn.00422f90
mov eax, dword [0x4c9c24]
test eax, eax
je 0x429720
dec dword [eax + 0xb0]
push dword [ebp - 0x14]
call ebx
add esp, 4
push 0x412060
push 2
push 0xc
lea eax, [esi + 0x64]
mov byte [ebp - 4], 1
push eax
call fcn.004a7c27
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x4c9c24]
test eax, eax
je 0x429754
dec dword [eax + 0xb0]
push esi
call ebx
mov ecx, dword [ebp - 0x10]
add esp, 4
inc ecx
mov dword [ebp - 0x10], ecx
cmp ecx, dword [edi + 0x47ac]
jl 0x4296c0
mov ecx, dword [edi + 0x47b4]
test ecx, ecx
je 0x4297aa
mov eax, dword [0x4c9c24]
mov dword [edi + 0x47b0], 0
mov dword [edi + 0x47ac], 0
test eax, eax
je 0x42979a
dec dword [eax + 0xb0]
push ecx
call ebx
add esp, 4
mov dword [edi + 0x47b4], 0
lea ecx, [edi + 0x4a30]
call fcn.00440080
mov ecx, dword [edi + 0x4a58]
test ecx, ecx
je 0x4297f2
mov eax, dword [0x4c9c24]
mov dword [edi + 0x4a54], 0
mov dword [edi + 0x4a50], 0
test eax, eax
je 0x4297e2
dec dword [eax + 0xb0]
push ecx
call ebx
add esp, 4
mov dword [edi + 0x4a58], 0
mov ecx, dword [edi + 0x4a64]
test ecx, ecx
je 0x42982f
mov eax, dword [0x4c9c24]
mov dword [edi + 0x4a60], 0
mov dword [edi + 0x4a5c], 0
test eax, eax
je 0x42981f
dec dword [eax + 0xb0]
push ecx
call ebx
add esp, 4
mov dword [edi + 0x4a64], 0
xor esi, esi
cmp dword [edi + 0x49d4], esi
jle 0x429883
xor ecx, ecx
mov dword [ebp - 0x10], ecx
nop
mov eax, dword [edi + 0x49dc]
mov dword [ebp - 4], 2
mov edx, dword [eax + ecx + 0x18]
test edx, edx
je 0x42986d
mov eax, dword [0x4c9c24]
test eax, eax
je 0x429864
dec dword [eax + 0xb0]
push edx
call ebx
mov ecx, dword [ebp - 0x10]
add esp, 4
mov dword [ebp - 4], 0xffffffff
inc esi
add ecx, 0x1c
mov dword [ebp - 0x10], ecx
cmp esi, dword [edi + 0x49d4]
jl 0x429840
mov ecx, dword [edi + 0x49dc]
test ecx, ecx
je 0x4298c0
mov eax, dword [0x4c9c24]
mov dword [edi + 0x49d8], 0
mov dword [edi + 0x49d4], 0
test eax, eax
je 0x4298b0
dec dword [eax + 0xb0]
push ecx
call ebx
add esp, 4
mov dword [edi + 0x49dc], 0
lea ecx, [edi + 0x49f4]
call fcn.004402a0
cmp dword [edi + 0x49e8], 0
mov dword [ebp - 0x10], 0
jle 0x429936
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov esi, dword [edi + 0x49f0]
add esi, ecx
lea ecx, [esi + 0x10]
mov dword [ebp - 4], 3
call fcn.0044c160
mov byte [ebp - 4], 4
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x429917
mov eax, dword [0x4c9c24]
test eax, eax
je 0x429911
dec dword [eax + 0xb0]
push ecx
call ebx
add esp, 4
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
add ecx, 0x68
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], eax
cmp eax, dword [edi + 0x49e8]
jl 0x4298e0
mov ecx, dword [edi + 0x49f0]
test ecx, ecx
je 0x429973
mov eax, dword [0x4c9c24]
mov dword [edi + 0x49ec], 0
mov dword [edi + 0x49e8], 0
test eax, eax
je 0x429963
dec dword [eax + 0xb0]
push ecx
call ebx
add esp, 4
mov dword [edi + 0x49f0], 0
mov ecx, dword [edi + 0x4a28]
test ecx, ecx
je 0x4299b0
mov eax, dword [0x4c9c24]
mov dword [edi + 0x4a24], 0
mov dword [edi + 0x4a20], 0
test eax, eax
je 0x4299a0
dec dword [eax + 0xb0]
push ecx
call ebx
add esp, 4
mov dword [edi + 0x4a28], 0
mov ecx, dword [edi + 0x59dc]
test ecx, ecx
je 0x4299ed
mov eax, dword [0x4c9c24]
mov dword [edi + 0x59d8], 0
mov dword [edi + 0x59d4], 0
test eax, eax
je 0x4299dd
dec dword [eax + 0xb0]
push ecx
call ebx
add esp, 4
mov dword [edi + 0x59dc], 0
mov ecx, dword [edi + 0x59e8]
test ecx, ecx
je 0x429a2a
mov eax, dword [0x4c9c24]
mov dword [edi + 0x59e4], 0
mov dword [edi + 0x59e0], 0
test eax, eax
je 0x429a1a
dec dword [eax + 0xb0]
push ecx
call ebx
add esp, 4
mov dword [edi + 0x59e8], 0
mov ecx, dword [edi + 0x4a98]
test ecx, ecx
je 0x429a67
mov eax, dword [0x4c9c24]
mov dword [edi + 0x4a94], 0
mov dword [edi + 0x4a90], 0
test eax, eax
je 0x429a57
dec dword [eax + 0xb0]
push ecx
call ebx
add esp, 4
mov dword [edi + 0x4a98], 0
mov ecx, dword [edi + 0x4aa4]
test ecx, ecx
je 0x429aa4
mov eax, dword [0x4c9c24]
mov dword [edi + 0x4aa0], 0
mov dword [edi + 0x4a9c], 0
test eax, eax
je 0x429a94
dec dword [eax + 0xb0]
push ecx
call ebx
add esp, 4
mov dword [edi + 0x4aa4], 0
mov ecx, dword [edi + 0x4ab0]
test ecx, ecx
je 0x429ae1
mov eax, dword [0x4c9c24]
mov dword [edi + 0x4aac], 0
mov dword [edi + 0x4aa8], 0
test eax, eax
je 0x429ad1
dec dword [eax + 0xb0]
push ecx
call ebx
add esp, 4
mov dword [edi + 0x4ab0], 0
mov ecx, dword [edi + 0x5a34]
test ecx, ecx
je 0x429b1e
mov eax, dword [0x4c9c24]
mov dword [edi + 0x5a30], 0
mov dword [edi + 0x5a2c], 0
test eax, eax
je 0x429b0e
dec dword [eax + 0xb0]
push ecx
call ebx
add esp, 4
mov dword [edi + 0x5a34], 0
mov ecx, dword [edi + 0x5a28]
test ecx, ecx
je 0x429b5b
mov eax, dword [0x4c9c24]
mov dword [edi + 0x5a24], 0
mov dword [edi + 0x5a20], 0
test eax, eax
je 0x429b4b
dec dword [eax + 0xb0]
push ecx
call ebx
add esp, 4
mov dword [edi + 0x5a28], 0
cmp dword [edi + 0x5a78], 0
je 0x429b8d
mov esi, dword [edi + 0x5a78]
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 0x429b83
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
mov dword [edi + 0x5a78], 0
mov ecx, dword [edi + 0x5a84]
test ecx, ecx
je 0x429bca
mov eax, dword [0x4c9c24]
mov dword [edi + 0x5a80], 0
mov dword [edi + 0x5a7c], 0
test eax, eax
je 0x429bba
dec dword [eax + 0xb0]
push ecx
call ebx
add esp, 4
mov dword [edi + 0x5a84], 0
mov ecx, dword [edi + 0x5ab0]
test ecx, ecx
je 0x429c07
mov eax, dword [0x4c9c24]
mov dword [edi + 0x5aac], 0
mov dword [edi + 0x5aa8], 0
test eax, eax
je 0x429bf7
dec dword [eax + 0xb0]
push ecx
call ebx
add esp, 4
mov dword [edi + 0x5ab0], 0
mov ecx, dword [edi + 0x5abc]
test ecx, ecx
je 0x429c44
mov eax, dword [0x4c9c24]
mov dword [edi + 0x5ab8], 0
mov dword [edi + 0x5ab4], 0
test eax, eax
je 0x429c34
dec dword [eax + 0xb0]
push ecx
call ebx
add esp, 4
mov dword [edi + 0x5abc], 0
mov dword [edi + 0x5ac0], 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