Function at 0x436200
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x70
mov eax, dword [0x45e1ac]
xor eax, esp
mov dword [esp + 0x6c], eax
push ebx
push ebp
push esi
push edi
mov edi, dword [0x461030]
mov ebp, 1
add dword [edi + 0x188c], ebp
mov eax, dword [edi + 0x188c]
xor ebx, ebx
cmp eax, 0x64
jl 0x436236
mov dword [edi + 0x188c], ebx
push 0x3f
lea eax, [esp + 0x3d]
push ebx
push eax
mov byte [esp + 0x44], bl
call fcn.0043c7b0
mov ecx, dword [edi + 0x188c]
push ecx
lea edx, [esp + 0x48]
push str.codeSSC_02d.M
push edx
call fcn.0043b874
lea eax, [esp + 0x50]
push 0x45ba50
push eax
call fcn.0043aab8
mov esi, eax
add esp, 0x20
cmp esi, ebx
je 0x436565
mov eax, 0x22b
cmp dword [esp + 0x84], ebp
jne 0x43628c
mov eax, 0x226
add eax, dword [0x46376c]
push esi
push ebp
lea ecx, [esp + 0x3c]
push 4
push ecx
mov dword [esp + 0x44], eax
call fcn.0043aeee
lea ebp, [edi + 0x208]
add esp, 0x10
mov ecx, ebp
call fcn.00439d60
push esi
push 1
lea edx, [esp + 0x1c]
push 4
push edx
mov dword [esp + 0x24], eax
call fcn.0043aeee
mov eax, dword [0x463ab0]
push esi
push 1
lea ecx, [esp + 0x2c]
push 4
push ecx
mov dword [esp + 0x34], eax
call fcn.0043aeee
mov edx, dword [0x45f8c8]
push esi
push 1
lea eax, [esp + 0x38]
push 4
push eax
mov dword [esp + 0x40], edx
call fcn.0043aeee
mov ecx, dword [edi + 0x10]
push esi
push 1
lea edx, [esp + 0x48]
push 4
push edx
mov dword [esp + 0x50], ecx
call fcn.0043aeee
add esp, 0x40
mov ecx, ebp
call fcn.00439d70
push esi
push 1
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push 4
push eax
call fcn.0043aeee
mov ecx, dword [0x463754]
push esi
push 1
push 0x14
push 0x461a9c
mov dword [0x461aa0], ecx
call fcn.0043aeee
push esi
push 1
push 0x14
push 0x4610d4
call fcn.0043aeee
mov ecx, dword [0x46100c]
mov eax, 0x51eb851f
mul dword [ecx + 0x344]
shr edx, 5
imul edx, edx, 0x64
add edx, dword [ecx + 0x34c]
push esi
imul edx, edx, 0x64
add edx, dword [ecx + 0x348]
push 1
mov dword [esp + 0x4c], edx
lea edx, [esp + 0x4c]
push 4
push edx
call fcn.0043aeee
add esp, 0x40
mov eax, dword [0x46100c]
mov ecx, dword [eax + 0x38c]
push esi
push 1
lea edx, [esp + 0x18]
push 4
push edx
mov dword [esp + 0x20], ecx
call fcn.0043aeee
mov eax, dword [0x45f8cc]
push esi
push 1
lea ecx, [esp + 0x2c]
push 4
push ecx
mov dword [esp + 0x34], eax
call fcn.0043aeee
mov ecx, dword [0x463acc]
mov eax, 0x51eb851f
imul ecx
sar edx, 5
push esi
mov eax, edx
push 1
shr eax, 0x1f
lea ecx, [esp + 0x58]
add eax, edx
push 4
push ecx
mov dword [esp + 0x60], eax
call fcn.0043aeee
push esi
push 1
push 4
push 0x463ac0
call fcn.0043aeee
mov edx, dword [0x46100c]
mov dword [esp + 0x5c], ebx
mov eax, dword [edx + 0x470]
add esp, 0x40
cmp eax, ebx
jle 0x43641b
mov dword [esp + 0x1c], eax
push esi
push 1
lea eax, [esp + 0x24]
push 4
push eax
call fcn.0043aeee
mov eax, dword [0x46100c]
mov dword [esp + 0x24], ebx
mov edx, dword [eax + 0x370]
mov ecx, dword [eax + 0x36c]
add esp, 0x10
cmp ecx, ebx
mov dword [esp + 0x24], edx
mov edx, dword [eax + 0x374]
push esi
mov dword [esp + 0x2c], edx
mov edx, dword [eax + 0x378]
push 1
mov dword [esp + 0x34], edx
push 4
jle 0x4364ae
mov edx, dword [eax + 0x370]
mov dword [esp + 0x30], edx
mov edx, dword [eax + 0x374]
mov dword [esp + 0x34], edx
mov edx, dword [eax + 0x378]
mov dword [esp + 0x38], edx
mov edx, ecx
mov dword [esp + 0x2c], edx
mov edx, dword [eax + 0x370]
mov dword [esp + 0x30], edx
mov edx, dword [eax + 0x374]
mov eax, dword [eax + 0x378]
add edx, ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], eax
mov dword [esp + 0x1c], edx
push ecx
jmp 0x4364b3
lea edx, [esp + 0x20]
push edx
call fcn.0043aeee
mov ecx, dword [0x46100c]
xor eax, eax
add esp, 0x10
mov dword [esp + 0x10], eax
cmp byte [ecx + 0x394], bl
je 0x436536
cmp byte [ecx + 0x395], bl
je 0x4364e0
mov eax, 1
mov dword [esp + 0x10], eax
mov edx, dword [ecx + 0x3b4]
cmp edx, ebx
jle 0x4364f4
lea edx, [edx + edx*4]
lea eax, [eax + edx*2]
mov dword [esp + 0x10], eax
mov edx, dword [ecx + 0x39c]
imul edx, edx, 0x3e8
add eax, edx
mov dword [esp + 0x10], eax
mov edx, dword [ecx + 0x398]
imul edx, edx, 0x186a0
add eax, edx
mov dword [esp + 0x10], eax
mov ecx, dword [ecx + 0x3a0]
imul ecx, ecx, 0x989680
push esi
push 1
add eax, ecx
push 4
lea edx, [esp + 0x1c]
mov dword [esp + 0x1c], eax
push edx
jmp 0x436540
push esi
push 1
push 4
lea eax, [esp + 0x1c]
push eax
call fcn.0043aeee
add esp, 0x10
push esi
push 1
lea ecx, [esp + 0x23]
push 1
push ecx
mov byte [esp + 0x2b], 0x59
call fcn.0043aeee
push esi
call fcn.0043afe7
add esp, 0x14
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0043a7e2
add esp, 0x70
ret 4