Function at 0x41d320
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x324
mov eax, dword [0x57c870]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x5c4fb0], 0
je 0x41d605
call fcn.0041c8e0
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.00532580
add esp, 8
push 0
lea ecx, [ebp - 0x208]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0041c710
add esp, 0xc
push eax
push 0x5c
push 0x5c
push 0x5c
push 0x5c
lea eax, [ebp - 0x108]
push eax
push str._se_Lective_ccontent_cprofiles_cdefined_cdyned._010s
lea ecx, [ebp - 0x310]
push ecx
call fcn.00532706
add esp, 0x20
cmp dword [0x5f6630], 1
je 0x41d3a0
cmp dword [0x5f663c], 0
je 0x41d3f8
cmp dword [0x5c4fb4], 0
jle 0x41d3f8
push 0x5c
mov edx, dword [0x5c4fb4]
push edx
mov eax, dword [0x5c6c08]
push eax
push 0x5c
push 0x5c5ed8
push 0x55b5b0
lea ecx, [ebp - 0x108]
push ecx
call fcn.00532706
add esp, 0x1c
mov edx, dword [ebp + 8]
push edx
push 0x5c
push 0x5c
push 0x5c
lea eax, [ebp - 0x108]
push eax
push 0x55b5d4
lea ecx, [ebp - 0x310]
push ecx
call fcn.00532706
add esp, 0x1c
push 0x55b600
lea edx, [ebp - 0x310]
push edx
call fcn.0042eaa0
add esp, 8
mov dword [ebp - 0x20c], eax
cmp dword [ebp - 0x20c], 0
je 0x41d605
push 0xf
call fcn.00460c80
add esp, 4
mov dword [ebp - 0x31c], eax
mov dword [ebp - 0x314], 1
jmp 0x41d44a
mov eax, dword [ebp - 0x314]
add eax, 1
mov dword [ebp - 0x314], eax
mov ecx, dword [ebp - 0x31c]
mov edx, dword [ebp - 0x314]
cmp edx, dword [ecx*4 + 0xd86880]
jg 0x41d5b5
mov eax, dword [ebp - 0x31c]
imul eax, eax, 0x2580
mov ecx, dword [ebp - 0x314]
shl ecx, 4
mov edx, dword [eax + ecx + 0xd898a0]
mov dword [ebp - 0x320], edx
mov eax, dword [ebp - 0x31c]
imul eax, eax, 0x2580
mov ecx, dword [ebp - 0x314]
shl ecx, 4
mov edx, dword [eax + ecx + 0xd898a4]
mov dword [ebp - 0x318], edx
mov eax, dword [ebp - 0x31c]
imul eax, eax, 0x1564
mov ecx, dword [ebp - 0x320]
imul ecx, ecx, 0x94
lea edx, [eax + ecx + 0x667080]
mov eax, dword [ebp - 0x318]
cmp dword [edx + eax*4], 0
je 0x41d5b0
push 4
push 0x35
mov ecx, dword [ebp - 0x31c]
imul ecx, ecx, 0x1564
mov edx, dword [ebp - 0x320]
imul edx, edx, 0x94
lea eax, [ecx + edx + 0x667080]
mov ecx, dword [ebp - 0x318]
mov edx, dword [eax + ecx*4]
push edx
call fcn.00433b80
add esp, 0xc
mov dword [ebp - 0x324], eax
cmp dword [ebp - 0x324], 0
jne 0x41d51f
jmp 0x41d43b
mov eax, dword [ebp - 0x318]
push eax
mov ecx, dword [ebp - 0x320]
push ecx
push 0xf
mov edx, dword [ebp - 0x31c]
imul edx, edx, 0x308
mov eax, dword [ebp + 8]
lea ecx, [eax + edx + 0x228]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0041d620
add esp, 0x14
test eax, eax
jne 0x41d5b0
mov eax, dword [ebp - 0x20c]
push eax
push 1
mov ecx, dword [0x5c4fb0]
mov edx, dword [ecx + 0xc]
mov eax, dword [ebp - 0x324]
mov ecx, dword [edx + eax*4 - 4]
push ecx
call fcn.00532e80
add esp, 4
push eax
mov edx, dword [0x5c4fb0]
mov eax, dword [edx + 0xc]
mov ecx, dword [ebp - 0x324]
mov edx, dword [eax + ecx*4 - 4]
push edx
call fcn.005337fa
add esp, 0x10
mov eax, dword [ebp - 0x20c]
push eax
push 1
push 2
push 0x55b604
call fcn.005337fa
add esp, 0x10
jmp 0x41d43b
mov ecx, dword [ebp - 0x20c]
push ecx
call fcn.00431d50
add esp, 4
mov dword [ebp - 0x20c], 0
cmp dword [0x5f6630], 1
jne 0x41d605
cmp dword [0x5c4fb4], 0
jle 0x41d605
push 1
push 1
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [0x5c4c28]
imul eax, eax, 0x127c
movsx ecx, word [eax + 0x11a6fbc]
push ecx
call fcn.004681c0
add esp, 0x14
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00532783
mov esp, ebp
pop ebp
ret