Function at 0x473067
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x113c]
mov eax, 0x113c
call fcn.00490990
push 0xffffffffffffffff
push 0x7634e3
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x84dfc0]
xor eax, ebp
mov dword [ebp + 0x1138], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x1148]
mov edi, dword [ebp + 0x1144]
mov esi, dword [ebp + 0x114c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x1150]
xor ebx, ebx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ebx
call fcn.005f9a30
push ebx
push 0x2dc6c0
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], ebx
call fcn.005c6260
push 0xfff
lea eax, [ebp + 0x115]
push ebx
push eax
mov byte [ebp + 0x114], bl
call fcn.0048d310
add esp, 0xc
push edi
lea ecx, [ebp]
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 1
call fcn.005bf140
lea ecx, [ebp]
mov byte [ebp - 4], 2
call fcn.005c0850
movzx eax, ax
push eax
lea eax, [ebp + 0x38]
push eax
lea ecx, [ebp - 0x28]
call fcn.005fb160
lea ecx, [ebp - 0x34]
push ecx
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.005f9fc0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.005fb590
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx]
lea edx, [ebp - 0x34]
push edx
call dword [eax + 0x64]
push ebx
push dword [esi]
lea ecx, [ebp - 0x1c]
push dword [ebp - 0x2c]
call fcn.005fa0c0
mov ecx, dword [ebp - 0x18]
cmp eax, ebx
mov eax, dword [ecx]
jg 0x47318c
call dword [eax + 0x28]
lea ecx, [ebp]
mov byte [ebp - 4], 1
call fcn.005c0000
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.005f9e50
xor eax, eax
jmp 0x473316
lea edx, [ebp - 0x34]
push edx
call dword [eax + 0x6c]
push 0x78b448
push dword [ebp - 0x24]
lea eax, [ebp - 0x14]
push eax
call fcn.0048f5eb
add esp, 0xc
cmp dword [ebp - 0x14], ebx
jne 0x4731b3
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx]
jmp 0x47316a
push ebx
push 0x1000
lea eax, [ebp + 0x114]
push eax
lea ecx, [ebp - 0x1c]
call fcn.005fa1d0
mov esi, eax
cmp esi, ebx
jle 0x4731e3
push dword [ebp - 0x14]
lea eax, [ebp + 0x114]
push esi
push 1
push eax
call fcn.00490265
add esp, 0x10
sub dword [ebp + 0x1154], esi
cmp dword [ebp + 0x1154], ebx
jle 0x4731f5
cmp esi, ebx
jg 0x4731b3
push dword [ebp - 0x14]
call fcn.0048eebb
pop ecx
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x14], ebx
mov eax, dword [ecx]
call dword [eax + 0x28]
lea eax, [ebp + 0xac]
push eax
push dword [ebp - 0x24]
call fcn.00472caf
pop ecx
pop ecx
push 8
pop ecx
xor eax, eax
mov byte [ebp + 0x1114], bl
lea edi, [ebp + 0x1115]
rep stosd dword es:[edi], eax
movzx eax, byte [ebp + 0x113]
push eax
movzx eax, byte [ebp + 0x112]
push eax
movzx eax, byte [ebp + 0x111]
push eax
movzx eax, byte [ebp + 0x110]
push eax
movzx eax, byte [ebp + 0x10f]
push eax
movzx eax, byte [ebp + 0x10e]
push eax
movzx eax, byte [ebp + 0x10d]
push eax
movzx eax, byte [ebp + 0x10c]
push eax
movzx eax, byte [ebp + 0x10b]
push eax
movzx eax, byte [ebp + 0x10a]
push eax
movzx eax, byte [ebp + 0x109]
push eax
movzx eax, byte [ebp + 0x108]
push eax
movzx eax, byte [ebp + 0x107]
push eax
movzx eax, byte [ebp + 0x106]
push eax
movzx eax, byte [ebp + 0x105]
push eax
movzx eax, byte [ebp + 0x104]
push eax
push str._02x_02x_02x_02x_02x_02x_02x_02x_02x_02x_02x_02x_02x_02x_02x_02x
lea eax, [ebp + 0x1114]
push 0x21
push eax
call fcn.0048dede
mov edi, dword [ebp + 0x1158]
add esp, 0x4c
push 8
pop ecx
lea esi, [ebp + 0x1114]
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
jne 0x4732df
mov dword [ebp - 0x20], 1
lea ecx, [ebp]
mov byte [ebp - 4], 1
call fcn.005c0000
jmp 0x4732f9
cmp dword [ebp - 0x14], ebx
je 0x473307
push dword [ebp - 0x14]
call fcn.0048eebb
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.005f9e50
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1138]
xor ecx, ebp
call fcn.0048d1f2
add ebp, 0x113c
leave
ret 0x18