Function at 0x411d40
Capabilities:
Terminate process

Disassembly:
sub esp, 0x714
push ebp
push edi
mov edi, dword [esp + 0x72c]
push 0x600
mov ebp, 0x20
mov dword [edi], 0
call fcn.0041ed68
add esp, 4
test eax, eax
mov dword [esp + 0x18], eax
jne 0x411d88
push str.mb_encode__:_Couldnt_allocate_qcoeff._n
push 0x454630
call fcn.0042035e
add esp, 8
push 0
call fcn.0042031e
push ebx
mov ebx, eax
mov eax, dword [esp + 0x724]
add eax, 8
push esi
lea esi, [esp + 0x124]
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], 2
lea esp, [esp]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], 2
mov ecx, dword [esp + 0x14]
xor eax, eax
mov edx, dword [ecx - 8]
mov dword [esp + eax*4 + 0x24], edx
mov edx, dword [ecx - 4]
mov dword [esp + eax*4 + 0x28], edx
mov edx, dword [ecx]
mov dword [esp + eax*4 + 0x2c], edx
mov edx, dword [ecx + 4]
mov dword [esp + eax*4 + 0x30], edx
mov edx, dword [ecx + 8]
mov dword [esp + eax*4 + 0x34], edx
mov edx, dword [ecx + 0xc]
mov dword [esp + eax*4 + 0x38], edx
mov edx, dword [ecx + 0x10]
mov dword [esp + eax*4 + 0x3c], edx
mov edx, dword [ecx + 0x14]
mov dword [esp + eax*4 + 0x40], edx
add eax, 8
add ecx, 0x40
cmp eax, 0x40
jl 0x411dc6
lea eax, [esp + 0x24]
push esi
push eax
call fcn.00413da0
mov ecx, dword [esp + 0x738]
mov edx, dword [esp + 0x734]
push ebp
push ecx
push edx
push ebx
push esi
call fcn.00416cb0
mov edx, dword [edi]
mov ecx, dword [esp + 0x30]
or edx, eax
mov eax, dword [esp + 0x38]
add ecx, 0x20
add esp, 0x1c
add esi, 0x100
add ebx, 0x100
sar ebp, 1
dec eax
mov dword [edi], edx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], eax
jne 0x411dc0
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
add ecx, 0x200
dec eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], eax
jne 0x411db0
mov eax, dword [esp + 0x728]
lea ecx, [esp + 0x28]
add eax, 0x504
mov dword [esp + 0x10], 8
mov edx, dword [eax - 4]
mov dword [ecx - 4], edx
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov edx, dword [eax + 0xc]
mov dword [ecx + 0xc], edx
mov edx, dword [eax + 0x10]
mov dword [ecx + 0x10], edx
mov edx, dword [eax + 0x14]
mov dword [ecx + 0x14], edx
mov edx, dword [eax + 0x18]
mov dword [ecx + 0x18], edx
mov edx, dword [esp + 0x10]
add eax, 0x20
add ecx, 0x20
dec edx
mov dword [esp + 0x10], edx
jne 0x411e91
lea eax, [esp + 0x24]
push esi
push eax
call fcn.00413da0
mov ecx, dword [esp + 0x738]
mov edx, dword [esp + 0x734]
push ebp
push ecx
push edx
push ebx
push esi
call fcn.00416cb0
mov ecx, dword [edi]
or ecx, eax
mov eax, dword [esp + 0x744]
add esp, 0x1c
mov dword [edi], ecx
add esi, 0x100
add ebx, 0x100
sar ebp, 1
lea ecx, [esp + 0x28]
add eax, 0x404
mov dword [esp + 0x10], 8
mov edx, dword [eax - 4]
mov dword [ecx - 4], edx
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov edx, dword [eax + 0xc]
mov dword [ecx + 0xc], edx
mov edx, dword [eax + 0x10]
mov dword [ecx + 0x10], edx
mov edx, dword [eax + 0x14]
mov dword [ecx + 0x14], edx
mov edx, dword [eax + 0x18]
mov dword [ecx + 0x18], edx
mov edx, dword [esp + 0x10]
add eax, 0x20
add ecx, 0x20
dec edx
mov dword [esp + 0x10], edx
jne 0x411f22
lea eax, [esp + 0x24]
push esi
push eax
call fcn.00413da0
mov ecx, dword [esp + 0x738]
mov edx, dword [esp + 0x734]
push ebp
push ecx
push edx
push ebx
push esi
call fcn.00416cb0
mov ecx, dword [edi]
add esp, 0x1c
pop esi
or ecx, eax
mov eax, dword [esp + 0x1c]
pop ebx
mov dword [edi], ecx
pop edi
pop ebp
add esp, 0x714
ret