Function at 0x4c1020
Capabilities:
Get file size
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x66005f
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x6feae4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
push 0
push 0
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x14]
push 0
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x18]
push esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x35], 0
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x4c108c
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
test eax, eax
jne 0x4c10a7
cmp dword [ebp - 0x14], eax
je 0x4c10c9
push 0
push 0x80
push 2
push 0
push 3
push 0xc0000000
push edi
mov byte [ebp - 0x35], 1
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
mov dword [ebp - 0x3c], eax
push 0x7060c8
push 0x21
call fcn.0065a473
add esp, 8
mov dword [ebp - 0x34], eax
test eax, eax
jne 0x4c10eb
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4c1f07
xorps xmm0, xmm0
xor esi, esi
movups xmmword [eax], xmm0
mov edi, eax
movups xmmword [eax + 0x10], xmm0
mov byte [eax + 0x20], 0
nop dword [eax]
movzx eax, byte [esi + 0x7061f4]
push eax
push str._02x
push 2
push 3
push edi
call fcn.004c0680
inc esi
add esp, 0x14
add edi, 2
cmp esi, 0x10
jb 0x4c1100
mov edi, dword [ebp - 0x34]
mov byte [edi + 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x22c]
push 9
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x218], 0xf
mov byte [ebp - 0x22c], 0
mov dword [ebp - 0x34], 1
call fcn.004a5b40
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x22c]
call fcn.004498a0
push str._Profile_
lea ecx, [ebp - 0x22c]
call fcn.00449830
push 0x6eab5c
lea ecx, [ebp - 0x22c]
call fcn.00449830
mov dword [ebp - 0x204], 0
mov dword [ebp - 0x200], 0
mov dword [ebp - 0x34], 3
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x214], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x204], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
push str.config1
lea ecx, [ebp - 0x214]
mov byte [ebp - 4], 2
call fcn.00449830
mov dword [ebp - 0x1ec], 0
mov dword [ebp - 0x1e8], 0
mov dword [ebp - 0x34], 7
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x1fc], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x1ec], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
push 0x6eab4c
lea ecx, [ebp - 0x1fc]
mov byte [ebp - 4], 3
call fcn.00449830
mov dword [ebp - 0x1d4], 0
mov dword [ebp - 0x1d0], 0
mov dword [ebp - 0x34], 0xf
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x1e4], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x1d4], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
push edi
lea ecx, [ebp - 0x1e4]
mov byte [ebp - 4], 4
call fcn.00449830
mov dword [ebp - 0x1bc], 0
mov dword [ebp - 0x1b8], 0
mov dword [ebp - 0x34], 0x1f
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x1cc], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x1bc], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
push 0x6eab5c
lea ecx, [ebp - 0x1cc]
mov byte [ebp - 4], 5
call fcn.00449830
mov dword [ebp - 0x1a4], 0
mov dword [ebp - 0x1a0], 0
mov dword [ebp - 0x34], 0x3f
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x1b4], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x1a4], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
push str.config2
lea ecx, [ebp - 0x1b4]
mov byte [ebp - 4], 6
call fcn.00449830
mov dword [ebp - 0x18c], 0
mov dword [ebp - 0x188], 0
mov dword [ebp - 0x34], 0x7f
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x19c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x18c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
push 0x6eab4c
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 7
call fcn.00449830
mov dword [ebp - 0x174], 0
mov dword [ebp - 0x170], 0
mov dword [ebp - 0x34], 0xff
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x184], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x174], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
push dword [ebp - 0x40]
lea ecx, [ebp - 0x184]
mov byte [ebp - 4], 8
call fcn.00449830
mov dword [ebp - 0x15c], 0
mov dword [ebp - 0x158], 0
mov dword [ebp - 0x34], 0x1ff
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x16c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x15c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
push 0x6eab5c
lea ecx, [ebp - 0x16c]
mov byte [ebp - 4], 9
call fcn.00449830
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x34], 0x3ff
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x154], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x144], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
push str.config3
lea ecx, [ebp - 0x154]
mov byte [ebp - 4], 0xa
call fcn.00449830
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x128], 0
movups xmm0, xmmword [eax]
mov dword [ebp - 0x34], 0x7ff
movups xmmword [ebp - 0x13c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x12c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
push 0x6eab4c
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 0xb
call fcn.00449830
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x34], 0xfff
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x124], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x114], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
push dword [ebp - 0x44]
lea ecx, [ebp - 0x124]
mov byte [ebp - 4], 0xc
call fcn.00449830
mov dword [ebp - 0xfc], 0
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0x34], 0x1fff
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x10c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xfc], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
push 0x6eab5c
lea ecx, [ebp - 0x10c]
mov byte [ebp - 4], 0xd
call fcn.00449830
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0x34], 0x3fff
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xf4], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xe4], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
push str.config4
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 0xe
call fcn.00449830
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0x34], 0x7fff
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xdc], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xcc], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
push 0x6eab4c
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 0xf
call fcn.00449830
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xb0], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xc4], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xb4], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov dword [ebp - 0x34], 0xffff
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0xc4]
push dword [ebp - 0x48]
call fcn.00449830
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x34], 0x1ffff
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xac], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x9c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
push 0x6eab5c
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 0x11
call fcn.00449830
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x34], 0x3ffff
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x94], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x84], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
push str.config5
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 0x12
call fcn.00449830
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x34], 0x7ffff
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x7c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x6c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
push 0x6eab60
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x13
call fcn.00449830
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x34], 0xfffff
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x64], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x54], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
push 0x6eab5c
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x14
call fcn.00449830
lea ecx, [ebp - 0x2c]
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x23c], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
movq qword [ebp - 0x4c], xmm0
mov byte [eax], 0
call fcn.00446fe0
movups xmm0, xmmword [ebp - 0x23c]
mov edx, dword [ebp - 0x50]
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [ebp - 0x4c]
movq qword [ebp - 0x1c], xmm0
cmp edx, 0x10
jb 0x4c1861
mov ecx, dword [ebp - 0x64]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4c1857
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c1f24
push edx
push ecx
call fcn.0060967c
add esp, 8
mov edx, dword [ebp - 0x68]
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0xf
mov byte [ebp - 0x64], 0
cmp edx, 0x10
jb 0x4c18a7
mov ecx, dword [ebp - 0x7c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4c189d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c1f29
push edx
push ecx
call fcn.0060967c
add esp, 8
mov edx, dword [ebp - 0x80]
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0xf
mov byte [ebp - 0x7c], 0
cmp edx, 0x10
jb 0x4c18f0
mov ecx, dword [ebp - 0x94]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4c18e6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c1f2e
push edx
push ecx
call fcn.0060967c
add esp, 8
mov edx, dword [ebp - 0x98]
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0xf
mov byte [ebp - 0x94], 0
cmp edx, 0x10
jb 0x4c1942
mov ecx, dword [ebp - 0xac]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4c1938
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c1f33
push edx
push ecx
call fcn.0060967c
add esp, 8
mov edx, dword [ebp - 0xb0]
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 0xf
mov byte [ebp - 0xac], 0
cmp edx, 0x10
jb 0x4c1997
mov ecx, dword [ebp - 0xc4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4c198d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c1f38
push edx
push ecx
call fcn.0060967c
add esp, 8
mov edx, dword [ebp - 0xc8]
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xb0], 0xf
mov byte [ebp - 0xc4], 0
cmp edx, 0x10
jb 0x4c19ec
mov ecx, dword [ebp - 0xdc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4c19e2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c1f3d
push edx
push ecx
call fcn.0060967c
add esp, 8
mov edx, dword [ebp - 0xe0]
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xc8], 0xf
mov byte [ebp - 0xdc], 0
cmp edx, 0x10
jb 0x4c1a41
mov ecx, dword [ebp - 0xf4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4c1a37
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c1f42
push edx
push ecx
call fcn.0060967c
add esp, 8
mov edx, dword [ebp - 0xf8]
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xe0], 0xf
mov byte [ebp - 0xf4], 0
cmp edx, 0x10
jb 0x4c1a96
mov ecx, dword [ebp - 0x10c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4c1a8c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c1f47
push edx
push ecx
call fcn.0060967c
add esp, 8
mov edx, dword [ebp - 0x110]
mov dword [ebp - 0xfc], 0
mov dword [ebp - 0xf8], 0xf
mov byte [ebp - 0x10c], 0
cmp edx, 0x10
jb 0x4c1aeb
mov ecx, dword [ebp - 0x124]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4c1ae1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c1f4c
push edx
push ecx
call fcn.0060967c
add esp, 8
mov edx, dword [ebp - 0x128]
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x110], 0xf
mov byte [ebp - 0x124], 0
cmp edx, 0x10
jb 0x4c1b40
mov ecx, dword [ebp - 0x13c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4c1b36
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c1f51
push edx
push ecx
call fcn.0060967c
add esp, 8
mov edx, dword [ebp - 0x140]
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x128], 0xf
mov byte [ebp - 0x13c], 0
cmp edx, 0x10
jb 0x4c1b95
mov ecx, dword [ebp - 0x154]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4c1b8b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c1f56
push edx
push ecx
call fcn.0060967c
add esp, 8
mov edx, dword [ebp - 0x158]
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x140], 0xf
mov byte [ebp - 0x154], 0
cmp edx, 0x10
jb 0x4c1bea
mov ecx, dword [ebp - 0x16c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4c1be0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c1f5b
push edx
push ecx
call fcn.0060967c
add esp, 8
mov edx, dword [ebp - 0x170]
mov dword [ebp - 0x15c], 0
mov dword [ebp - 0x158], 0xf
mov byte [ebp - 0x16c], 0
cmp edx, 0x10
jb 0x4c1c3f
mov ecx, dword [ebp - 0x184]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4c1c35
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c1f60
push edx
push ecx
call fcn.0060967c
add esp, 8
mov edx, dword [ebp - 0x188]
mov dword [ebp - 0x174], 0
mov dword [ebp - 0x170], 0xf
mov byte [ebp - 0x184], 0
cmp edx, 0x10
jb 0x4c1c94
mov ecx, dword [ebp - 0x19c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4c1c8a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c1f65
push edx
push ecx
call fcn.0060967c
add esp, 8
mov edx, dword [ebp - 0x1a0]
mov dword [ebp - 0x18c], 0
mov dword [ebp - 0x188], 0xf
mov byte [ebp - 0x19c], 0
cmp edx, 0x10
jb 0x4c1ce9
mov ecx, dword [ebp - 0x1b4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4c1cdf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c1f6a
push edx
push ecx
call fcn.0060967c
add esp, 8
mov edx, dword [ebp - 0x1b8]
mov dword [ebp - 0x1a4], 0
mov dword [ebp - 0x1a0], 0xf
mov byte [ebp - 0x1b4], 0
cmp edx, 0x10
jb 0x4c1d3e
mov ecx, dword [ebp - 0x1cc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4c1d34
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c1f6f
push edx
push ecx
call fcn.0060967c
add esp, 8
mov edx, dword [ebp - 0x1d0]
mov dword [ebp - 0x1bc], 0
mov dword [ebp - 0x1b8], 0xf
mov byte [ebp - 0x1cc], 0
cmp edx, 0x10
jb 0x4c1d93
mov ecx, dword [ebp - 0x1e4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4c1d89
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c1f74
push edx
push ecx
call fcn.0060967c
add esp, 8
mov edx, dword [ebp - 0x1e8]
mov dword [ebp - 0x1d4], 0
mov dword [ebp - 0x1d0], 0xf
mov byte [ebp - 0x1e4], 0
cmp edx, 0x10
jb 0x4c1de8
mov ecx, dword [ebp - 0x1fc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4c1dde
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c1f79
push edx
push ecx
call fcn.0060967c
add esp, 8
mov edx, dword [ebp - 0x200]
mov dword [ebp - 0x1ec], 0
mov dword [ebp - 0x1e8], 0xf
mov byte [ebp - 0x1fc], 0
cmp edx, 0x10
jb 0x4c1e3d
mov ecx, dword [ebp - 0x214]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4c1e33
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c1f7e
push edx
push ecx
call fcn.0060967c
add esp, 8
mov edx, dword [ebp - 0x218]
mov dword [ebp - 0x204], 0
mov dword [ebp - 0x200], 0xf
mov byte [ebp - 0x214], 0
cmp edx, 0x10
jb 0x4c1e92
mov ecx, dword [ebp - 0x22c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4c1e88
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c1f83
push edx
push ecx
call fcn.0060967c
add esp, 8
cmp dword [ebp - 0x18], 0x10
lea ecx, [ebp - 0x30]
mov esi, dword [ebp - 0x3c]
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push 0
push ecx
push dword [ebp - 0x1c]
mov dword [ebp - 0x30], 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp byte [ebp - 0x35], 0
je 0x4c1eca
cmp esi, 0xffffffff
je 0x4c1eca
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.006096ad
mov edx, dword [ebp - 0x18]
add esp, 4
cmp edx, 0x10
jb 0x4c1f07
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4c1efd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c1f88
push edx
push ecx
call fcn.0060967c
add esp, 8
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.0060963b
mov esp, ebp
pop ebp
ret 0x1c
call fcn.0062eee9
call fcn.0062eee9
call fcn.0062eee9
call fcn.0062eee9
call fcn.0062eee9
call fcn.0062eee9
call fcn.0062eee9
call fcn.0062eee9
call fcn.0062eee9
call fcn.0062eee9
call fcn.0062eee9
call fcn.0062eee9
call fcn.0062eee9
call fcn.0062eee9
call fcn.0062eee9
call fcn.0062eee9
call fcn.0062eee9
call fcn.0062eee9
call fcn.0062eee9
call fcn.0062eee9
call fcn.0062eee9
int3