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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x138
mov dword [esp], ecx
mov ecx, 0x8000
mov ebp, edx
mov al, byte [0x44b9c8]
call fcn.00425980
test eax, eax
je 0x4201d9
mov dword [esp + 0x38], 0x8000
mov dword [esp + 0x3c], eax
xor eax, eax
lea edi, [esp + 0x54]
lea esi, [esp + 8]
mov edx, ebp
mov dword [esp + 0x40], eax
mov dword [edi + 4], eax
mov dword [edi], eax
mov ecx, esi
push 8
push edi
call fcn.004252a4
add esp, 8
cmp byte [esi], 4
je 0x41fbff
mov eax, dword [esp + 8]
cmp al, 4
jne 0x41ffd8
mov esi, dword [esp + 0x54]
mov edi, dword [esp + 0x58]
mov ecx, 0x200000
xor eax, eax
cmp ecx, esi
sbb eax, edi
jae 0x41fc1f
mov eax, dword [esp]
mov byte [eax], 8
jmp 0x41ffe6
lea ecx, [esp + 0x54]
mov edx, esi
call fcn.0042585d
mov al, byte [0x44b9c8]
mov ecx, 0x200
call fcn.00425980
test eax, eax
je 0x4201ec
mov dword [esp + 0x2c], 0x200
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], 0
mov ebx, eax
mov ecx, 0x1000
mov al, byte [0x44b9c8]
call fcn.00425980
test eax, eax
je 0x4201f5
mov ecx, esi
mov dword [esp + 0x48], 0x1000
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], 0
or ecx, edi
je 0x420015
mov dword [esp + 0x64], edi
mov ebx, 8
lea edi, [esp + 8]
xor ecx, ecx
xor edx, edx
mov dword [esp + 4], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x24], ebp
mov dword [esp + 0x68], esi
mov eax, 0
add edx, 1
adc ecx, eax
mov dword [esp + 0x80], edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
mov edx, ebp
mov dword [esp + 0x84], ecx
mov ecx, edi
push 8
lea eax, [esp + 0x1c]
push eax
call fcn.004252a4
add esp, 8
cmp byte [esp + 8], 4
jne 0x41fcf5
mov edx, dword [esp + 4]
jmp 0x41fd05
mov eax, dword [esp + 8]
mov edx, dword [esp + 4]
cmp al, 4
jne 0x420160
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
add ebx, ecx
mov dword [esp + 0x28], ecx
adc edx, eax
jb 0x42014e
mov ecx, 0x1ffffff
mov esi, 0
cmp ecx, ebx
sbb esi, edx
jb 0x42014e
mov ecx, 0xff
cmp ecx, dword [esp + 0x28]
mov ecx, 0
sbb ecx, eax
jb 0x420170
mov eax, dword [esp + 0x40]
cmp eax, 0xffffff
ja 0x420170
mov dword [esp + 4], edx
mov dword [esp + 0x7c], eax
mov ecx, edi
mov edx, ebp
push dword [esp + 0x28]
lea eax, [esp + 0x3c]
push eax
call fcn.004205da
add esp, 8
cmp dword [esp + 8], 0
mov edi, dword [esp + 0x10]
jne 0x420178
mov ecx, dword [esp + 0xc]
mov edx, edi
mov dword [esp + 0x20], ebx
and edx, 0xfffffff8
je 0x41fe03
mov esi, edx
mov ebx, ecx
neg esi
movzx ebp, byte [ebx]
mov al, byte [ebp + 0x4429bc]
mov byte [ebx], al
movzx eax, byte [ebx + 1]
mov al, byte [eax + 0x4429bc]
mov byte [ebx + 1], al
movzx eax, byte [ebx + 2]
mov al, byte [eax + 0x4429bc]
mov byte [ebx + 2], al
movzx eax, byte [ebx + 3]
mov al, byte [eax + 0x4429bc]
mov byte [ebx + 3], al
movzx eax, byte [ebx + 4]
mov al, byte [eax + 0x4429bc]
mov byte [ebx + 4], al
movzx eax, byte [ebx + 5]
mov al, byte [eax + 0x4429bc]
mov byte [ebx + 5], al
movzx eax, byte [ebx + 6]
mov al, byte [eax + 0x4429bc]
mov byte [ebx + 6], al
movzx eax, byte [ebx + 7]
mov al, byte [eax + 0x4429bc]
mov byte [ebx + 7], al
add ebx, 8
add esi, 8
jne 0x41fd95
mov esi, edi
and esi, 7
je 0x41fe1d
add edx, ecx
movzx eax, byte [edx]
dec esi
mov al, byte [eax + 0x4429bc]
mov byte [edx], al
lea edx, [edx + 1]
jne 0x41fe0c
mov edx, edi
call fcn.00428bd5
mov esi, dword [esp + 0x24]
mov ebp, eax
mov ebx, edx
xor eax, eax
lea ecx, [esp + 8]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
mov edx, esi
push 8
lea eax, [esp + 0x1c]
push eax
call fcn.004252a4
add esp, 8
cmp byte [esp + 8], 4
jne 0x41fe58
mov edi, dword [esp + 0x20]
jmp 0x41fe68
mov eax, dword [esp + 8]
mov edi, dword [esp + 0x20]
cmp al, 4
jne 0x420160
mov eax, dword [esp + 0x18]
lea ecx, [esp + 8]
mov edx, esi
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x74], eax
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
push 8
lea eax, [esp + 0x1c]
push eax
call fcn.004252a4
add esp, 8
cmp byte [esp + 8], 4
je 0x41feaa
mov eax, dword [esp + 8]
cmp al, 4
jne 0x420160
cmp dword [esp + 0x1c], 0
jne 0x42014e
mov dword [esp + 0x70], ebp
mov ebp, dword [esp + 0x18]
mov ecx, 0xa
mov eax, ebp
mul ecx
jo 0x42014e
mov ecx, dword [esp + 4]
add edi, eax
mov esi, eax
mov eax, 0x1ffffff
mov edx, 0
adc ecx, 0
cmp eax, edi
sbb edx, ecx
jb 0x42014e
mov eax, 0xcccccccd
mov dword [esp + 0x6c], ebx
mov dword [esp + 4], ecx
mov dword [esp + 0x20], edi
lea ecx, [esp + 8]
mul dword [esp + 0x34]
mov ebx, edx
mov edx, dword [esp + 0x24]
push esi
lea eax, [esp + 0x30]
push eax
call fcn.004205da
add esp, 8
cmp dword [esp + 8], 0
jne 0x420188
mov esi, dword [esp + 0x44]
cmp esi, 0xffffffff
je 0x4201e2
mov eax, dword [esp + 0x78]
lea edi, [esp + 8]
shr ebx, 3
lea ecx, [esp + 0x48]
mov edx, edi
mov dword [esp + 8], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x18]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebp
push eax
call fcn.0042ab83
add esp, 4
mov eax, dword [esp + 0x7c]
mov edx, dword [esp + 0x70]
xorps xmm0, xmm0
lea ecx, [esp + 0x54]
movups xmmword [esp + 0x88], xmm0
shl eax, 8
add eax, dword [esp + 0x28]
mov dword [esp + 0x98], eax
lea eax, [esp + 0x88]
mov dword [esp + 0x9c], esi
push eax
push dword [esp + 0x70]
call fcn.004206b4
add esp, 8
mov edx, dword [esp + 0x80]
mov esi, dword [esp + 0x68]
mov ecx, dword [esp + 0x84]
mov ebp, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
cmp edx, esi
mov eax, ecx
mov dword [esp + 0x44], edx
sbb eax, dword [esp + 0x64]
jb 0x41fcb5
mov ebx, dword [esp + 0x30]
mov edi, dword [esp + 0x34]
jmp 0x420017
mov edx, dword [esp]
mov ecx, dword [esp + 0xc]
mov dword [edx], eax
mov eax, edx
mov dword [edx + 4], ecx
mov dword [eax + 0x44], 0x80000000
mov ecx, dword [esp + 0x3c]
call fcn.00425a4f
mov eax, dword [esp + 0x14c]
cmp dword [eax], 0
je 0x42000a
mov ecx, dword [eax + 4]
call fcn.00425a4f
add esp, 0x138
pop esi
pop edi
pop ebx
pop ebp
ret
xor edi, edi
lea esi, [esp + 0xb0]
mov ecx, esi
call fcn.004286d8
mov eax, dword [esp + 0x14c]
mov ebp, dword [esp + 0x50]
add edi, ebx
mov edx, ebx
movsd xmm1, qword [eax + 8]
movsd xmm0, qword [eax]
movsd qword [esi - 8], xmm1
movsd xmm1, qword [esp + 0x48]
movsd qword [esi - 0x10], xmm0
lea esi, [esp + 8]
mov dword [esi + 8], ebp
mov ecx, esi
movsd qword [esi], xmm1
push edi
call fcn.0042ab83
add esp, 4
mov edi, dword [esp + 0x3c]
mov ebx, dword [esp + 0x40]
mov eax, dword [esi + 8]
mov ecx, esi
add ebx, edi
mov dword [esp + 4], eax
mov edx, edi
push ebx
call fcn.0042ab83
add esp, 4
mov al, byte [0x44b9c8]
mov ecx, 0xa0
call fcn.00425980
test eax, eax
je 0x420202
mov ebx, eax
xor eax, eax
mov esi, dword [esp + 0x150]
lea ecx, [esp + 0xa0]
inc eax
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov eax, ebx
add eax, 8
push 0x98
push ecx
push eax
call fcn.0042c2f0
add esp, 0xc
movsd xmm1, qword [esp + 0x5c]
mov ecx, dword [esp]
movsd xmm0, qword [esp + 0x54]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 4]
movsd qword [ecx + 0x28], xmm1
movsd xmm1, qword [esp + 8]
movsd qword [ecx + 0x20], xmm0
mov dword [ecx + 0x4c], eax
xor eax, eax
dec eax
cmp dword [esp + 0x2c], 0
movsd qword [ecx + 0x44], xmm1
mov dword [ecx + 0x1a], eax
mov dword [ecx + 0x16], eax
mov dword [ecx + 0x12], eax
mov dword [ecx + 0xe], eax
mov dword [ecx + 0xa], eax
mov dword [ecx + 6], eax
mov dword [ecx + 2], eax
mov word [ecx + 0x1e], 0xffff
mov word [ecx], 0
mov dword [ecx + 0x30], esi
mov esi, dword [esp + 0x154]
mov dword [ecx + 0x34], esi
mov dword [ecx + 0x38], edx
mov dword [ecx + 0x3c], ebp
mov dword [ecx + 0x40], ebx
je 0x42013c
mov ecx, dword [esp + 0x30]
call fcn.00425a4f
cmp dword [esp + 0x38], 0
je 0x42000a
mov ecx, edi
jmp 0x420005
mov eax, dword [esp]
mov dword [eax + 4], 0
mov dword [eax], 8
jmp 0x420195
mov edx, dword [esp]
mov ecx, dword [esp + 0xc]
mov dword [edx], eax
mov eax, edx
mov dword [edx + 4], ecx
jmp 0x420195
mov eax, dword [esp]
mov byte [eax], 8
jmp 0x420195
mov ecx, dword [esp]
mov eax, dword [esp + 0xc]
mov dword [ecx], eax
mov eax, ecx
mov dword [ecx + 4], edi
jmp 0x420195
movsd xmm0, qword [esp + 0xc]
mov eax, dword [esp]
movsd qword [eax], xmm0
cmp dword [esp + 0x48], 0
mov dword [eax + 0x44], 0x80000000
je 0x4201ac
mov ecx, dword [esp + 0x4c]
call fcn.00425a4f
cmp dword [esp + 0x2c], 0
je 0x4201bc
mov ecx, dword [esp + 0x30]
call fcn.00425a4f
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
call fcn.00425819
cmp dword [esp + 0x38], 0
jne 0x41ffed
jmp 0x41fff6
xor ecx, ecx
mov edx, 0x8000
jmp 0x4201fc
mov ecx, 0x441f90
call fcn.0043a210
xor ecx, ecx
mov edx, 0x200
jmp 0x4201fc
xor ecx, ecx
mov edx, 0x1000
inc ecx
call fcn.00439b70
mov ecx, 4
mov edx, 0xa0
call fcn.00439b90