Function at 0x4468f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4d4
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x4d4]
mov ecx, 0x135
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x4bc080]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], ecx
cmp dword [ebp + 0x14], 3
je 0x446939
cmp dword [ebp + 0x14], 2
je 0x446939
cmp dword [ebp + 0x14], 1
je 0x446939
mov eax, 0x10000
jmp 0x446f14
cmp dword [ebp + 0x14], 3
jne 0x446a57
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
cmp ecx, dword [eax + 4]
je 0x4469e3
mov eax, dword [ebp - 0xc]
cmp dword [eax + 4], 0xffffffff
je 0x446969
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
push ecx
call fcn.00436ce9
add esp, 4
mov eax, dword [ebp - 0xc]
mov dword [eax + 4], 0xffffffff
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
mov edx, dword [ebp + 8]
cmp edx, dword [ecx + 4]
jl 0x44698a
mov eax, 0x10000
jmp 0x446f14
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
mov edx, dword [ebp + 8]
cmp edx, dword [ecx + 0x10]
jge 0x4469a5
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
push ecx
call fcn.00436b54
add esp, 4
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x10]
cmp edx, dword [ebp + 8]
jge 0x4469c2
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
push ecx
call fcn.0043755e
add esp, 4
jmp 0x4469a5
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x138]
push ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
push eax
call fcn.00436f91
add esp, 8
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
mov dword [eax + 4], ecx
lea eax, [ebp - 0x15]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
push ecx
call fcn.0043685c
add esp, 0x10
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jg 0x446a1e
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
push ecx
call fcn.00436ce9
add esp, 4
mov eax, dword [ebp - 0xc]
mov dword [eax + 4], 0xffffffff
movzx eax, byte [ebp - 0x15]
test eax, eax
je 0x446a2d
xor eax, eax
jmp 0x446f14
cmp dword [ebp - 0x24], 0
jle 0x446a3d
mov eax, 0x600
jmp 0x446f14
cmp dword [ebp - 0x24], 0xffffff96
jne 0x446a4d
mov eax, 0x1000
jmp 0x446f14
mov eax, 0x5000000
jmp 0x446f14
mov eax, dword [ebp - 0xc]
cmp dword [eax + 4], 0xffffffff
je 0x446a6e
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
push ecx
call fcn.00436ce9
add esp, 4
mov eax, dword [ebp - 0xc]
mov dword [eax + 4], 0xffffffff
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
mov edx, dword [ebp + 8]
cmp edx, dword [ecx + 4]
jl 0x446a8f
mov eax, 0x10000
jmp 0x446f14
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
mov edx, dword [ebp + 8]
cmp edx, dword [ecx + 0x10]
jge 0x446aaa
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
push ecx
call fcn.00436b54
add esp, 4
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x10]
cmp edx, dword [ebp + 8]
jge 0x446ac7
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
push ecx
call fcn.0043755e
add esp, 4
jmp 0x446aaa
lea eax, [ebp - 0x158]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0xc]
call fcn.00437798
mov eax, dword [ebp - 0x50]
and eax, 0x10
je 0x446b94
cmp dword [ebp + 0x14], 1
jne 0x446af3
xor eax, eax
jmp 0x446f14
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x164], eax
mov eax, dword [ebp - 0x164]
movsx ecx, byte [eax]
cmp ecx, 0x2f
je 0x446b40
mov edx, dword [ebp - 0x164]
movsx eax, byte [edx]
cmp eax, 0x5c
je 0x446b40
mov ecx, dword [ebp - 0x164]
movsx edx, byte [ecx]
test edx, edx
je 0x446b34
mov eax, dword [ebp - 0x164]
movsx ecx, byte [eax + 1]
cmp ecx, 0x3a
je 0x446b40
mov dword [ebp - 0x4d4], 0
jmp 0x446b4a
mov dword [ebp - 0x4d4], 1
mov dl, byte [ebp - 0x4d4]
mov byte [ebp - 0x16d], dl
movzx eax, byte [ebp - 0x16d]
test eax, eax
je 0x446b74
mov eax, dword [ebp - 0x164]
push eax
push 0
call fcn.00436861
add esp, 8
jmp 0x446b8d
mov eax, dword [ebp - 0x164]
push eax
mov ecx, dword [ebp - 0xc]
add ecx, 0x140
push ecx
call fcn.00436861
add esp, 8
xor eax, eax
jmp 0x446f14
cmp dword [ebp + 0x14], 1
jne 0x446ba8
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x17c], eax
jmp 0x446d6a
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x188], eax
mov eax, dword [ebp - 0x188]
mov dword [ebp - 0x194], eax
mov eax, dword [ebp - 0x194]
mov dword [ebp - 0x1a0], eax
mov eax, dword [ebp - 0x1a0]
movsx ecx, byte [eax]
test ecx, ecx
je 0x446c12
mov eax, dword [ebp - 0x1a0]
movsx ecx, byte [eax]
cmp ecx, 0x2f
je 0x446bf2
mov eax, dword [ebp - 0x1a0]
movsx ecx, byte [eax]
cmp ecx, 0x5c
jne 0x446c01
mov eax, dword [ebp - 0x1a0]
add eax, 1
mov dword [ebp - 0x194], eax
mov eax, dword [ebp - 0x1a0]
add eax, 1
mov dword [ebp - 0x1a0], eax
jmp 0x446bc9
mov eax, dword [ebp - 0x188]
push eax
lea ecx, [ebp - 0x2ac]
push ecx
call fcn.004369d8
add esp, 8
mov eax, dword [ebp - 0x194]
cmp eax, dword [ebp - 0x188]
jne 0x446c3f
mov byte [ebp - 0x2ac], 0
jmp 0x446c53
mov eax, dword [ebp - 0x194]
sub eax, dword [ebp - 0x188]
mov byte [ebp + eax - 0x2ac], 0
movsx eax, byte [ebp - 0x2ac]
cmp eax, 0x2f
je 0x446c8e
movsx ecx, byte [ebp - 0x2ac]
cmp ecx, 0x5c
je 0x446c8e
movsx edx, byte [ebp - 0x2ac]
test edx, edx
je 0x446c82
movsx eax, byte [ebp - 0x2ab]
cmp eax, 0x3a
je 0x446c8e
mov dword [ebp - 0x4d4], 0
jmp 0x446c98
mov dword [ebp - 0x4d4], 1
mov cl, byte [ebp - 0x4d4]
mov byte [ebp - 0x3c1], cl
movzx eax, byte [ebp - 0x3c1]
test eax, eax
je 0x446cee
mov esi, esp
mov eax, dword [ebp - 0x194]
push eax
lea ecx, [ebp - 0x2ac]
push ecx
push str._s_s
lea edx, [ebp - 0x3b8]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
cmp esi, esp
call fcn.00437266
lea eax, [ebp - 0x2ac]
push eax
push 0
call fcn.00436861
add esp, 8
jmp 0x446d3d
mov esi, esp
mov eax, dword [ebp - 0x194]
push eax
lea ecx, [ebp - 0x2ac]
push ecx
mov edx, dword [ebp - 0xc]
add edx, 0x140
push edx
push str._s_s_s
lea eax, [ebp - 0x3b8]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
cmp esi, esp
call fcn.00437266
lea eax, [ebp - 0x2ac]
push eax
mov ecx, dword [ebp - 0xc]
add ecx, 0x140
push ecx
call fcn.00436861
add esp, 8
mov esi, esp
push 0
mov eax, dword [ebp - 0x50]
push eax
push 2
push 0
push 0
push 0x40000000
lea ecx, [ebp - 0x3b8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp esi, esp
call fcn.00437266
mov dword [ebp - 0x17c], eax
cmp dword [ebp - 0x17c], 0xffffffff
jne 0x446d7d
mov eax, 0x200
jmp 0x446f14
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x138]
push ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
push eax
call fcn.00436f91
add esp, 8
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x13c], 0
jne 0x446dc3
push 0x4000
call fcn.00437626
add esp, 4
mov dword [ebp - 0x4cc], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x4cc]
mov dword [eax + 0x13c], ecx
mov dword [ebp - 0x3d0], 0
cmp dword [ebp - 0x3d0], 0
jne 0x446eac
lea eax, [ebp - 0x3d9]
push eax
push 0x4000
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x13c]
push edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
push ecx
call fcn.0043685c
add esp, 0x10
mov dword [ebp - 0x3e8], eax
cmp dword [ebp - 0x3e8], 0xffffff96
jne 0x446e1c
mov dword [ebp - 0x3d0], 0x1000
jmp 0x446eac
cmp dword [ebp - 0x3e8], 0
jge 0x446e31
mov dword [ebp - 0x3d0], 0x5000000
jmp 0x446eac
cmp dword [ebp - 0x3e8], 0
jle 0x446e85
mov esi, esp
push 0
lea eax, [ebp - 0x3f4]
push eax
mov ecx, dword [ebp - 0x3e8]
push ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x13c]
push eax
mov ecx, dword [ebp - 0x17c]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp esi, esp
call fcn.00437266
mov dword [ebp - 0x400], eax
cmp dword [ebp - 0x400], 0
jne 0x446e85
mov dword [ebp - 0x3d0], 0x400
jmp 0x446eac
movzx eax, byte [ebp - 0x3d9]
test eax, eax
je 0x446e92
jmp 0x446eac
cmp dword [ebp - 0x3e8], 0
jne 0x446ea7
mov dword [ebp - 0x3d0], 0x5000000
jmp 0x446eac
jmp 0x446dcd
cmp dword [ebp - 0x3d0], 0
jne 0x446ed7
mov esi, esp
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x4c]
push ecx
lea edx, [ebp - 0x44]
push edx
mov eax, dword [ebp - 0x17c]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileTime]
cmp esi, esp
call fcn.00437266
cmp dword [ebp + 0x14], 1
je 0x446ef3
mov esi, esp
mov eax, dword [ebp - 0x17c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.00437266
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
push ecx
call fcn.00436ce9
add esp, 4
cmp dword [ebp - 0x3d0], 0
je 0x446f12
mov eax, dword [ebp - 0x3d0]
jmp 0x446f14
xor eax, eax
push edx
mov ecx, ebp
push eax
lea edx, [0x446f48]
call fcn.00436807
pop eax
pop edx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00436276
add esp, 0x4d4
cmp ebp, esp
call fcn.00437266
mov esp, ebp
pop ebp
ret 0x10