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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x7c
mov ebx, dword [esp + 0x90]
mov dword [esp + 0x68], ecx
mov ecx, edx
mov esi, edx
call fcn.0040a6f9
test al, al
jne 0x41e249
mov ecx, esi
mov edx, ebx
call fcn.00409fd2
mov ebp, eax
mov eax, dword [esi + 0x28]
movzx ecx, word [esi + 0x38]
mov edx, dword [ebx + 8]
mov edi, dword [esi + 0x1c]
mov dword [esp + 0x10], esi
mov dword [esp + 0x1c], ebp
mov dword [esp], eax
mov eax, dword [esi + 0x24]
mov dword [esp + 0x14], ecx
and ebp, ecx
mov ecx, dword [esi + 0x18]
xor esi, esi
mov dword [esp + 0x18], edx
mov dword [esp + 8], eax
mov al, byte [ebx + 4]
mov dword [esp + 0x20], ecx
mov byte [esp + 7], al
mov eax, dword [ebx]
mov dword [esp + 0x3c], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x38], eax
mov eax, ebp
mov ebp, eax
xor eax, eax
cmp ebp, edi
jae 0x41ddba
movzx ebx, word [ecx + ebp*4]
cmp ebx, 0xffff
je 0x41de72
mov dword [esp + 0xc], esi
mov esi, dword [esp + 0x14]
movzx eax, word [ecx + ebp*4 + 2]
mov edx, ebp
mov ecx, esi
and ecx, eax
sub edx, ecx
and edx, esi
mov esi, dword [esp + 0xc]
cmp edx, esi
jb 0x41df83
cmp ax, word [esp + 0x1c]
jne 0x41de67
cmp dword [esp], ebx
jbe 0x41e220
cmp dword [esp + 0x3c], 0
mov ecx, dword [esp + 8]
sete al
imul edx, ebx, 0x34
mov ecx, dword [ecx + edx + 0x20]
mov dword [esp + 0x40], edx
test ecx, ecx
setne dl
cmp dl, al
je 0x41de67
mov eax, dword [esp + 8]
mov edx, dword [esp + 0x40]
test ecx, ecx
lea eax, [eax + edx + 0x20]
je 0x41de5a
mov ecx, dword [esp + 0x18]
cmp dword [eax + 8], ecx
jne 0x41de67
push dword [esp + 0x18]
push dword [esp + 0x3c]
push dword [eax + 4]
call fcn.004e57f4
add esp, 0xc
test eax, eax
jne 0x41de67
jmp 0x41e14a
mov cl, byte [esp + 7]
cmp byte [eax + 4], cl
je 0x41e14a
mov ecx, dword [esp + 0x20]
inc esi
inc ebp
jmp 0x41ddb8
mov ecx, dword [esp + 0x90]
mov ebx, dword [esp + 0x94]
mov edx, dword [esp]
movsd xmm0, qword [ecx]
movsd xmm1, qword [ecx + 8]
mov eax, dword [ebx + 0x10]
movsd xmm2, qword [ebx + 8]
cmp edx, 0x7fff
movsd qword [esp + 0x6c], xmm0
movsd xmm0, qword [ebx]
movsd qword [esp + 0x74], xmm1
mov dword [esp + 0x64], eax
movsd qword [esp + 0x5c], xmm2
movsd qword [esp + 0x54], xmm0
ja 0x41e277
mov esi, dword [esp + 0x10]
movsd xmm0, qword [ecx]
movsd xmm1, qword [ecx + 8]
lea eax, [esi + 0x20]
movsd qword [esp + 0x4c], xmm1
movsd qword [esp + 0x44], xmm0
movsd xmm0, qword [ebx]
movsd xmm1, qword [ebx + 8]
mov ecx, eax
mov eax, dword [ebx + 0x10]
cmp edx, dword [ecx]
movsd qword [esp + 0x2c], xmm1
movsd qword [esp + 0x24], xmm0
mov dword [esp + 0x34], eax
mov eax, edx
jne 0x41df14
mov ebx, edx
call fcn.0041025d
mov ecx, dword [esi + 0x24]
mov eax, dword [esi + 0x28]
mov edi, dword [esi + 0x1c]
mov dword [esp + 8], ecx
mov ebx, dword [esp + 8]
imul ecx, eax, 0x34
inc eax
cmp ebp, edi
mov dword [ebx + ecx], 0
movsd xmm0, qword [esp + 0x24]
movsd xmm1, qword [esp + 0x2c]
movsd qword [ebx + ecx + 0xc], xmm0
movsd qword [ebx + ecx + 0x14], xmm1
mov edx, dword [esp + 0x34]
mov dword [ebx + ecx + 0x1c], edx
mov edx, dword [esp + 0x1c]
movsd xmm0, qword [esp + 0x44]
movsd xmm1, qword [esp + 0x4c]
movsd qword [ebx + ecx + 0x20], xmm0
movsd qword [ebx + ecx + 0x28], xmm1
mov word [ebx + ecx + 0x30], dx
mov dword [esi + 0x28], eax
jae 0x41e22f
mov eax, dword [esi + 0x18]
mov ecx, dword [esp]
mov word [eax + ebp*4], cx
mov word [eax + ebp*4 + 2], dx
jmp 0x41e114
cmp esi, 0x200
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x90]
mov ebx, dword [esp + 0x94]
mov edx, dword [esp]
setae byte [esp + 0x14]
mov eax, dword [esi]
movsd xmm0, qword [ecx]
movsd xmm1, qword [ecx + 8]
xor eax, 2
movsd qword [esp + 0x74], xmm1
movsd qword [esp + 0x6c], xmm0
movsd xmm0, qword [ebx]
movsd xmm1, qword [ebx + 8]
or eax, dword [esi + 4]
mov eax, dword [ebx + 0x10]
movsd qword [esp + 0x5c], xmm1
movsd qword [esp + 0x54], xmm0
setne byte [esp + 0xc]
cmp edx, 0x7fff
mov dword [esp + 0x64], eax
ja 0x41e277
movsd xmm0, qword [ecx]
lea eax, [esi + 0x20]
movsd xmm1, qword [ecx + 8]
movsd xmm2, qword [ebx + 8]
mov ecx, eax
mov eax, dword [ebx + 0x10]
cmp edx, dword [ecx]
movsd qword [esp + 0x44], xmm0
movsd xmm0, qword [ebx]
mov ebx, dword [esp + 8]
movsd qword [esp + 0x4c], xmm1
movsd qword [esp + 0x2c], xmm2
mov dword [esp + 0x34], eax
mov eax, edx
movsd qword [esp + 0x24], xmm0
jne 0x41e045
mov edx, dword [esp]
call fcn.0041025d
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x28]
mov ebx, dword [esi + 0x24]
mov edi, dword [esi + 0x1c]
mov dword [esp + 0x20], ecx
mov cl, byte [esp + 0xc]
mov dword [esp + 0xc], 0
and byte [esp + 0x14], cl
imul ecx, eax, 0x34
inc eax
mov dword [ebx + ecx], 0
movsd xmm0, qword [esp + 0x24]
movsd xmm1, qword [esp + 0x2c]
movsd qword [ebx + ecx + 0xc], xmm0
movsd qword [ebx + ecx + 0x14], xmm1
mov edx, dword [esp + 0x34]
mov dword [ebx + ecx + 0x1c], edx
mov edx, dword [esp + 0x1c]
movsd xmm0, qword [esp + 0x44]
movsd xmm1, qword [esp + 0x4c]
movsd qword [ebx + ecx + 0x20], xmm0
movsd qword [ebx + ecx + 0x28], xmm1
mov word [ebx + ecx + 0x30], dx
mov dword [esi + 0x28], eax
mov eax, dword [esp + 0x20]
mov esi, edx
mov ecx, ebp
xor ebp, ebp
cmp ecx, edi
jae 0x41e0aa
movzx edx, word [eax + ecx*4]
cmp dx, 0xffff
je 0x41e0db
mov ebp, dword [esp]
movzx ebx, word [eax + ecx*4 + 2]
inc dword [esp + 0xc]
mov dword [esp], edx
mov word [eax + ecx*4], bp
mov word [eax + ecx*4 + 2], si
inc ecx
mov esi, ebx
mov ebp, ecx
jmp 0x41e0aa
mov edx, dword [esp]
cmp dword [esp + 0xc], 0x80
mov word [eax + ecx*4], dx
mov word [eax + ecx*4 + 2], si
mov cl, byte [esp + 0x14]
setb al
not cl
test cl, al
mov ecx, dword [esp + 0x10]
jne 0x41e114
mov eax, dword [ecx + 4]
or eax, dword [ecx]
jne 0x41e114
mov dword [ecx + 4], 0
mov dword [ecx], 1
mov bl, 2
movsd xmm0, qword [esp + 0x54]
mov ecx, dword [esp + 0x68]
movsd xmm1, qword [esp + 0x5c]
movzx eax, word [esp + 0x44]
mov dl, byte [esp + 0x46]
movsd qword [ecx + 8], xmm1
movsd qword [ecx], xmm0
mov byte [ecx + 0x10], bl
mov word [ecx + 0x11], ax
mov byte [ecx + 0x13], dl
add esp, 0x7c
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, dword [esp + 0x94]
mov edi, dword [esp + 0x40]
mov eax, dword [ecx + 0x10]
movsd xmm0, qword [ecx]
movsd xmm1, qword [ecx + 8]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 8]
movsd qword [esp + 0x2c], xmm1
movsd qword [esp + 0x24], xmm0
cmp dword [eax + edi], 0
je 0x41e191
add eax, edi
mov esi, dword [esp + 0x10]
mov edx, dword [eax + 4]
mov ecx, esi
call fcn.0041d72d
mov eax, dword [esi + 0x28]
mov dword [esp], eax
mov edx, dword [esp]
cmp edx, ebx
jbe 0x41e23d
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x34]
mov edx, dword [esp + 0x3c]
mov eax, dword [eax + 0x24]
test edx, edx
movsd xmm0, qword [eax + edi + 0xc]
movsd xmm1, qword [eax + edi + 0x14]
movsd qword [esp + 0x5c], xmm1
movsd qword [esp + 0x54], xmm0
mov cl, byte [eax + edi + 0x1f]
mov bl, byte [eax + edi + 0x1c]
mov byte [esp + 0x46], cl
movzx ecx, word [eax + edi + 0x1d]
mov word [esp + 0x44], cx
mov dword [eax + edi + 0x1c], esi
movsd xmm0, qword [esp + 0x24]
movsd xmm1, qword [esp + 0x2c]
movsd qword [eax + edi + 0xc], xmm0
movsd qword [eax + edi + 0x14], xmm1
je 0x41e212
mov eax, dword [esp + 0x90]
add eax, 0xc
push dword [esp + 0x18]
push dword [esp + 0x3c]
push eax
call dword [edx + 0xc]
add esp, 0xc
cmp bl, 3
jne 0x41e116
jmp 0x41e2a4
mov edx, dword [esp]
mov ecx, ebx
push 0x501154
call fcn.004e8be0
mov ecx, ebp
mov edx, edi
push 0x501164
call fcn.004e8be0
mov ecx, ebx
push 0x5011c4
call fcn.004e8be0
mov edx, dword [esp + 0x94]
mov ecx, dword [edx]
lea eax, [edx + 0xc]
push dword [edx + 8]
push dword [edx + 4]
push eax
call dword [ecx + 0xc]
add esp, 0xc
mov eax, dword [ebx]
test eax, eax
je 0x41e2a4
mov ecx, ebx
mov edx, ebx
add ecx, 0xc
push dword [ebx + 8]
push dword [ebx + 4]
jmp 0x41e29d
lea eax, [esp + 0x60]
mov ecx, dword [eax - 0xc]
push dword [eax - 4]
push dword [eax - 8]
push eax
call dword [ecx + 0xc]
add esp, 0xc
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x41e2a4
lea ecx, [esp + 0x78]
push dword [ecx - 4]
push dword [ecx - 8]
push ecx
call dword [eax + 0xc]
add esp, 0xc
lea eax, [esp + 0x24]
mov ecx, 0x525bcd
mov edx, 0x17
push 0x5011f4
push 0x5010f4
push eax
call fcn.004e8f30