Function at 0x47909d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x134
mov eax, dword [0x5005d0]
xor eax, esp
mov dword [esp + 0x130], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push 0x103
lea eax, [esp + 0x35]
push 0
push eax
mov dword [esp + 0x28], edi
mov byte [esp + 0x3c], 0
call fcn.004a7110
add esp, 0xc
mov edx, edi
call fcn.00475851
test eax, eax
je 0x4790ef
xor eax, eax
jmp 0x479361
and dword [esp + 0x14], 0
mov ebx, 0x104
push edi
mov ecx, ebx
lea eax, [esp + 0x34]
call fcn.00475883
pop ecx
mov edx, eax
call fcn.00476270
cmp byte [esp + 0x30], 0x5c
jne 0x4791a4
cmp byte [esp + 0x31], 0x5c
jne 0x4791a4
cmp dword [ebp + 0x14], 0
je 0x479143
call fcn.00478ff4
cmp eax, 0xc
jge 0x479143
xor ecx, ecx
mov edx, edi
call fcn.00419439
cmp eax, 0x100000
jbe 0x4791a4
mov edx, edi
lea ecx, [esp + 0x30]
call fcn.00459fdc
cmp dword [ebp + 0x14], 0
je 0x479189
call fcn.00418e6b
test eax, eax
je 0x479189
push 0
lea eax, [esp + 0x34]
push eax
push edi
call fcn.0041887a
add esp, 0xc
test eax, eax
jne 0x479189
lea eax, [esp + 0x30]
call fcn.004189f3
push edi
mov ecx, ebx
lea eax, [esp + 0x34]
call fcn.00475883
pop ecx
jmp 0x4791a9
lea eax, [esp + 0x30]
push edi
push eax
call fcn.004a6eff
test eax, eax
pop ecx
pop ecx
je 0x4791a9
mov dword [esp + 0x14], 1
jmp 0x4791a9
and dword [esp + 0x14], 0
xor ebx, ebx
inc ebx
xor edi, edi
cmp dword [ebp + 0x14], edi
mov dword [esp + 0x24], ebx
je 0x4791d6
xor ecx, ecx
lea edx, [esp + 0x30]
call fcn.00419439
test eax, eax
jbe 0x4791ca
mov dword [esp + 0x24], edi
push 0x504
mov edx, 0x4ca710
jmp 0x4791e0
push 0x506
mov edx, 0x4c7f54
push str..StringList.c
lea ecx, [esp + 0x38]
call fcn.0041a89d
cmp eax, edi
pop ecx
mov dword [esp + 0x14], eax
pop ecx
jne 0x479210
cmp dword [esp + 0x14], edi
je 0x4790e8
lea eax, [esp + 0x30]
call fcn.004189f3
jmp 0x4790e8
push esi
call fcn.00479e30
test eax, eax
pop ecx
jne 0x479226
mov ecx, dword [esp + 0x10]
call fcn.0041acca
jmp 0x4791f8
lea ecx, [esi + 0x34]
mov eax, 0x1b58
call fcn.0041b5d5
call fcn.00498efc
cmp dword [ebp + 0x10], edi
mov dword [esp + 0x28], eax
je 0x479246
mov eax, dword [esi + 0xc]
jmp 0x479248
xor eax, eax
cmp eax, dword [esi + 4]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], eax
jge 0x47932a
shl eax, 4
mov edi, eax
mov eax, dword [esi]
xor ebx, ebx
cmp dword [edi + eax], ebx
je 0x479316
cmp dword [esp + 0x2c], ebx
je 0x479280
cmp dword [ebp + 0x14], ebx
je 0x479295
cmp dword [esp + 0x24], ebx
jne 0x479295
push dword [esp + 0x10]
push 1
push 1
push 0x4c723c
call fcn.004a612e
add esp, 0x10
mov eax, dword [esi]
push dword [eax + edi]
mov dword [esp + 0x30], ebx
call fcn.004a63c0
mov ebx, eax
test ebx, ebx
pop ecx
jle 0x4792c4
mov eax, dword [esi]
push dword [eax + edi]
push 0x4c544c
push dword [esp + 0x18]
call fcn.0046b4bf
add esp, 0xc
cmp eax, ebx
jl 0x4792c8
inc dword [esp + 0x18]
mov eax, dword [esp + 0x20]
push 0x19
cdq
pop ecx
idiv ecx
test edx, edx
jne 0x479316
call fcn.00498efc
sub eax, dword [esp + 0x28]
cmp eax, 0x7d0
jbe 0x479316
mov eax, esi
call fcn.00479e5d
push 2
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
call fcn.00479e30
test eax, eax
pop ecx
je 0x479376
mov eax, 0x1b58
lea ecx, [esi + 0x34]
call fcn.0041b5d5
call fcn.00498efc
mov dword [esp + 0x28], eax
inc dword [esp + 0x20]
mov eax, dword [esp + 0x20]
add edi, 0x10
cmp eax, dword [esi + 4]
jl 0x479262
mov eax, esi
call fcn.00479e5d
mov ecx, dword [esp + 0x10]
call fcn.0041acca
cmp dword [esp + 0x14], 0
je 0x47935d
push 0
push dword [esp + 0x20]
lea eax, [esp + 0x38]
push eax
call fcn.0041887a
add esp, 0xc
lea eax, [esp + 0x30]
call fcn.004189f3
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x13c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004a69f5
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x10]
call fcn.0041acca
cmp dword [esp + 0x14], 0
je 0x47935d
jmp 0x479202