Function at 0x41fd67
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
call fcn.0041fd77
mov ecx, esi
pop esi
jmp 0x41fdab
cmp dword [ecx + 0x144], 0
js 0x4202db
push ebp
push ebx
push edi
push esi
sub esp, 0x88
cmp dword [ecx + 0x148], 0
mov ebx, ecx
js 0x4202d1
xor ecx, ecx
inc ecx
call fcn.0041601f
mov byte [eax], 0x20
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], 1
mov dword [esp + 0x24], ebx
mov eax, dword [ebx + 0x144]
mov esi, dword [ebx + 0x148]
mov ecx, eax
mov edx, esi
or ecx, esi
bt ecx, 0xc
jb 0x41fea3
bt ecx, 0xd
jb 0x41fea3
mov ecx, ebx
call fcn.0041d90b
mov edx, esp
lea edi, [esp + 0x34]
mov dword [edx], ebx
mov dword [edx + 4], eax
and dword [edx + 8], 0
mov ecx, edi
push 0
push 0
push str.assertion_failed:_mid___self.len__chunk_size_must_be_non_zero
call fcn.004202dc
add esp, 0xc
mov eax, dword [edi]
imul esi, dword [edi + 8], 0xc
lea edi, [esp + 0x60]
test esi, esi
je 0x41fe8a
mov edx, dword [eax]
lea ebx, [eax + 0xc]
mov ecx, esp
push dword [eax + 8]
call fcn.0041877b
pop eax
mov ebp, dword [esp]
mov ecx, edi
mov edx, ebp
push dword [esp + 8]
call fcn.004fc225
pop eax
mov edx, dword [esp + 4]
mov ecx, ebp
call fcn.00448429
mov ecx, edi
push 0x20
pop edx
call fcn.0041897a
add esi, 0xfffffff4
mov eax, ebx
jmp 0x41fe49
lea ecx, [esp + 0x34]
call fcn.0041e198
mov ebx, dword [esp + 0x24]
mov eax, dword [ebx + 0x144]
mov edx, dword [ebx + 0x148]
or edx, eax
mov eax, dword [ebx + 0xa8]
shr edx, 0xb
and edx, 1
mov dword [esp + 0x6c], edx
jne 0x41febf
mov ebp, dword [ebx + 0x20]
mov esi, dword [ebx + 0x24]
jmp 0x41fec6
mov ebp, str.assertion_failed:_mid___self.len__chunk_size_must_be_non_zero
xor esi, esi
test eax, eax
je 0x41fed2
mov esi, dword [ebx + 0xb0]
mov ebp, eax
mov ecx, esi
call fcn.0041601f
mov edi, eax
mov dword [esp + 0x4c], edx
push esi
push ebp
push eax
call fcn.00570db0
add esp, 0xc
lea eax, [esp + 0x70]
mov ecx, dword [esp + 0x4c]
mov ebp, dword [ebx + 0x64]
mov dword [eax], edi
imul edi, dword [ebx + 0x6c], 0x16c
mov dword [eax + 4], ecx
mov dword [eax + 8], esi
lea esi, [esp + 0x50]
test edi, edi
je 0x4202ac
cmp dword [ebp + 0x120], 0
jne 0x4200ee
mov dword [esp + 0x18], 1
and dword [esp + 0x1c], 0
and dword [esp + 0x20], 0
lea ebx, [esp + 0x18]
mov dword [esp + 0x4c], edi
mov edx, dword [ebp + 0x20]
mov ecx, ebx
push dword [ebp + 0x24]
call fcn.004fc225
pop eax
mov eax, dword [ebp + 0x94]
test eax, eax
je 0x41ffb0
mov ecx, dword [ebp + 0x98]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x28]
mov dword [esp], 0x58d3d4
lea esi, [esp + 0x34]
mov edi, esp
mov dword [esp + 0x34], eax
xor eax, eax
mov dword [esp + 0x38], fcn.00417b33
inc eax
mov dword [esp + 4], eax
and dword [esp + 0x10], 0
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x2c], ecx
push edi
push ebx
call fcn.00418966
pop ecx
pop edx
movzx ecx, al
mov edx, 0x58d408
call fcn.00420818
mov eax, dword [ebp + 0x1c]
cmp eax, 0x110000
jne 0x41ffc4
jmp 0x420009
mov eax, dword [ebp + 0x1c]
mov edi, esp
lea esi, [esp + 0x34]
cmp eax, 0x110000
je 0x420064
mov dword [esp + 0x28], eax
lea eax, [esp + 0x28]
mov dword [esp], 0x58d3f0
mov dword [esp + 0x34], eax
xor eax, eax
mov dword [esp + 0x38], fcn.00440560
inc eax
mov dword [esp + 4], eax
and dword [esp + 0x10], 0
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
push edi
push ebx
call fcn.00418966
pop ecx
pop edx
movzx ecx, al
mov edx, 0x58d418
call fcn.00420818
mov dword [esp], 0x63ba2c
mov dword [esp + 4], 2
and dword [esp + 0x10], 0
lea ecx, [esp + 0x7c]
mov edx, edi
mov dword [esp + 0x34], ebx
mov dword [esp + 8], esi
mov dword [esp + 0x38], fcn.00417a93
mov dword [esp + 0xc], 1
call fcn.00418a4d
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
call fcn.00448429
mov eax, dword [esp + 0x84]
movsd xmm0, qword [esp + 0x7c]
mov dword [esp + 0x20], eax
movsd qword [esp + 0x18], xmm0
lea eax, [esp + 0x70]
mov ecx, ebx
lea edx, [esp + 0x60]
lea ebx, [ebp + 0x120]
mov dword [esp + 0x34], 0x637518
mov dword [esp], eax
mov eax, fcn.00417a93
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
push 3
pop eax
mov dword [esp + 0x38], eax
and dword [esp + 0x44], 0
lea ecx, [esp + 0x28]
mov edx, esi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], eax
call fcn.00418a4d
mov ecx, dword [ebp + 0x120]
mov edx, dword [ebp + 0x124]
call fcn.0041c24b
mov eax, dword [esp + 0x30]
mov dword [ebx + 8], eax
movsd xmm0, qword [esp + 0x28]
movsd qword [ebx], xmm0
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
call fcn.00448429
mov edi, dword [esp + 0x4c]
lea esi, [esp + 0x50]
cmp dword [ebp + 0xa8], 0
jne 0x4201a3
xor eax, eax
cmp dword [esp + 0x78], 0
mov ecx, str.assertion_failed:_mid___self.len__chunk_size_must_be_non_zero
mov edx, 0x63c0ef
lea ebx, [ebp + 0xa8]
cmovne ecx, edx
setne al
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], eax
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x24]
mov dword [esp + 0x34], 0x637518
mov dword [esp + 0x18], eax
lea eax, [esp + 0x70]
mov dword [esp + 0x1c], ecx
mov ecx, fcn.00417b33
mov dword [esp], eax
lea eax, [esp + 0x18]
mov dword [esp + 4], fcn.00417a93
mov dword [esp + 8], esi
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
push 3
pop eax
mov dword [esp + 0x38], eax
and dword [esp + 0x44], 0
mov ecx, esp
lea edx, [esp + 0x34]
mov dword [esp + 0x3c], ecx
lea ecx, [esp + 0x28]
mov dword [esp + 0x40], eax
call fcn.00418a4d
mov ecx, dword [ebp + 0xa8]
mov edx, dword [ebp + 0xac]
call fcn.0041c24b
mov eax, dword [esp + 0x30]
mov dword [ebx + 8], eax
movsd xmm0, qword [esp + 0x28]
movsd qword [ebx], xmm0
cmp dword [ebp + 0x9c], 0
jne 0x420292
mov eax, dword [esp + 0x24]
cmp byte [esp + 0x6c], 0
mov ecx, dword [eax + 0x9c]
mov eax, dword [eax + 0xa4]
je 0x4201da
test ecx, ecx
jne 0x4201e8
mov dword [esp + 0x58], str.assertion_failed:_mid___self.len__chunk_size_must_be_non_zero
and dword [esp + 0x5c], 0
jmp 0x4201fe
test ecx, ecx
jne 0x4201e8
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x20]
mov eax, dword [eax + 0x24]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], eax
test eax, eax
mov ecx, 0x633fad
mov eax, 1
jne 0x420205
xor eax, eax
mov ecx, str.assertion_failed:_mid___self.len__chunk_size_must_be_non_zero
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], eax
lea ebx, [ebp + 0x9c]
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x24]
mov dword [esp + 0x34], 0x637518
mov dword [esp + 0x18], eax
lea eax, [esp + 0x58]
mov dword [esp + 0x1c], ecx
mov ecx, fcn.00417b33
mov dword [esp], eax
lea eax, [esp + 0x18]
mov dword [esp + 4], ecx
mov dword [esp + 8], esi
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
push 3
pop eax
mov dword [esp + 0x38], eax
and dword [esp + 0x44], 0
mov ecx, esp
lea edx, [esp + 0x34]
mov dword [esp + 0x3c], ecx
lea ecx, [esp + 0x28]
mov dword [esp + 0x40], eax
call fcn.00418a4d
mov ecx, dword [ebp + 0x9c]
mov edx, dword [ebp + 0xa0]
call fcn.0041c24b
mov eax, dword [esp + 0x30]
mov dword [ebx + 8], eax
movsd xmm0, qword [esp + 0x28]
movsd qword [ebx], xmm0
mov ecx, ebp
lea ebx, [ebp + 0x16c]
call 0x41fdab
add edi, 0xfffffe94
mov ebp, ebx
jmp 0x41ff08
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
or byte [eax + 0x147], 0x80
call fcn.00448429
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x64]
call fcn.00448429
add esp, 0x88
pop esi
pop edi
pop ebx
pop ebp
ret