Function at 0x4350d1
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x134
mov eax, dword [0x4b22d4]
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
xor ebx, ebx
lea eax, [esp + 0x35]
push ebx
push eax
mov dword [esp + 0x28], edi
mov byte [esp + 0x3c], 0
call fcn.00401f80
add esp, 0xc
mov edx, edi
call fcn.00436c5d
test eax, eax
je 0x435124
xor eax, eax
jmp 0x435393
push edi
mov ecx, 0x104
lea eax, [esp + 0x34]
mov dword [esp + 0x18], ebx
call fcn.00435b27
pop ecx
mov edx, eax
call fcn.0043680a
cmp byte [esp + 0x30], 0x5c
jne 0x435201
cmp byte [esp + 0x31], 0x5c
jne 0x435201
cmp dword [ebp + 0x14], ebx
je 0x435176
call fcn.004345d3
cmp eax, 0xc
jge 0x435176
mov ecx, edi
call fcn.00475661
cmp eax, 0x100000
jbe 0x435201
mov ecx, edi
lea ebx, [esp + 0x30]
call fcn.0044c06c
cmp dword [ebp + 0x14], 0
je 0x4351e6
call fcn.00474f3d
test eax, eax
je 0x4351e6
push 0
mov eax, ebx
push eax
push edi
call fcn.00475042
add esp, 0xc
test eax, eax
jne 0x4351e6
mov eax, ebx
call fcn.00474fee
push edi
mov ecx, 0x104
mov eax, ebx
call fcn.00435b27
pop ecx
xor ebx, ebx
xor edi, edi
inc edi
mov dword [esp + 0x24], edi
lea ecx, [esp + 0x30]
cmp dword [ebp + 0x14], ebx
je 0x435207
call fcn.00475661
test eax, eax
je 0x4351d6
mov dword [esp + 0x24], ebx
push 0x504
mov edx, 0x48fb80
lea ecx, [esp + 0x34]
jmp 0x435211
lea eax, [esp + 0x30]
push edi
push eax
call fcn.00401811
pop ecx
pop ecx
test eax, eax
je 0x4351b7
mov dword [esp + 0x14], 1
jmp 0x4351b7
mov dword [esp + 0x14], ebx
jmp 0x4351b9
push 0x506
mov edx, 0x4903cc
push str.StringList.c
call fcn.00473c34
pop ecx
mov dword [esp + 0x14], eax
pop ecx
cmp eax, ebx
jne 0x43523d
cmp dword [esp + 0x14], ebx
je 0x43511d
lea eax, [esp + 0x30]
call fcn.00474fee
jmp 0x43511d
push esi
call fcn.00434446
pop ecx
test eax, eax
jne 0x435253
mov ecx, dword [esp + 0x10]
call fcn.00475e84
jmp 0x435225
lea ecx, [esi + 0x34]
mov eax, 0x1b58
call fcn.004715a4
call fcn.00419a8b
mov dword [esp + 0x28], eax
cmp dword [ebp + 0x10], ebx
je 0x435273
mov eax, dword [esi + 0xc]
jmp 0x435275
xor eax, eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], eax
cmp eax, dword [esi + 4]
jge 0x43535e
shl eax, 4
mov ebx, eax
jmp 0x435294
xor edi, edi
inc edi
mov ecx, dword [esi]
xor eax, eax
cmp dword [ebx + ecx], eax
je 0x435348
cmp dword [esp + 0x2c], eax
je 0x4352b2
cmp dword [ebp + 0x14], eax
je 0x4352c7
cmp dword [esp + 0x24], eax
jne 0x4352c7
push dword [esp + 0x10]
push edi
push edi
push 0x48e85c
call fcn.0040257f
add esp, 0x10
xor eax, eax
mov dword [esp + 0x2c], eax
mov eax, dword [esi]
push dword [eax + ebx]
call fcn.00401a80
mov edi, eax
pop ecx
test edi, edi
jle 0x4352f6
mov eax, dword [esi]
push dword [eax + ebx]
push 0x48d2b4
push dword [esp + 0x18]
call fcn.0043a269
add esp, 0xc
cmp eax, edi
jl 0x4352fa
inc dword [esp + 0x18]
mov eax, dword [esp + 0x20]
push 0x19
cdq
pop ecx
idiv ecx
test edx, edx
jne 0x435348
call fcn.00419a8b
sub eax, dword [esp + 0x28]
cmp eax, 0x7d0
jbe 0x435348
mov eax, esi
call fcn.0043400f
push 2
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
call fcn.00434446
pop ecx
test eax, eax
je 0x4353a8
mov eax, 0x1b58
lea ecx, [esi + 0x34]
call fcn.004715a4
call fcn.00419a8b
mov dword [esp + 0x28], eax
inc dword [esp + 0x20]
mov eax, dword [esp + 0x20]
add ebx, 0x10
cmp eax, dword [esi + 4]
jl 0x435291
xor ebx, ebx
mov eax, esi
call fcn.0043400f
mov ecx, dword [esp + 0x10]
call fcn.00475e84
cmp dword [esp + 0x14], ebx
je 0x43538f
push ebx
push dword [esp + 0x20]
lea eax, [esp + 0x38]
push eax
call fcn.00475042
add esp, 0xc
lea eax, [esp + 0x30]
call fcn.00474fee
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x13c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00401317
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x10]
call fcn.00475e84
cmp dword [esp + 0x14], 0
je 0x43538f
jmp 0x43522f