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

Disassembly:
mov eax, 0x2fdc
call fcn.00428ee0
mov eax, dword [0x43c034]
xor eax, esp
mov dword [esp + 0x2fd8], eax
mov eax, dword [esp + 0x2fec]
xorps xmm0, xmm0
mov ecx, dword [esp + 0x2fe8]
push esi
mov esi, dword [esp + 0x2fe4]
mov dword [esp + 0x48], eax
xor eax, eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], eax
movlpd qword [esp + 0x64], xmm0
movlpd qword [esp + 0x50], xmm0
mov dword [esp + 0x44], eax
test esi, esi
je 0x41b663
mov edx, dword [esi + 0x48]
test edx, edx
je 0x41b65c
test ecx, ecx
je 0x41b65c
cmp dword [esi + 0x38], eax
je 0x41b65c
mov ecx, dword [esp + 0x2fe8]
cmp ecx, dword [esi + 0x10]
jae 0x41afbd
mov eax, dword [edx + 0x10]
mov eax, dword [eax + ecx*4]
add eax, dword [edx]
jmp 0x41afbf
xor eax, eax
push 0
lea edx, [esp + 0x78]
push edx
push eax
push ecx
push esi
call fcn.0041a7a0
add esp, 0x14
test eax, eax
je 0x41b663
cmp dword [esp + 0xc0], 0
push ebx
push ebp
jne 0x41b63f
mov ebx, dword [esp + 0xa4]
mov eax, ebx
mov ebp, dword [esp + 0xa8]
or eax, ebp
mov dword [esp + 0x14], ebp
je 0x41b63f
test byte [esp + 0x90], 0x61
je 0x41b030
pop ebp
pop ebx
mov dword [esi + 0x1c], 5
xor eax, eax
pop esi
mov ecx, dword [esp + 0x2fd8]
xor ecx, esp
call fcn.00428a51
add esp, 0x2fdc
ret
and dword [esp + 0x2ffc], 0x400
mov ax, word [esp + 0x92]
jne 0x41b071
test ax, ax
je 0x41b071
cmp ax, 8
je 0x41b071
pop ebp
pop ebx
mov dword [esi + 0x1c], 4
xor eax, eax
pop esi
mov ecx, dword [esp + 0x2fd8]
xor ecx, esp
call fcn.00428a51
add esp, 0x2fdc
ret
mov eax, dword [esi + 0x38]
lea ecx, [esp + 0x2fc4]
push 0x1e
push ecx
push dword [esp + 0xc8]
push dword [esp + 0xc8]
push dword [esi + 0x44]
call eax
add esp, 0x14
cmp eax, 0x1e
je 0x41b0ba
pop ebp
pop ebx
mov dword [esi + 0x1c], 0x14
xor eax, eax
pop esi
mov ecx, dword [esp + 0x2fd8]
xor ecx, esp
call fcn.00428a51
add esp, 0x2fdc
ret
cmp dword [esp + 0x2fc4], 0x4034b50
push edi
jne 0x41b633
movzx eax, word [esp + 0x2fe2]
cdq
mov ecx, eax
mov edi, edx
movzx eax, word [esp + 0x2fe4]
cdq
add ecx, eax
adc edi, edx
add ecx, dword [esp + 0xc0]
adc edi, dword [esp + 0xc4]
add ecx, 0x1e
mov edx, ecx
mov dword [esp + 0x30], ecx
adc edi, 0
add edx, ebx
mov eax, edi
mov dword [esp + 0x34], edi
adc eax, ebp
cmp eax, dword [esi + 4]
ja 0x41b633
jb 0x41b11d
cmp edx, dword [esi]
ja 0x41b633
mov eax, dword [esi + 0x48]
mov eax, dword [eax + 0x48]
test eax, eax
je 0x41b170
mov edi, ebx
lea edx, [eax + ecx]
mov eax, ebp
mov dword [esp + 0x20], edx
xorps xmm0, xmm0
mov dword [esp + 0x2c], edi
movlpd qword [esp + 0x40], xmm0
mov ebp, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x6c], edi
mov dword [esp + 0x48], eax
jmp 0x41b208
test ebp, ebp
ja 0x41b18a
jb 0x41b17e
cmp ebx, 0x10000
jae 0x41b18a
mov ecx, ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x4c], ebp
jmp 0x41b19b
mov ecx, 0x10000
mov dword [esp + 0x4c], 0
mov dword [esp + 0x2c], ecx
mov eax, dword [esi + 0x28]
push ecx
push 1
push dword [esi + 0x34]
call eax
mov edx, eax
add esp, 0xc
mov dword [esp + 0x20], edx
test edx, edx
jne 0x41b1d5
mov dword [esi + 0x1c], 0x10
xor eax, eax
pop edi
pop ebp
pop ebx
pop esi
mov ecx, dword [esp + 0x2fd8]
xor ecx, esp
call fcn.00428a51
add esp, 0x2fdc
ret
mov ecx, ebx
mov dword [esp + 0x10], ebp
xorps xmm0, xmm0
mov dword [esp + 0x28], ecx
movlpd qword [esp + 0x78], xmm0
mov eax, dword [esp + 0x7c]
mov edi, dword [esp + 0x78]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], ebp
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x48], ebp
cmp dword [esp + 0x3000], 0
mov dword [esp + 0x14], eax
mov dword [esp + 0x40], ecx
jne 0x41b459
cmp word [esp + 0x96], 0
mov eax, dword [esp + 0x64]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x1c], eax
je 0x41b459
mov eax, dword [esi + 0x28]
push 0x8000
push 1
push dword [esi + 0x34]
mov dword [esp + 0x4e4], 0
call eax
add esp, 0xc
mov dword [esp + 0x50], eax
test eax, eax
jne 0x41b281
mov dword [esi + 0x1c], 0x10
or ebx, 0xffffffff
jmp 0x41b5fb
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
mov ebx, dword [esp + 0x5c]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x50]
mov ecx, ebx
and ecx, 0x7fff
add eax, ecx
mov dword [esp + 0x10], eax
mov eax, 0x8000
sub eax, ecx
mov dword [esp + 0x24], eax
mov eax, edi
or eax, edx
jne 0x41b358
mov eax, dword [esi + 0x48]
cmp dword [eax + 0x48], 0
jne 0x41b358
mov ecx, dword [esp + 0x4c]
cmp ecx, ebp
ja 0x41b2f3
mov eax, dword [esp + 0x2c]
jb 0x41b2eb
mov edi, dword [esp + 0x40]
cmp eax, edi
jae 0x41b2f7
mov edi, eax
mov dword [esp + 0x14], ecx
jmp 0x41b2fb
mov edi, dword [esp + 0x40]
mov dword [esp + 0x14], ebp
mov eax, dword [esi + 0x38]
push edi
push dword [esp + 0x24]
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push dword [esi + 0x44]
call eax
add esp, 0x14
xor ecx, ecx
cmp eax, edi
jne 0x41b43b
mov edx, dword [esp + 0x14]
cmp ecx, edx
jne 0x41b43b
add dword [esp + 0x30], edi
xorps xmm0, xmm0
mov eax, dword [esp + 0x40]
adc dword [esp + 0x34], edx
sub eax, edi
movlpd qword [esp + 0x70], xmm0
mov ecx, dword [esp + 0x74]
sbb ebp, edx
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x40], eax
mov dword [esp + 0x1c], ecx
jmp 0x41b360
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x40]
or eax, ebp
mov dword [esp + 0x48], edi
je 0x41b36f
mov eax, 2
jmp 0x41b371
xor eax, eax
push eax
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x18]
lea eax, [esp + 0x54]
push dword [esp + 0x5c]
push eax
mov eax, dword [esp + 0x34]
add eax, ecx
push eax
lea eax, [esp + 0x4f0]
push eax
call fcn.004228e0
mov ecx, dword [esp + 0x64]
add esp, 0x1c
mov edx, dword [esp + 0x14]
sub edi, ecx
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x24]
sbb edx, 0
add dword [esp + 0x1c], ecx
mov dword [esp + 0x14], edx
adc dword [esp + 0x28], 0
test eax, eax
je 0x41b423
push eax
push dword [esp + 0x14]
push dword [esp + 0x20]
push ebx
push dword [esp + 0x64]
call dword [esp + 0x6c]
mov ecx, dword [esp + 0x38]
add esp, 0x14
cmp eax, ecx
jne 0x41b44a
mov eax, dword [esp + 0x38]
push ecx
push dword [esp + 0x14]
push eax
call fcn.0041a540
add esp, 0xc
mov dword [esp + 0x38], eax
add ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
adc eax, 0
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0xb4]
ja 0x41b5df
jb 0x41b41f
cmp ebx, dword [esp + 0xb0]
ja 0x41b5df
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x3c]
cmp ecx, 1
je 0x41b2a1
cmp ecx, 2
je 0x41b2a1
jmp 0x41b4ac
mov dword [esi + 0x1c], 0x14
or ebx, 0xffffffff
jmp 0x41b5fb
mov dword [esi + 0x1c], 0x1f
or ebx, 0xffffffff
jmp 0x41b5fb
mov eax, dword [esi + 0x48]
cmp dword [eax + 0x48], 0
je 0x41b4d9
cmp dword [esp + 0x10], 0
ja 0x41b4cd
cmp dword [esp + 0x28], 0xffffffff
ja 0x41b4cd
push ebx
push edx
push 0
push 0
push dword [esp + 0x64]
call dword [esp + 0x6c]
add esp, 0x14
xor ecx, ecx
cmp eax, dword [esp + 0x24]
jne 0x41b4bd
cmp ecx, dword [esp + 0x1c]
jne 0x41b4bd
cmp dword [esp + 0x3000], ecx
jne 0x41b4aa
push ebx
push dword [esp + 0x24]
push ecx
call fcn.0041a540
add esp, 0xc
mov dword [esp + 0x38], eax
xor ecx, ecx
test ecx, ecx
jne 0x41b5f7
mov edx, dword [esp + 0x18]
jmp 0x41b5b6
or ecx, 0xffffffff
mov dword [esi + 0x1c], 0x1f
mov dword [esp + 0x3c], ecx
jmp 0x41b4ac
mov dword [esi + 0x1c], 0x1b
jmp 0x41b1ba
mov ebx, dword [esp + 0x5c]
mov eax, ecx
or eax, ebp
je 0x41b5b2
mov eax, dword [esp + 0x60]
mov dword [esp + 0x18], eax
nop
mov edx, dword [esp + 0x4c]
cmp edx, ebp
ja 0x41b50a
mov eax, dword [esp + 0x2c]
jb 0x41b502
cmp eax, ecx
jae 0x41b50a
mov edi, eax
mov dword [esp + 0x10], edx
jmp 0x41b510
mov edi, ecx
mov dword [esp + 0x10], ebp
mov eax, dword [esi + 0x38]
push edi
push dword [esp + 0x24]
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push dword [esi + 0x44]
call eax
add esp, 0x14
xor ecx, ecx
cmp eax, edi
jne 0x41b43b
cmp ecx, dword [esp + 0x10]
jne 0x41b43b
cmp dword [esp + 0x3000], ecx
jne 0x41b55b
mov eax, dword [esp + 0x38]
push edi
push dword [esp + 0x24]
push eax
call fcn.0041a540
add esp, 0xc
mov dword [esp + 0x38], eax
push edi
push dword [esp + 0x24]
push dword [esp + 0x20]
push ebx
push dword [esp + 0x64]
call dword [esp + 0x6c]
add esp, 0x14
xor ecx, ecx
cmp eax, edi
jne 0x41b44a
mov eax, dword [esp + 0x10]
cmp ecx, eax
jne 0x41b44a
add dword [esp + 0x30], edi
mov edx, dword [esp + 0x18]
adc dword [esp + 0x34], eax
add ebx, edi
mov ecx, dword [esp + 0x40]
adc edx, eax
sub ecx, edi
mov dword [esp + 0x18], edx
sbb ebp, eax
mov dword [esp + 0x40], ecx
mov eax, ecx
or eax, ebp
jne 0x41b4f0
jmp 0x41b5b6
mov edx, dword [esp + 0x60]
cmp dword [esp + 0x3000], 0
jne 0x41b5f7
cmp ebx, dword [esp + 0xb0]
jne 0x41b5eb
cmp edx, dword [esp + 0xb4]
jne 0x41b5eb
mov eax, dword [esp + 0x38]
cmp eax, dword [esp + 0xa0]
je 0x41b5f7
mov dword [esi + 0x1c], 0xb
or ebx, 0xffffffff
jmp 0x41b5fb
mov dword [esi + 0x1c], 0xd
or ebx, 0xffffffff
jmp 0x41b5fb
mov ebx, dword [esp + 0x3c]
mov eax, dword [esi + 0x48]
cmp dword [eax + 0x48], 0
jne 0x41b613
push dword [esp + 0x20]
mov eax, dword [esi + 0x2c]
push dword [esi + 0x34]
call eax
add esp, 8
mov eax, dword [esp + 0x50]
test eax, eax
je 0x41b627
push eax
push dword [esi + 0x34]
mov eax, dword [esi + 0x2c]
call eax
add esp, 8
xor eax, eax
test ebx, ebx
sete al
jmp 0x41b1bc
mov dword [esi + 0x1c], 9
jmp 0x41b1ba
pop ebp
pop ebx
mov eax, 1
pop esi
mov ecx, dword [esp + 0x2fd8]
xor ecx, esp
call fcn.00428a51
add esp, 0x2fdc
ret
mov dword [esi + 0x1c], 0x18
mov ecx, dword [esp + 0x2fdc]
xor eax, eax
pop esi
xor ecx, esp
call fcn.00428a51
add esp, 0x2fdc
ret