Function at 0x438196
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x134
mov eax, dword [0x4e22e4]
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.00439e45
test eax, eax
je 0x4381e9
xor eax, eax
jmp 0x43845c
push edi
mov ecx, 0x104
lea eax, [esp + 0x34]
mov dword [esp + 0x18], ebx
call fcn.00438c78
pop ecx
mov edx, eax
call fcn.004399f2
cmp byte [esp + 0x30], 0x5c
jne 0x4382ca
cmp byte [esp + 0x31], 0x5c
jne 0x4382ca
cmp dword [ebp + 0x14], ebx
je 0x43823d
call fcn.0043766f
cmp eax, 0xc
jge 0x43823d
xor edx, edx
mov ecx, edi
call fcn.0048eed9
cmp eax, 0x100000
jbe 0x4382ca
mov ecx, edi
lea ebx, [esp + 0x30]
call fcn.004558a0
cmp dword [ebp + 0x14], 0
je 0x4382af
call fcn.0048e76e
test eax, eax
je 0x4382af
push 0
mov eax, ebx
push eax
push edi
call fcn.0048e873
add esp, 0xc
test eax, eax
jne 0x4382af
mov eax, ebx
call fcn.0048e81f
push edi
mov ecx, 0x104
mov eax, ebx
call fcn.00438c78
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 0x4382d0
xor edx, edx
call fcn.0048eed9
test eax, eax
je 0x43829f
mov dword [esp + 0x24], ebx
push 0x504
mov edx, 0x4b1580
lea ecx, [esp + 0x34]
jmp 0x4382da
lea eax, [esp + 0x30]
push edi
push eax
call fcn.00401811
pop ecx
pop ecx
test eax, eax
je 0x43827e
mov dword [esp + 0x14], 1
jmp 0x43827e
mov dword [esp + 0x14], ebx
jmp 0x438280
push 0x506
mov edx, 0x4b062c
push str.StringList.c
call fcn.0048d34e
pop ecx
mov dword [esp + 0x14], eax
pop ecx
cmp eax, ebx
jne 0x438306
cmp dword [esp + 0x14], ebx
je 0x4381e2
lea eax, [esp + 0x30]
call fcn.0048e81f
jmp 0x4381e2
push esi
call fcn.004374e2
pop ecx
test eax, eax
jne 0x43831c
mov ecx, dword [esp + 0x10]
call fcn.0048fc61
jmp 0x4382ee
lea ecx, [esi + 0x34]
mov eax, 0x1b58
call fcn.0048a7fd
call fcn.0041a958
mov dword [esp + 0x28], eax
cmp dword [ebp + 0x10], ebx
je 0x43833c
mov eax, dword [esi + 0xc]
jmp 0x43833e
xor eax, eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], eax
cmp eax, dword [esi + 4]
jge 0x438427
shl eax, 4
mov ebx, eax
jmp 0x43835d
xor edi, edi
inc edi
mov ecx, dword [esi]
xor eax, eax
cmp dword [ebx + ecx], eax
je 0x438411
cmp dword [esp + 0x2c], eax
je 0x43837b
cmp dword [ebp + 0x14], eax
je 0x438390
cmp dword [esp + 0x24], eax
jne 0x438390
push dword [esp + 0x10]
push edi
push edi
push 0x4afe8c
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 0x4383bf
mov eax, dword [esi]
push dword [eax + ebx]
push 0x4ae8ac
push dword [esp + 0x18]
call fcn.00441800
add esp, 0xc
cmp eax, edi
jl 0x4383c3
inc dword [esp + 0x18]
mov eax, dword [esp + 0x20]
push 0x19
cdq
pop ecx
idiv ecx
test edx, edx
jne 0x438411
call fcn.0041a958
sub eax, dword [esp + 0x28]
cmp eax, 0x7d0
jbe 0x438411
mov eax, esi
call fcn.004370ab
push 2
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
call fcn.004374e2
pop ecx
test eax, eax
je 0x438471
mov eax, 0x1b58
lea ecx, [esi + 0x34]
call fcn.0048a7fd
call fcn.0041a958
mov dword [esp + 0x28], eax
inc dword [esp + 0x20]
mov eax, dword [esp + 0x20]
add ebx, 0x10
cmp eax, dword [esi + 4]
jl 0x43835a
xor ebx, ebx
mov eax, esi
call fcn.004370ab
mov ecx, dword [esp + 0x10]
call fcn.0048fc61
cmp dword [esp + 0x14], ebx
je 0x438458
push ebx
push dword [esp + 0x20]
lea eax, [esp + 0x38]
push eax
call fcn.0048e873
add esp, 0xc
lea eax, [esp + 0x30]
call fcn.0048e81f
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.0048fc61
cmp dword [esp + 0x14], 0
je 0x438458
jmp 0x4382f8