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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, edx
mov dword [ebp - 8], ecx
push edi
mov dword [ebp - 4], esi
cmp dword [esi + 0x3c], 2
je 0x41a03c
cmp dword [ebp + 0xc], 0
jne 0x41a03c
mov ecx, 0xc000000d
jmp 0x41a1d8
cmp dword [esi + 0x3c], 4
jne 0x41a048
cmp dword [ebp + 0x10], 0
je 0x41a032
mov ebx, dword [ebp + 0x18]
push 0x80
push 0
push ebx
call fcn.004a73b0
or dword [ebx + 0x4c], 0xffffffff
lea edi, [ebx + 4]
mov eax, dword [esi + 0x3c]
add esp, 0xc
mov dword [ebx + 0x60], eax
mov eax, dword [esi + 0x30]
mov dword [ebx + 0x20], eax
mov eax, dword [esi + 0x34]
mov ecx, dword [ebp - 8]
mov dword [ebx + 0x24], eax
mov eax, dword [esi + 0x28]
mov dword [ebx + 0x18], eax
mov eax, dword [esi + 0x2c]
add esi, 0x44
mov dword [ebx + 0x1c], eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ecx + 8]
mov esi, dword [ebp - 4]
mov dword [ebx + 0x4c], eax
mov al, byte [ebp + 0x14]
mov byte [ebx + 0x7c], al
mov eax, dword [esi + 0x3c]
cmp eax, 2
je 0x41a195
add eax, 0xfffffffd
cmp eax, 1
ja 0x41a18e
mov edi, dword [ebp + 8]
mov ecx, dword [edi + 0x20]
mov eax, ecx
mul dword [edi + 0x1c]
mov dword [ebx + 0x50], ecx
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x2c], edx
mov edx, 0x200
mov eax, dword [edi + 0x1c]
mov dword [ebx + 0x54], eax
mov eax, ecx
shr eax, 9
mov dword [ebp - 0xc], ecx
mov dword [ebx + 0x58], eax
mov dword [ebx + 0x78], edx
lea ecx, [eax + 7]
and ecx, 0xfffffff8
cmp ecx, eax
jae 0x41a0f2
mov ecx, 0xc0000095
jmp 0x41a1d8
shr ecx, 3
lea eax, [ecx + 0x1ff]
and eax, 0xfffffe00
mov dword [ebp - 8], eax
mov dword [ebx + 0x5c], eax
cmp eax, ecx
jb 0x41a0e8
mov eax, dword [edi + 0x10]
xor ecx, ecx
mov dword [ebx + 0x38], eax
mov eax, dword [edi + 0x14]
mov dword [ebx + 0x3c], eax
mov eax, dword [esi + 0x10]
mov dword [ebx + 0x30], eax
mov eax, dword [esi + 0x14]
mov dword [ebx + 0x34], eax
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0x48], eax
mov eax, dword [edi + 0x1c]
mov dword [ebp + 0x18], eax
mov eax, ecx
mov dword [ebp + 0x14], ecx
cmp dword [edi + 0x1c], eax
jbe 0x41a15c
mov esi, dword [ebp + 0xc]
mov edi, eax
cmp dword [esi + eax*4], 0xffffffff
je 0x41a14d
cmp dword [esi + eax*4], edi
jbe 0x41a14d
mov edi, dword [esi + eax*4]
inc eax
cmp eax, dword [ebp + 0x18]
jb 0x41a13f
mov esi, dword [ebp - 4]
mov dword [ebp + 0x14], edi
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0x14]
mul edx
add eax, dword [ebp - 8]
adc edx, ecx
add eax, dword [ebp - 0xc]
adc edx, ecx
add eax, 0xffffffff
mov dword [ebx + 0x40], eax
adc edx, 0xffffffff
mov dword [ebx + 0x44], edx
cmp dword [esi + 0x3c], 4
jne 0x41a1d8
mov eax, dword [ebp + 0x10]
lea esi, [edi + 0x28]
mov dword [ebx], eax
lea edi, [ebx + 0x64]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jmp 0x41a1d8
mov ecx, 0xc00000bb
jmp 0x41a1d8
mov esi, dword [ecx + 0x10]
mov edx, dword [ecx + 0x14]
add esi, 0xfffffe00
mov ecx, esi
mov dword [ebx + 0x28], esi
adc edx, 0xffffffff
mov dword [ebx + 0x50], 0x200000
add ecx, 0xffffffff
mov dword [ebx + 0x2c], edx
mov eax, edx
mov dword [ebx + 0x40], ecx
adc eax, 0xffffffff
shrd esi, edx, 0x15
mov dword [ebx + 0x44], eax
mov eax, 0x200
shr edx, 0x15
xor ecx, ecx
mov dword [ebx + 0x5c], eax
mov dword [ebx + 0x54], esi
mov dword [ebx + 0x78], eax
pop edi
pop esi
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x14