Function at 0x471340
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7aeae7
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x114c
call fcn.005b9d80
mov eax, dword [0x8aa514]
xor eax, ebp
mov dword [ebp - 0x14], 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 + 8]
lea ecx, [ebp - 0x1140]
mov edi, dword [ebp + 0x14]
xor esi, esi
mov dword [ebp - 0x1148], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1154], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1150], eax
mov dword [ebp - 0x1144], edi
call fcn.00724c10
push esi
push 0x2dc6c0
lea ecx, [ebp - 0x115c]
mov dword [ebp - 4], esi
call fcn.0071b710
push 0x1000
lea eax, [ebp - 0x1038]
push esi
push eax
call fcn.007351d0
add esp, 0xc
mov dword [ebp - 0x1138], esi
xor ebx, ebx
lea ecx, [ebp - 0x1134]
inc ebx
mov byte [ebp - 4], bl
push dword [ebp - 0x1148]
call fcn.0071bc30
lea ecx, [ebp - 0x1134]
mov byte [ebp - 4], 2
call fcn.0071c670
movzx eax, ax
lea ecx, [ebp - 0x114c]
push eax
lea eax, [ebp - 0x1104]
push eax
call fcn.00724350
lea ecx, [ebp - 0x115c]
mov byte [ebp - 4], 3
push ecx
push eax
lea ecx, [ebp - 0x1140]
call fcn.00724cb0
lea ecx, [ebp - 0x114c]
mov byte [ebp - 4], 2
call fcn.00724520
mov ecx, dword [ebp - 0x113c]
lea edx, [ebp - 0x115c]
push edx
mov eax, dword [ecx]
call dword [eax + 0x64]
mov eax, dword [ebp - 0x1150]
lea ecx, [ebp - 0x1140]
push esi
push dword [eax]
push dword [ebp - 0x1154]
call fcn.00724cd0
mov ecx, dword [ebp - 0x113c]
test eax, eax
mov eax, dword [ecx]
jg 0x471490
call dword [eax + 0x28]
lea ecx, [ebp - 0x1134]
call fcn.0071be00
lea ecx, [ebp - 0x1140]
call fcn.00724c80
xor eax, eax
jmp 0x471645
lea edx, [ebp - 0x115c]
push edx
call dword [eax + 0x6c]
push 0x7cab88
lea eax, [ebp - 0x1138]
push edi
push eax
call fcn.0073d470
add esp, 0xc
cmp dword [ebp - 0x1138], 0
jne 0x4714d3
mov ecx, dword [ebp - 0x113c]
mov eax, dword [ecx]
call dword [eax + 0x28]
lea ecx, [ebp - 0x1134]
call fcn.0071be00
jmp 0x471638
push esi
push 0x1000
lea eax, [ebp - 0x1038]
push eax
lea ecx, [ebp - 0x1140]
call fcn.00724cc0
mov edi, eax
test edi, edi
jle 0x471508
push dword [ebp - 0x1138]
lea eax, [ebp - 0x1038]
push edi
push ebx
push eax
call fcn.00743ded
add esp, 0x10
mov eax, dword [ebp + 0x18]
sub eax, edi
mov dword [ebp + 0x18], eax
test eax, eax
jle 0x471518
test edi, edi
jg 0x4714d3
push dword [ebp - 0x1138]
call fcn.0073d54f
pop ecx
mov ecx, dword [ebp - 0x113c]
mov dword [ebp - 0x1138], esi
mov eax, dword [ecx]
call dword [eax + 0x28]
lea eax, [ebp - 0x10a0]
push eax
push dword [ebp - 0x1144]
call fcn.004709b7
pop ecx
pop ecx
push 8
pop ecx
xor eax, eax
lea edi, [ebp - 0x38]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
movzx eax, byte [ebp - 0x1039]
push eax
movzx eax, byte [ebp - 0x103a]
push eax
movzx eax, byte [ebp - 0x103b]
push eax
movzx eax, byte [ebp - 0x103c]
push eax
movzx eax, byte [ebp - 0x103d]
push eax
movzx eax, byte [ebp - 0x103e]
push eax
movzx eax, byte [ebp - 0x103f]
push eax
movzx eax, byte [ebp - 0x1040]
push eax
movzx eax, byte [ebp - 0x1041]
push eax
movzx eax, byte [ebp - 0x1042]
push eax
movzx eax, byte [ebp - 0x1043]
push eax
movzx eax, byte [ebp - 0x1044]
push eax
movzx eax, byte [ebp - 0x1045]
push eax
movzx eax, byte [ebp - 0x1046]
push eax
movzx eax, byte [ebp - 0x1047]
push eax
movzx eax, byte [ebp - 0x1048]
push eax
push str._02x_02x_02x_02x_02x_02x_02x_02x_02x_02x_02x_02x_02x_02x_02x_02x
lea eax, [ebp - 0x38]
push 0x21
push eax
call fcn.004612d8
mov edx, dword [ebp + 0x1c]
lea edi, [ebp - 0x38]
add esp, 0x4c
mov ecx, esi
mov eax, dword [edi + ecx*4]
cmp eax, dword [edx + ecx*4]
jne 0x4715ff
inc ecx
cmp ecx, 8
jne 0x4715ef
jmp 0x471601
mov ebx, esi
lea ecx, [ebp - 0x1134]
call fcn.0071be00
jmp 0x471621
cmp dword [ebp - 0x1138], 0
je 0x471636
push dword [ebp - 0x1138]
call fcn.0073d54f
pop ecx
mov esi, ebx
lea ecx, [ebp - 0x1140]
call fcn.00724c80
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005b937d
mov esp, ebp
pop ebp
ret 0x18