Function at 0x462ba0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x38
mov eax, dword [esp + 0x40]
push ebx
push ebp
push esi
push edi
push eax
lea ecx, [esp + 0x14]
call fcn.0040f9a0
mov esi, dword [esp + 0x4c]
push 0x4b215c
push esi
mov dword [esp + 0x34], 0
call dword [sym.imp.MSVCRT.dll_fopen]
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x462beb
push esi
push 1
push 0x4c23b4
push 0x4dbf64
call fcn.00441210
add esp, 0x10
mov eax, dword [esp + 0x18]
test eax, eax
je 0x462bf9
mov dword [esp + 0x24], eax
jmp 0x462bfe
mov byte [esp + 0x21], 1
mov byte [esp + 0x28], 0
mov ecx, dword [esp + 0x10]
cmp dword [ecx], 0
je 0x462e0e
cmp eax, dword [esp + 0x24]
jne 0x462c22
mov al, byte [esp + 0x28]
test al, al
jne 0x462e0e
lea ecx, [esp + 0x10]
call fcn.00402070
mov esi, eax
lea eax, [esi + 0x2c]
mov edi, eax
mov dword [esp + 0x2c], edi
mov edx, dword [edi]
mov dword [esp + 0x30], edx
mov eax, dword [edi]
test eax, eax
je 0x462c46
mov eax, dword [eax]
jmp 0x462c48
xor eax, eax
mov ecx, eax
test ecx, ecx
mov dword [esp + 0x34], ecx
je 0x462c56
mov eax, dword [ecx]
jmp 0x462c58
xor eax, eax
test ecx, ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0x40], 0
mov byte [esp + 0x3c], 0
mov byte [esp + 0x3d], 0
je 0x462c78
mov dword [esp + 0x40], ecx
jmp 0x462c7d
mov byte [esp + 0x3d], 1
mov byte [esp + 0x44], 0
cmp dword [edi], 0
je 0x462cad
cmp ecx, dword [esp + 0x40]
jne 0x462c95
mov al, byte [esp + 0x44]
test al, al
jne 0x462cad
call fcn.004306b0
lea ecx, [esp + 0x2c]
call fcn.004403e0
mov ecx, dword [esp + 0x34]
mov edi, dword [esp + 0x2c]
jmp 0x462c82
push 0
push 0x38
call fcn.00442a90
mov ebp, eax
push 0x38
push esi
push ebp
call dword [sym.imp.MSVCRT.dll_memmove]
mov edi, dword [ebp + 0x28]
add esp, 0x14
test edi, edi
je 0x462cd8
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jmp 0x462cda
xor ecx, ecx
inc ecx
mov dword [ebp + 0x28], ecx
lea ecx, [ebp + 0x2c]
call fcn.00440210
lea ecx, [ebp + 0x30]
call fcn.00440210
lea ecx, [ebp + 0x34]
call fcn.00440210
lea ecx, [ebp + 0xc]
call fcn.00440210
lea ecx, [ebp + 0x10]
call fcn.00440210
push ebx
push 1
push 0x38
push ebp
call dword [sym.imp.MSVCRT.dll_fwrite]
add esp, 0x10
cmp eax, 1
je 0x462d30
push 0
push 2
push 0x4b9c1c
push 0x4dbf54
call fcn.00441210
add esp, 0x10
push 0
push 0x38
push ebp
call fcn.00442aa0
add esp, 0xc
lea ecx, [esi + 0x28]
push ebx
call fcn.00462e20
push 0x4304f0
push ebx
lea ecx, [esi + 0x2c]
call fcn.004402a0
push 0x43b3d0
push ebx
lea ecx, [esi + 0x30]
call fcn.004402a0
push 0x43b3d0
push ebx
lea ecx, [esi + 0x34]
call fcn.004402a0
push 0x433340
push ebx
lea ecx, [esi + 0xc]
call fcn.004402a0
push 0x433340
push ebx
lea ecx, [esi + 0x10]
call fcn.004402a0
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x462d99
push ebx
call fcn.00462e60
mov eax, dword [esp + 0x10]
cmp dword [eax], 0
jne 0x462db4
mov dword [esi], esi
mov ecx, dword [esp + 0x10]
mov dword [ecx], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x14], esi
jmp 0x462df8
mov edx, dword [esp + 0x1c]
mov dword [esi], edx
mov eax, dword [esp + 0x18]
test eax, eax
je 0x462dd8
mov dword [eax], esi
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x14], eax
cmp eax, dword [ecx]
jne 0x462df8
mov dword [ecx], esi
jmp 0x462df8
mov eax, dword [esp + 0x14]
mov dword [eax], esi
mov al, byte [esp + 0x20]
test al, al
je 0x462dec
mov ecx, dword [esp + 0x10]
mov dword [ecx], esi
mov al, byte [esp + 0x21]
test al, al
je 0x462df8
mov dword [esp + 0x24], esi
lea ecx, [esp + 0x10]
mov dword [esp + 0x18], esi
call fcn.004403e0
mov eax, dword [esp + 0x18]
jmp 0x462c03
push ebx
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret