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

Disassembly:
sub esp, 0x5c
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x74]
lea eax, [esp + 0x10]
push eax
push dword [edi + 0xc8]
call fcn.1002b990
mov eax, dword [edi + 0xc8]
xorps xmm0, xmm0
mov dword [esp + 0x5c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x48], eax
lea eax, [esp + 0x18]
push eax
push dword [edi + 0x84]
movdqu xmmword [esp + 0x54], xmm0
movdqu xmmword [esp + 0x68], xmm0
movdqu xmmword [esp + 0x2c], xmm0
movdqu xmmword [esp + 0x40], xmm0
call fcn.10050400
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x100420ee
mov ebx, dword [esp + 0x78]
lea eax, [esp + 0x1c]
push eax
push dword [edi + 0x84]
push ebx
push dword [edi + 0x88]
call fcn.100416e0
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x100420ee
lea eax, [esp + 0x44]
push eax
mov eax, dword [ebx + 4]
push dword [edi + 0x84]
add eax, eax
push eax
call fcn.10041da0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x100420ee
lea eax, [esp + 0x58]
push eax
push dword [edi + 0x84]
push 1
call fcn.10041da0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x100420ee
mov ebp, dword [esp + 0x20]
cmp ebp, 1
jle 0x100420dc
push dword [esp + 0x80]
call fcn.10051e40
mov esi, eax
add esp, 4
test esi, esi
jne 0x100420ee
mov ebx, dword [esp + 0x64]
lea eax, [ebx + 0xc]
push eax
push dword [esp + 0x74]
call fcn.1003d080
mov esi, eax
add esp, 8
test esi, esi
jne 0x100420ee
mov eax, dword [ebx]
add eax, 0x1f
sar eax, 5
shl eax, 2
push eax
push esi
push dword [ebx + 4]
call fcn.100506f0
lea eax, [esp + 0x50]
mov dword [esp + 0x68], 1
push eax
lea eax, [esp + 0x68]
push eax
call fcn.10041ac0
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x100420ee
mov ebx, 1
cmp dword [edi + 0x84], ebx
jle 0x10042055
lea ecx, [ecx]
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x48]
push eax
push edi
call fcn.10041c00
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x100420ee
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x38]
push eax
call fcn.10040fc0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x100420ee
push dword [esp + 0x80]
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x20]
push eax
push edi
call fcn.10041940
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x100420ee
inc ebx
cmp ebx, dword [edi + 0x84]
jl 0x10041fe0
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x4c]
push eax
push edi
call fcn.10041800
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x100420ee
mov eax, dword [esp + 0x34]
test eax, eax
je 0x100420cf
cmp ebp, eax
je 0x100420cf
add eax, eax
cmp eax, ebp
jle 0x100420b3
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x28]
push eax
push edi
call fcn.10041310
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x100420ee
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x48]
jmp 0x100420bc
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x34]
push eax
call fcn.10041ac0
mov esi, eax
add esp, 8
test esi, esi
jne 0x100420ee
mov ebp, dword [esp + 0x20]
cmp ebp, 1
jg 0x10041f60
test esi, esi
jne 0x100420ee
push dword [esp + 0x7c]
push dword [esp + 0x2c]
call fcn.1002be30
add esp, 8
mov esi, eax
lea eax, [esp + 0x10]
push eax
call fcn.1002ba00
mov ebx, dword [esp + 0x48]
add esp, 4
mov ebp, dword [esp + 0x50]
test ebx, ebx
jle 0x1004211f
mov edi, ebp
lea esp, [esp]
push edi
call fcn.1002ba00
add esp, 4
add edi, 0xc
dec ebx
jne 0x10042110
push ebp
push dword [esp + 0x58]
call fcn.10050630
mov ebx, dword [esp + 0x60]
add esp, 8
test ebx, ebx
jle 0x10042147
mov edi, dword [esp + 0x64]
push edi
call fcn.1002ba00
add esp, 4
add edi, 0xc
dec ebx
jne 0x10042138
push dword [esp + 0x64]
push dword [esp + 0x6c]
call fcn.10050630
mov ebx, dword [esp + 0x24]
add esp, 8
test ebx, ebx
jle 0x10042172
mov edi, dword [esp + 0x28]
push edi
call fcn.1002ba00
add esp, 4
add edi, 0xc
dec ebx
jne 0x10042163
push dword [esp + 0x28]
push dword [esp + 0x30]
call fcn.10050630
mov ebx, dword [esp + 0x38]
add esp, 8
mov ebp, dword [esp + 0x3c]
test ebx, ebx
jle 0x1004219f
mov edi, ebp
push edi
call fcn.1002ba00
add esp, 4
add edi, 0xc
dec ebx
jne 0x10042190
push ebp
push dword [esp + 0x44]
call fcn.10050630
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret