Function at 0x4892ea
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x134
mov eax, dword [0x51f5d0]
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.004c05d0
add esp, 0xc
mov edx, edi
call fcn.00485754
test eax, eax
je 0x48933c
xor eax, eax
jmp 0x4895b0
and dword [esp + 0x14], 0
mov ebx, 0x104
push edi
mov ecx, ebx
lea eax, [esp + 0x34]
call fcn.00485786
pop ecx
mov edx, eax
call fcn.00486276
cmp byte [esp + 0x30], 0x5c
jne 0x4893f1
cmp byte [esp + 0x31], 0x5c
jne 0x4893f1
cmp dword [ebp + 0x14], 0
je 0x489390
call fcn.00489241
cmp eax, 0xc
jge 0x489390
xor ecx, ecx
mov edx, edi
call fcn.0041ab42
cmp eax, 0x100000
jbe 0x4893f1
mov edx, edi
lea ecx, [esp + 0x30]
call fcn.0045fa01
cmp dword [ebp + 0x14], 0
je 0x4893d6
call fcn.0041a56b
test eax, eax
je 0x4893d6
push 0
lea eax, [esp + 0x34]
push eax
push edi
call fcn.00419f7a
add esp, 0xc
test eax, eax
jne 0x4893d6
lea eax, [esp + 0x30]
call fcn.0041a0f3
push edi
mov ecx, ebx
lea eax, [esp + 0x34]
call fcn.00485786
pop ecx
jmp 0x4893f6
lea eax, [esp + 0x30]
push edi
push eax
call fcn.004c03bf
test eax, eax
pop ecx
pop ecx
je 0x4893f6
mov dword [esp + 0x14], 1
jmp 0x4893f6
and dword [esp + 0x14], 0
xor ebx, ebx
inc ebx
xor edi, edi
cmp dword [ebp + 0x14], edi
mov dword [esp + 0x24], ebx
je 0x489423
xor ecx, ecx
lea edx, [esp + 0x30]
call fcn.0041ab42
test eax, eax
jbe 0x489417
mov dword [esp + 0x24], edi
push 0x504
mov edx, 0x4e3c34
jmp 0x48942d
push 0x506
mov edx, 0x4e1360
push str..StringList.c
lea ecx, [esp + 0x38]
call fcn.0041c35a
cmp eax, edi
pop ecx
mov dword [esp + 0x14], eax
pop ecx
jne 0x48945d
cmp dword [esp + 0x14], edi
je 0x489335
lea eax, [esp + 0x30]
call fcn.0041a0f3
jmp 0x489335
push esi
call fcn.0048a080
test eax, eax
pop ecx
jne 0x489474
push dword [esp + 0x10]
call fcn.0041c787
pop ecx
jmp 0x489445
lea ecx, [esi + 0x34]
mov eax, 0x1b58
call fcn.0041d11a
call fcn.004af84c
cmp dword [ebp + 0x10], edi
mov dword [esp + 0x28], eax
je 0x489494
mov eax, dword [esi + 0xc]
jmp 0x489496
xor eax, eax
cmp eax, dword [esi + 4]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], eax
jge 0x489578
shl eax, 4
mov edi, eax
mov eax, dword [esi]
xor ebx, ebx
cmp dword [edi + eax], ebx
je 0x489564
cmp dword [esp + 0x2c], ebx
je 0x4894ce
cmp dword [ebp + 0x14], ebx
je 0x4894e3
cmp dword [esp + 0x24], ebx
jne 0x4894e3
push dword [esp + 0x10]
push 1
push 1
push 0x4e04b4
call fcn.004bf5f0
add esp, 0x10
mov eax, dword [esi]
push dword [eax + edi]
mov dword [esp + 0x30], ebx
call fcn.004bf880
mov ebx, eax
test ebx, ebx
pop ecx
jle 0x489512
mov eax, dword [esi]
push dword [eax + edi]
push 0x4de4e4
push dword [esp + 0x18]
call fcn.00479d8a
add esp, 0xc
cmp eax, ebx
jl 0x489516
inc dword [esp + 0x18]
mov eax, dword [esp + 0x20]
push 0x19
cdq
pop ecx
idiv ecx
test edx, edx
jne 0x489564
call fcn.004af84c
sub eax, dword [esp + 0x28]
cmp eax, 0x7d0
jbe 0x489564
mov eax, esi
call fcn.0048a0ad
push 2
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
call fcn.0048a080
test eax, eax
pop ecx
je 0x4895c5
mov eax, 0x1b58
lea ecx, [esi + 0x34]
call fcn.0041d11a
call fcn.004af84c
mov dword [esp + 0x28], eax
inc dword [esp + 0x20]
mov eax, dword [esp + 0x20]
add edi, 0x10
cmp eax, dword [esi + 4]
jl 0x4894b0
mov eax, esi
call fcn.0048a0ad
push dword [esp + 0x10]
call fcn.0041c787
cmp dword [esp + 0x18], 0
pop ecx
je 0x4895ac
push 0
push dword [esp + 0x20]
lea eax, [esp + 0x38]
push eax
call fcn.00419f7a
add esp, 0xc
lea eax, [esp + 0x30]
call fcn.0041a0f3
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x13c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004bfeb5
mov esp, ebp
pop ebp
ret
push dword [esp + 0x10]
call fcn.0041c787
cmp dword [esp + 0x18], 0
pop ecx
je 0x4895ac
jmp 0x48944f